Always watch your whole video! And often am rewatching. The most beneficial are the ones where you go through the whole set up as many of these projects are sensitive to the steps in the setup. Especially the ttgo t-display s3 I have found. If you dont do the right steps with the right libraries and versions there are major issues. Fighting some right now with the display not showing or not able to connect via usb. Bought you coffee and will buy you some more. Appreciate all the help and example. Playing with the t-display long right now and definitely having challenges.
I found bluetooth to be a lot of effort with little reward using it on an arduino and never really attempted it with the ESP. The ESP NOW does look promising though . Thanks for showing what is possible though, best to family.
I always watch your entire video. Otherwise I don’t know how you plan to get rich this week. 🤣 I really like that you’re putting yourself on camera. I really enjoy seeing the face behind the channel.
Thanks, I did watch it right through, there seems to be a bewildering number of ESP32s. I want to explore Bluetooth but it does seem to be a bit challenging, so thank you for this video tutorial it gives me an idea where to start with something that works.
A handy tip for telling multiple BLE devices apart is to look at the RSSI value (when dis. It will vary with the square of distance, so has larger change in value when near, and less resolution further away. Using RSSI value could be used to display the closest device(s) and not display data from further away devices, or indicate location such as which device/room is nearest.
Woow.. I started to follow you with the TTGO Board when we made a system to monitor and record the temperature of vaccines. And this video as the others is amazing. I would like to have one of this BLE Xiaomi thermometers, but I think we could use the monitor we did 3 years ago. Something that I miss from the TTGO in the ESP32-S3 is the DAC pin. By the way I watched you wholes videos and I love them.
All 11:38 were quite good. Great topic, fantastic video. I’ve been wanting to build a couple good esp based wireless outdoor temperature sensors to put about 30m from house in shady locations. Power and range are both challenging. Perhaps I should look into esp-now.
Thank you, i found service in some existing code, you can use phone app to check services of specific device, than you can read raw data and try to get something useful from it.
Hi again. I have your code working on a T-Display S3. I only have one Xiaomi Sensor, but I’m getting readings on the display. I’m assuming you’re not getting any serial output with the S3. This maybe because of the ide settings in tools. It needs to be in CDC mode for the C3 and S3 boards. Set USB CDC On Boot “Enabled”, USB Mode: “Hardware CDC and JTAG”, Upload Mode: “UART0 / Hardware CDC”. That should do it. Let me know if it works for you. Take it easy 👍🏾🤓
Hello Pete, thank yoi, yes it seem my cide work when there is only one sensor, more people reported me that also. So probably fix is in few lines of code. Thank you for your support an coffee.
Code seems to work OK on ESP32-S3 with up to 3 x thermometers. for me - the 4th one is ignored - even though it shows up on nRF Connect OK. but not seen in BLESerial or BLEttgo, can only see a max of 3 units
I’ve got four thermometers working with the T-Display S3, even with them in different rooms. The connections are unstable though, so sometimes two or three will connect, but sometimes four. It’s the same with the thermometers next to the display. It’s great when it’s working properly. More investigation needed 👍🏾🤓
Great video. I'm really happy to find your channel and I'm getting a lot of UI inspiration from your videos. (I watched the whole video...twice). But there is one thing I'm not really sure why you're not using in your projects which is the flash in the ESP32. I mean you could easily save these settings (e.g. the BLE ID - device name pairs in your current example) to files on esp device instead of hardcoding them to the code. I think there can be a lot of potential (in addition to the config files) in using flash memory. For example in my current project I'm using it to store temperature/humidity/pressure data from a BME280 sensor and it would be super to show them in a nice chart/graph on a small screen like TTGO (I'm using Heltec ESP32 LoRa for this, that is an amoled, but the base idea I think will be the same), but of course it could be challenging because there are much more data stored in flash than I could display, so maybe just display a smaller portion or maybe scale down and get an avarage or something. I did not figure it out yet, because I'm concentrating on finishing the project and then I can work on the display part. Anyway I couldn't find good tutorial in charts/graphs with ESP32 and I think it would be super interesting to see your solution/idea to deal with a lot of data which obviously can't fit in memory at once nor to the display.
Word of warning to those wishing to write non-volatile data to the flash programmatically: The relatively poor write endurance of flash could lead to problems if you accidentally code a write / erase loop which flashes tonnes of data continually. 10k - 100k cycles is quoted. Even with wear-levelling you could render a partition useless after just a few hours or even minutes. For development I prefer to use external FRAM which is fast and indestructible - 10 trillion (10^13) cycles - just so I can afford to make mistakes when experimenting. I also watched the whole video twice. :)
thank you, both of you , for watching video twice... reason why i never use flash is simple, i still need to learn alot. Now i have new task to play with. Thank you! I will keep in mind what Nick sayed.
This is so kewl! Now I want to get some BLE sensors to try it out. I'm wondering if I can do this with my CanAirIO devices as well. Thanks for sharing 😊
As always, Excellent video & Code. I learnt how to use the Lilygo t-Display S3 and boosted Lilygo sales because of you. I've just spent weeks trying to get a T-Display S3 to use a BLE client (nimble and bluedroid libs) to display data from a JK BMS..works sometimes but highly unreliable and crashes. Did you conclude or have ideas why it doesnt work??. Im still working on it and just ordered and ESP32 Wroom to try on that. Im wondering if its problems with BLE on S3, or Display lib conflict? Ram usage? ..I fear im operating well beyond my intelligence level ! Cheers Steve
Great project, thanks for sharing it! Normally these sensors connect to a Xiaomi Smart Home Hub via BLE, so they can be remotely monitored with the Mi Home phone app. Can that work side-by-side with your solution, or BLE allows them to connect to only one other device, either the Hub or the ESP board at a time?
Thank you for this tutorial, it is really helpful. I have two questions for you: - Did you change the original firmware in the Xiaomi devices? - How often temperature and humidity are updated? Thanks in advance 🖖
Ne, bas sam htio da ne mjenjam firmware, za esp home potrwbno ga je mjenjati. Moji senzori su tvornicki. Senzor salje podatke svakih 6 sekundi, al se u mom projektu ekran updejta svake sekunde.
Excellent video and monitoring temperature in different locations is very handy. Do you have any idea why it will not work on the ESP32-S3 boards yet? Possibly a different BLE type?
@@0miker0 Do you remember how you made it? We can get the ID of the device, but we cannot read the rest of the data. We are using: std::string value = pRemoteCharacteristic->readValue(); Serial.println(value.c_str()); As it is in the code. But we get an output with weird symbols such as: The characteristic value was: � �
Great content. Thank you. How many Xiaomi thermometers can you add or is the max 4 per ESP32? What is the distance between floors/rooms that it can communicate? What about historical data? Ist it possible to monitor/log by day and time?
I still have problems configuring that weird TFT library. Isn't there a pre configurated or easy configurable version for T-Display availible? There' so much other products and versions and possibilities inside I always get confused and messed up with ! 🙄
Thanks! Another beautiful video but I can't even get VS Code (Platform IO) to edit the TFT_eSPI - User_Setup_Select.h headers from your old video 😭 I think I may not be destined for any success as a coder. 😩 happy to buy you cofeeees
Why you use platform io, belive me, you dont need ut. Use Arduino ide if you arr begginer.And just falliw my instruczions fir that vidro. You can use even nitepad to edit header files.
Nice project and design as always. However , I doubt that BT connection is the right choise for reliable connection inside house, having walls and even sometime different levels. I think that using ESPNOW will be much more efficient, or for example LoRa. I realize, that in this particular project it is not possible to implement other types of connection, but it will be very interesting if you concentrate your attention on completely custom project ( I mean , including the temperature sensors, not standar ones).
Yes , i needed to find good position for sensors and for esp32. But it works now. Esp now is great, but in that case i need 5 boards ,4 sensors and what is worst power suply for them. Thank you. I think i will make espnow tutorial next week.
Great use, I want to do something similar and mainly standalone without depending on a hub/server or phone. Im curios about the range, can I have the ttgo in the living room and have the sensor is separate rooms and still get the readings? Thanks for sharing your projects
I wonder if it would work with the t-pico C3 I have . Either way I know what to add to my next AliExpress order. PS yes watch till the end, 10min video are great
4 Xiomi thermometers and 4 different temperatures, from 21.4 to 22.8. Did they lay there for a while or did you just collect them from different rooms?
Very interesting video and very good explanation 👍 Is it possible to Use a lilygo esp32 s3 module with tuya app or smart home app ? I have a tuya water sensor that I want to be displayed on the small lilygo esp32 s3 module. If you can help this will be amazing. I want to use dedicated small t3 displays for different tuya sensors. Like temp and humidity on one lilygo s3 display module and tuya water level sensor on another lilygo s3 module.
@VolosProjects I'm not a c programmer but ifndef means if it's not defined and you can define the number of ble devices in your arduino sketch (I think it has to be before the import of the library, but my knowledge of c is zero) - this will override the library value. No need to modify the library every time.
These are good but the app app doesn't let you save a history that's the only thing annoying really, if you leave it constantly running it will run the battery down won't it? I think the thermometer keeps a history of temperatures itself somehow
First it will not work on single battery, you will need 3 of them, lipo batteries are better choice. But if you want to use 3 Aa beteries and you want simple clock that shows only time, you will need to put board to sleep and update time once per minute. And this way you will get maybe few days of runtime. Boards with screens need lot of power just for backlight led
@Volos: How accurate are the sensors? And is there much difference after a few hours at the same location? I really like them but go nuts of sensors that are not accurate enough. PS: watch most of your videos to the end and love the short concept. Just enough info and not filling the 30 minute yt algorithm with blablablabla.
After couple hours, diference can be up to 0.2 .. couple of years ago i was in search for good accurate sensor for tem, i tried many of them...i never finded goid ones with same readings. Most of them need calibration .
Hi Thank you for such an interesting implementation! Could you please kindly confirm the libraries you're using? I am using these and the nice display came up only for a brief moment once and now it doesn't anymore... Using library NimBLE-Arduino at version 1.4.1 in folder: C:\Users\AAAA\Documents\Arduino\libraries\NimBLE-Arduino Using library TFT_eSPI at version 2.5.34 in folder: C:\Users\AAAA\Documents\Arduino\libraries\TFT_eSPI Using library SPI at version 2.0.0 in folder: C:\Users\AAAA\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\libraries\SPI Using library FS at version 2.0.0 in folder: C:\Users\AAAA\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\libraries\FS Using library SPIFFS at version 2.0.0 in folder: C:\Users\AAAA\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\libraries\SPIFFS
Oh thanks so much for your quick reply @VolosProjects !! I am using the TTGO T-display - The serial port is showing that the modules are well dtected and data is read, but no image yet 😢