Luca Bartolini Posted August 17 Share Posted August 17 hi all, I know there isn't an API documented method to force temperature reading (use external temperature instead of internal sensor). I know is possible to use bluetooth sensor, and also wifi sensor H&T, but I want to explore possibility to update temperature readings with an external script, in my case to read temperature from DHT22, but also someone can use readings from an external integration system. Do you know if is there any trick to force temperature reading? Quote Link to comment Share on other sites More sharing options...
Luca Bartolini Posted September 4 Author Share Posted September 4 (edited) I finally wrote my own script to use the wired DHT22 sensor with a wall display. My script runs inside a shelly-plus with addon and DHT22 sensor. This script periodically calculate the "delta" between temperature reading inside Wall Display, and the "real" temperature from DHT22, so I use this "delta" to fix temperature reading of wall display, with the builtin "temperature correction" parameter. I do the same with humidity sensor. I sent my script on shelly github, however I attach here. if is good for someone please let me know. script-temperature-adjust.js Edited September 4 by Luca Bartolini 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.