Read the statement by Michael Teeuw here.
Display different Roomtemperature on MagicMirror
-
@Xilef https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing
that’s for programming the ESP8266
-
@sdetweil thx
-
@Xilef
ESP8266 is a good choice. I prefer ESP32 cause it has more power but does not need that much more energy. You have a lot more GPIOs with a ESP32 than a with the ESP8266.I can provide you a ESP32 sketch which is ready to flash and only needs the Wifi-SSID, Wifi-Password and the MQTT parameters configured.
I use the Arduino IDE to flash the boards. -
@wishmaster270 thanks
As I understand it, something like this is my target:
And i would need:
- ESP32
- DHT11-Sensor Problem with this Sensor is the accuracy i think, but if it works I can swap them out I guess
- BreadBoard
And as Powersupply something with 5V and 1-1,5A right?
I would probably do it like this guy on youtube https://www.youtube.com/watch?v=ebJpXs2-WgM&list=PLUwa0e4GQGhS6KCSbLAQGog4_Z7eIWOm3&index=3
And from the ESP32-Website the MagicMirror should be able to read the data and display it
-
@Xilef
You need a ESP32 ( I use a D1 Mini but nearly everyone should be fine)
You need a Temperature and Humidity Sensor (BME280 and HTU21 are a lot more accurate and use I2c to communicate with the controller.
A Power supply with 5V 1A should be more than enough.That’s how I display my values…
The first three are ESP32 the others my thermostats.
-
nice…
-
@wishmaster270 Thats exactly what i had in mind
The BME280 sensors on amazon are a litte expensive so Im think Im order 3 form this shop They have 5 Pins but I think this will work to, on Aliexpress its even cheaper but i have no experience with the shop, and 1-3€ difference is ok i guess
And I wanted to ask what power supply you use e.g. just a cell phone charger?
I think im gona go with this one and hope that it doesnt explodeSo if I have everything right this is my shopping list:
ESP32
BME280
Power Supply
BreadBoardAnd then I just have to figure out the programming
-
Edit: With Power Supply i mean this one: https://www.amazon.de/gp/product/B08LMFBV55/ref=ox_sc_act_title_2?smid=A1XVC08L2WVJCV&psc=1
-
@Xilef Hi, the list sounds good. I use old mobile chargers to power the boards. I have heard that some had problems with mobile chargers but I had no problems for years now.
-
Hey im back @wishmaster270
my parts arrived, and after 5 hours of Troubleshooting i was able to achieve this: (with the help of this tutorial)
Now i need just a little bit help to display the Temperature and Humidity on my mirror