How to calibrate sensor data before its display
Moderators: leecollings, remb0
How to calibrate sensor data before its display
I have an ESP32 that sends sensor data to a "Custom Sensor" in domoticz via http. The sensor data is raw and needs to be calibrated (re-calculated using a function y=a*x+b) before it is shown in domotic's "Custom Sensor. I understand that I can do the data calibration in the ESP32 side before I send the data to domoticz. However, for some reasons, I would like to have the calibration done in Domoticz. I would like to use blocky to do the calibration work when data is received than shows it in the "Customer sensor". I wonder if this is feasible?? Please help. Thank you very much.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: How to calibrate sensor data before its display
No that's not feasible. The Blockly implementation in domoticz does not have any math functions.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest