Modifying Dimmer widget into multiple buttons ?

Moderator: leecollings

Post Reply
ricorico94
Posts: 94
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Modifying Dimmer widget into multiple buttons ?

Post by ricorico94 »

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
User avatar
StephaneG
Posts: 19
Joined: Tuesday 17 November 2015 10:10
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Modifying Dimmer widget into multiple buttons ?

Post by StephaneG »

Hello,

Did you work on this? Or find a solution?

I am also using the Fil Pilote Qubino modules, and intend to make a discrete-values dimmer UI object if noone has made one.

Regards,
--
Stéphane
rtenklooster
Posts: 36
Joined: Tuesday 23 December 2014 16:20
Target OS: Linux
Domoticz version:
Contact:

Re: Modifying Dimmer widget into multiple buttons ?

Post by rtenklooster »

I don't know for sure if i understand you correctly.
You might be able to accomplish this by creating 6 dummy devices. (Switches)
As On option you fill in this:
http://127.0.0.1//json.htm?type=command ... &level=YYY

Where XXX is the IDX of your current dimmer AND YYY Is the dim value e.g. 1-10
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Modifying Dimmer widget into multiple buttons ?

Post by Egregius »

Take a look at my floorplan. I use buttons to control dimmers.
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: Modifying Dimmer widget into multiple buttons ?

Post by pj-r »

Is this what you are looking for? viewtopic.php?f=31&t=7244#p66519
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
User avatar
StephaneG
Posts: 19
Joined: Tuesday 17 November 2015 10:10
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Modifying Dimmer widget into multiple buttons ?

Post by StephaneG »

Very much so, indeed ! Good find :)

With "Radiateur rdc hall" being the dimmer setpoint of a Qubino ZMNHJD1 ZWave pilot wire controller, and "Radiateurs rdc" being the virtual selector switch set with the 6 "pilot wire" possible values:

Image

... and the blocky event :

Image

Regards,
--
Stéphane
oldchap
Posts: 2
Joined: Thursday 21 January 2016 22:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Modifying Dimmer widget into multiple buttons ?

Post by oldchap »

Hello
I'm currently installing the same qubino device.
I've some difficulties to identify the switch representing the "fil pilote", as 5 ones have been automatically created by the device ZMNHJD1 in my Domoticz.

As I'm not on the location with the "radiator", so have you an idea to be sure to select the good one (in order to program the same virtual selector switch you have done ?

Many thanks, as following some screen copies of my Domoticz.

https://docs.google.com/document/d/1qn ... p=sharing
Raspberry Pi 2B + RFXCOM + USB Z-Wave + Domoticz + Open-zwave
Pilotage Chaudière relai sec + Plancher chauffant Qubino (en cours) + Oregon températeur + Prises Chacon-like
User avatar
StephaneG
Posts: 19
Joined: Tuesday 17 November 2015 10:10
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Modifying Dimmer widget into multiple buttons ?

Post by StephaneG »

Hello,

As said on thr french forum, it is the one ending in 1, so 301 in your case.

Regards,
--
Stéphane
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests