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
Where / how are the 'Data' formats defined for the values displayed on the Devices page?
Moderator: leecollings
-
DanD
- Posts: 159
- Joined: Saturday 05 March 2016 9:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: UK
- Contact:
Where / how are the 'Data' formats defined for the values displayed on the Devices page?
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
-
DanD
- Posts: 159
- Joined: Saturday 05 March 2016 9:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: UK
- Contact:
Re: Where / how are the 'Data' formats defined for the values displayed on the Devices page?
I've started to realise that my previous post was a pretty dumb question as there seem to be far more linked attributes to a device than I intially realised. I've been focussing purely on the Domoticz C++ code and wrongly assumed that I could extend device definitions within this code. However, I decided to have a play with JSON queries of the new data records that I'd inserted and I realised that these queries also rely on the original database structures.
If I wanted to extend/modify a device definition in the Domoticz database to add in a new data item, where should I start? Should I submit this in the suggestions forum? As mentioned in my previous post, what I'm aiming to achieve is to extend the Evohome sTypeEvohomeZone device to add in a 'Demand' value which captures the current heat demand.
Thanks,
Dan
If I wanted to extend/modify a device definition in the Domoticz database to add in a new data item, where should I start? Should I submit this in the suggestions forum? As mentioned in my previous post, what I'm aiming to achieve is to extend the Evohome sTypeEvohomeZone device to add in a 'Demand' value which captures the current heat demand.
Thanks,
Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
Who is online
Users browsing this forum: No registered users and 1 guest