• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Generic Dimmer
#1
Is it possible to add a feature to the generic_dimmer?

If the generic_dimmer is present in the GUI it shows the dimlevel and on/off button.
What I would like to have is an optional setting to disable the on/off button so that only the slider is showed (and can be used) in the GUI.

"onoffbutton":, 0
 
Reply
#2
The reason why I would like this feature is for the following use:
I'm (ab)using the dimmer protocol for my thermostat in the following way:

Code:
"thermostaataan": {
                        "rule": "IF temperatuur.temperature < thermostaat.dimlevel THEN switch DEVICE relais TO on",
                        "active": 1
                },
                "thermostaatuit": {
                        "rule": "IF temperatuur.temperature > thermostaat.dimlevel THEN switch DEVICE relais TO off",
                        "active": 1
                },

The thermostat dimmer is always on, while the relay/heater is on or off based on the room temperature. I've added the relay state as a read-only element in the GUI so I can see if the heater on or off. That's why the on/off button has no use at all.

[Image: 2015-01-22_195928.th.png]

I'm also thinking of adding some 'scenes' that can be controlled by the dimmer.
Like adding a dimmer with 4 dimlevels.
Level 1 : All lights on full brightness
Level 2 : Home Cinema : All lights off, All ledstrips on / Heating on 22C
Level 3 : Smooth : All dimmable lights on and all dimlevels 5
Level 4 : Go to bed : Bedheating on / Bedlights on / Heating off

This way it's easy to send a number to the ruleset and making it possible with a single GUI element to control the rules.
 
Reply
#3
pilight-send do not control limits defined in config.json

If you place limits in the dimmer example between 1 and 8 , pilight only reacts in 11 as invalid.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Intertechno ITLR-300 dimmer witty 14 6,757 03-16-2016, 03:23 PM
Last Post: eribus
  [workaround]Intertechno ITL 210 Dimmer IcedEarth 5 4,659 03-14-2016, 12:26 AM
Last Post: witty
  [Fully Supported] Arctech Dimmer (KaKu) fhp 107 40,156 01-02-2016, 05:26 PM
Last Post: kniazio
  dimmer Protocol Elro HE878 fleisch 6 4,342 09-14-2015, 08:34 PM
Last Post: curlymo
  Unknown Handsender / Dimmer Landixus 2 2,055 07-27-2015, 04:40 PM
Last Post: Forumkel
  KlikAanKlikUit Dimmer Josef 2 2,711 06-21-2015, 06:47 PM
Last Post: curlymo
  Generic Raw value Protocol simonsmart99 23 11,084 05-02-2015, 07:42 PM
Last Post: simonsmart99
  quigg gt7000 Dimmer wchristi 11 8,041 04-30-2015, 09:25 AM
Last Post: wo_rasp
Question Nexa Dimmer (arctech_switch) nils 6 5,058 02-26-2015, 09:15 PM
Last Post: Josef
  Elro 400 Series Dimmer its2loud 0 1,693 02-12-2015, 09:28 PM
Last Post: its2loud

Forum Jump:


Browsing: 1 Guest(s)