I have two temp sensor Sonoff e Samotech set as SmartSense Temp/Humidity Sensor but I live in Europe and degree are in Celsius and in device’s setting I cannot calibrate them with decimals.
How can I do?
I have two temp sensor Sonoff e Samotech set as SmartSense Temp/Humidity Sensor but I live in Europe and degree are in Celsius and in device’s setting I cannot calibrate them with decimals.
How can I do?
Hi @Giamma,
To test that it works you can do this, I tried it and it works:
If you see that it works well for you, you can leave it like this, you will see that the app shows the value with decimals entered in IDE in the Temperature Offset settings
You can also modify the DTH on line 48 with this for example:
ORIGINAL: input “tempOffset”, “number”, title: “Temperature offset”, description: “Select how many degrees to adjust the temperature.”, range: “-100…100”, displayDuringSetup: false
NEW: input “tempOffset”, “decimal”, title: “Temperature offset”, description: “Select how many degrees to adjust the temperature.”, range: “-5.0…5.0”, displayDuringSetup: false
You can put the rage as you want, -5.0…5.0 is an option
This is more complicated since then in order for the app input range appear from -5.0º to 5.0º you have to do several things. You tell me if the first is worth it.
Ok, thank you, I’ll make some test in IDE …