Zero values in devices - 1st check device IP connection before polling?
Posted: Monday 03 September 2018 19:22
Problem
I sometimes see a lot of zero values in my devices log such for my Intergas temperature device.
I know this is because my network router sometimes failes. I have A-grade hardware but. When this happens I manually need to remove all ZERO values from the domoticz device log database. Think of Temperature logs, pressure logs, heating logs and more. For my own bash scripts I wrote a piece of simple code to prevent this. But for the hardware devices included in Domoticz I don't know how to solve this. I also do not want to edit the code of domoticz. For example the Intergas RF module....
Question:
Would it be possible to always check the network connection if the (external) IP device is available, and so before getting a device value from it?
This way many Domoticz users can prevent filling up their device log with (tens/hundreds) of ZERO values when facing a network issue.
I sometimes see a lot of zero values in my devices log such for my Intergas temperature device.
I know this is because my network router sometimes failes. I have A-grade hardware but. When this happens I manually need to remove all ZERO values from the domoticz device log database. Think of Temperature logs, pressure logs, heating logs and more. For my own bash scripts I wrote a piece of simple code to prevent this. But for the hardware devices included in Domoticz I don't know how to solve this. I also do not want to edit the code of domoticz. For example the Intergas RF module....
Question:
Would it be possible to always check the network connection if the (external) IP device is available, and so before getting a device value from it?
This way many Domoticz users can prevent filling up their device log with (tens/hundreds) of ZERO values when facing a network issue.