Page 1 of 1
Maximun range of a device
Posted: Tuesday 15 October 2019 13:44
by sbhc68
Hello,
I wanted to know if it was not possible in domoticz, to add minimum and maximum ranges for the devices in order to avoid the incorrect data transfer (Either by device or by type of device)?
For example, for a temperature device, the user would define a range between +60 and -40 deg.
Cordially.
Re: Maximun range of a device
Posted: Tuesday 15 October 2019 13:55
by waaren
sbhc68 wrote: ↑Tuesday 15 October 2019 13:44
I wanted to know if it was not possible in domoticz, to add minimum and maximum ranges for the devices in order to avoid the incorrect data transfer For example, for a temperature device, the user would define a range between +60 and -40 deg.
This functionality is not available in domoticz. Closest you can get is to set a notification for when temperature is out of range.
Re: Maximun range of a device
Posted: Tuesday 15 October 2019 13:56
by ben53252642
I think this really should be done before sending the data to Domoticz,
Eg I have an electricity meter that I read data from and I use a bash script to sort and transfer the reading into Domoticz via JSON.
The bash script is setup to check that the data is valid (it is a number and between x and y range) before sending it to Domoticz.
Re: Maximun range of a device
Posted: Tuesday 15 October 2019 16:41
by sbhc68
Yes, indeed, the ideal is to do it before sending the data in Domoticz.
But, it seems to me, that in some cases this is not feasible (eg device on RFXCOM or Zigate or Zwave).