Modifying Dimmer widget into multiple buttons ?
Posted: Tuesday 08 December 2015 19:24
Hi,
I use zwave modules from Qubino to manage my electric heater. This module relies on a Dimmer widget to send 6 different orders to the heater: for instance, if dimmer is set at 50-100 values, then module understands "comfort" order, while values 0-9 mean "off" and "10-20" values mean "no freeze", etc. (I don't remember exact values, that's only to explain the logic).
So, in Domoticz, this module is displayed with the dimmer widget and I need to adjust the trigger on the bar to appropriate level to reach ad hoc value, and fidning the exact level is not always easy, especially on small screens. Instead of that, I'd like to create 6 buttons which I would press to trigger the 6 orders. Maybe it requires only some light coding ?
How should I proceed to do so ?
I'm not an expert in scripts or programming, but if I need to build a widget based on existing ones, I could probably contribute. But I could not find tutorials on how to build/modify these widgets, and I did not find either where it is coded in Domoticz (I found some xxx.js files, with a lot of code).
ricorico94
I use zwave modules from Qubino to manage my electric heater. This module relies on a Dimmer widget to send 6 different orders to the heater: for instance, if dimmer is set at 50-100 values, then module understands "comfort" order, while values 0-9 mean "off" and "10-20" values mean "no freeze", etc. (I don't remember exact values, that's only to explain the logic).
So, in Domoticz, this module is displayed with the dimmer widget and I need to adjust the trigger on the bar to appropriate level to reach ad hoc value, and fidning the exact level is not always easy, especially on small screens. Instead of that, I'd like to create 6 buttons which I would press to trigger the 6 orders. Maybe it requires only some light coding ?
How should I proceed to do so ?
I'm not an expert in scripts or programming, but if I need to build a widget based on existing ones, I could probably contribute. But I could not find tutorials on how to build/modify these widgets, and I did not find either where it is coded in Domoticz (I found some xxx.js files, with a lot of code).
ricorico94