Jump to content

Recommended Posts

Posted

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?

  • 3 weeks later...
Posted (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 by Luca Bartolini

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...