Where / how are the 'Data' formats defined for the values displayed on the Devices page?
Posted: Monday 16 May 2016 23:57
Hi,
I'm trying to extend the Domoticz code for the Evohome system and I'd like to add an additional value to the Evohome Heating/Temperature devices which currently have their data defined as Temp;Setpoint;Mode. I've succeed in adding an additional sensor value within the database so I now have values with the structure Temp;Setpoint;Demand;Mode, but I can't work out how or where the display formats are defined for the information shown on the Domoticz Devices page. For example, the stored value '18.5;20.2;Auto' is displayed on the Devices page as '18.5, (20.2), Auto' and if I display my new record '18.5; 20.2;200; Auto' it appears on the Devices page as '18.5, (20.2), 200 until Auto' as the format assumes that my additional value is part of a datetime record.
Thanks,
Dan
I'm trying to extend the Domoticz code for the Evohome system and I'd like to add an additional value to the Evohome Heating/Temperature devices which currently have their data defined as Temp;Setpoint;Mode. I've succeed in adding an additional sensor value within the database so I now have values with the structure Temp;Setpoint;Demand;Mode, but I can't work out how or where the display formats are defined for the information shown on the Domoticz Devices page. For example, the stored value '18.5;20.2;Auto' is displayed on the Devices page as '18.5, (20.2), Auto' and if I display my new record '18.5; 20.2;200; Auto' it appears on the Devices page as '18.5, (20.2), 200 until Auto' as the format assumes that my additional value is part of a datetime record.
Thanks,
Dan