Mode-selector / multistate device
Moderators: leecollings, remb0
Re: Mode-selector / multistate device
Ahhh ok you use sctipt. But i use command to configure in GUI Domoticz which was implement some days ago.
Wysłane z mojego SM-G920F przy użyciu Tapatalka
Wysłane z mojego SM-G920F przy użyciu Tapatalka
-
- Posts: 8
- Joined: Thursday 14 May 2015 0:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Rambouillet, France
- Contact:
Re: Mode-selector / multistate device
Selector action shifting has been fixed a few minutes ago (waiting for compiling/merging)
- jcjames13009
- Posts: 33
- Joined: Monday 09 March 2015 15:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: France / Marseille
- Contact:
Re: Mode-selector / multistate device
Just discover an other issue. Selector switch shows only On/Off state in floor plan. Couldn't access levels selection
Hope this bug will be solved
Thanks in advance
JC
Hope this bug will be solved
Thanks in advance
JC
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Mode-selector / multistate device
Thanks for adding this!cgaudry wrote:I'm still working on it :
- add a parameter to hide 'Off' "level" ;
- add an action to execute when a "level" is selected.
These features should be available next week.
Can you make it possible that the Off level is hidden when you tick the Hide Off level box, but that you can still use the icon of the switch to execute the off action? Currently that is not working.
I don't need the Off selector button if you can just press the icon to turn off the switch.
Not using Domoticz anymore
- jcjames13009
- Posts: 33
- Joined: Monday 09 March 2015 15:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: France / Marseille
- Contact:
Re: Mode-selector / multistate device
@G3rard
I can switch it Off pressing the icon. Then I need to press corresponding level to change status. Icon has no more action when switch is Off. FYI, I run version 2.4031
JC
I can switch it Off pressing the icon. Then I need to press corresponding level to change status. Icon has no more action when switch is Off. FYI, I run version 2.4031
JC
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Mode-selector / multistate device
I am on 2.4192. That version has an option to not show the Off button. But if you do that then the icon cannot be used to switch it off. So you either have 2 off options or none.
My suggestion is that you can hide the Off button, but use the icon to execute the Off command.
My suggestion is that you can hide the Off button, but use the icon to execute the Off command.
Not using Domoticz anymore
- jcjames13009
- Posts: 33
- Joined: Monday 09 March 2015 15:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: France / Marseille
- Contact:
Re: Mode-selector / multistate device
Ok clear.
I believed you were still using V2.4026 from your profile
JC
I believed you were still using V2.4026 from your profile
JC
-
- Posts: 66
- Joined: Monday 20 July 2015 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Mode-selector / multistate device
Nice work, I've used the mode selector on my heatpump / air conditioner control: viewtopic.php?f=34&t=7179#p69647
Re: Mode-selector / multistate device
What's is the roadmap for adding notifications for this Selector-switch? Now the only options are on/off. I'd like to get a notification when for example Level1 is selected.
-
- Posts: 116
- Joined: Friday 20 December 2013 7:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Mode-selector / multistate device
Can I use this mode-selector / multistate device to define a few dimlevels like low, medium, high?
-
- Posts: 374
- Joined: Friday 23 May 2014 7:55
- Target OS: Linux
- Domoticz version: 2022.1
- Location: Saint Pierre de Jards
- Contact:
Re: Mode-selector / multistate device
This has been a long awaited function, http://www.domoticz.com/forum/tracker.php?p=2&t=81
Thanks a lot.
- Would it possible to have On/Off http or script actions within the switch interface extented to all level actions. It would allow to trigger actions depending on the level selected without having to setup a blocky event. Currently, I wonder what is the use of the On action?
- Would it be possible to edit the Off string in order to match what the user wants?
Thanks a lot.
- Would it possible to have On/Off http or script actions within the switch interface extented to all level actions. It would allow to trigger actions depending on the level selected without having to setup a blocky event. Currently, I wonder what is the use of the On action?
- Would it be possible to edit the Off string in order to match what the user wants?
Debian buster on NUC and three RPi with buster.
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Mode-selector / multistate device
I habve 4 ventilation buttons programma like the screenshot:
they send an on command, and after a second an off.
so the nodemcu with easy esp pushed a button on a remote to set it ON (like I pressed the remote controller) and after that it goes the same for the off command.
1=on 0 is off. when I will use only my selector I have to make an lua like:
But when I press the selector the lua won't push my buttons.
what's wrong here?
I thought I had it working this way before, but not sure anymore..
I hope I do something wrong, but an action like on/off as in a normal switch (with off delay) would be better then a lua I think. Is this possible?
they send an on command, and after a second an off.
so the nodemcu with easy esp pushed a button on a remote to set it ON (like I pressed the remote controller) and after that it goes the same for the off command.
1=on 0 is off. when I will use only my selector I have to make an lua like:
Code: Select all
commandArray = {}
if (devicechanged['Fan'] == 'Off') then
commandArray['FAN - Manual']='Off'
print('Fan op stand 0')
end
if (devicechanged['Fan'] == "_1" ) then
commandArray[1]={['OpenURL']='192.168.0.60/control?cmd=GPIO,13,1' }
commandArray[2]={['OpenURL']='192.168.0.60/control?cmd=GPIO,13,0' }
print('Fan op stand 1')
end
if (devicechanged['Fan'] == '_2' ) then
print('Fan gaat op stand 2')
commandArray[3]={['OpenURL']='192.168.0.60/control?cmd=GPIO,12,1' }
commandArray[4]={['OpenURL']='192.168.0.60/control?cmd=GPIO,12,0' }
print('Fan op stand 2')
end
if (devicechanged['Fan'] == '_3') then
commandArray[5]={['OpenURL']='192.168.0.60/control?cmd=GPIO,14,1' }
commandArray[6]={['OpenURL']='192.168.0.60/control?cmd=GPIO,14,0' }
print('Fan op stand 3')
end
if (devicechanged['Fan'] == '_4') then
commandArray[7]={['OpenURL']='192.168.0.60/control?cmd=GPIO,15,1' }
commandArray[8]={['OpenURL']='192.168.0.60/control?cmd=GPIO,15,0' }
print('Fan op stand 4')
end
return commandArray
I thought I had it working this way before, but not sure anymore..
I hope I do something wrong, but an action like on/off as in a normal switch (with off delay) would be better then a lua I think. Is this possible?
- Attachments
-
- 2016-01-22 23_23_25-Domoticz.png (733.05 KiB) Viewed 6709 times
Re: Mode-selector / multistate device
I've implemented Notifications for Selector-SwitchEduard wrote:What's is the roadmap for adding notifications for this Selector-switch? Now the only options are on/off. I'd like to get a notification when for example Level1 is selected.
Pull-request has been made, waiting to be merged...
- StephaneG
- Posts: 19
- Joined: Tuesday 17 November 2015 10:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Mode-selector / multistate device
Hello,
I have updated to current beta (4298), and my selector switches no longer work: selecting any level no longer activates the blocky events, nor changes the level in the selector switch itself.
I have created a new test selector, with everything set per defaults, doesnt work either.
Let me know if I can help to test/fix.
Regards,
--
Stéphane
I have updated to current beta (4298), and my selector switches no longer work: selecting any level no longer activates the blocky events, nor changes the level in the selector switch itself.
I have created a new test selector, with everything set per defaults, doesnt work either.
Let me know if I can help to test/fix.
Regards,
--
Stéphane
- TiXav
- Posts: 38
- Joined: Saturday 28 November 2015 22:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: Mode-selector / multistate device
I have updated to current beta (4298) too, and my selector switches no longer work too (same as Stephane)
selecting any level no longer activates Lua script_device_xxxx
I have created a new test selector, with everything set per defaults, doesnt work either. (same as Stephane)
I cannot control my heating anymore, oups
Regards,
Xavier
selecting any level no longer activates Lua script_device_xxxx
I have created a new test selector, with everything set per defaults, doesnt work either. (same as Stephane)
I cannot control my heating anymore, oups
Regards,
Xavier
-
- Posts: 57
- Joined: Thursday 14 August 2014 17:41
- Target OS: Linux
- Domoticz version: beta
- Location: France
- Contact:
Re: Mode-selector / multistate device
hi,
same here with v2.4298
same here with v2.4298
-
- Posts: 68
- Joined: Wednesday 30 December 2015 23:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Poland
- Contact:
Re: Mode-selector / multistate device
I think, a couple of confirmations is enough, but yes, I can confirm - it does not work for me any longer as well (direct http actions from selector levels).ben92 wrote:hi,
same here with v2.4298
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
-
- Posts: 45
- Joined: Tuesday 26 May 2015 22:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Argentina
- Contact:
Re: Mode-selector / multistate device
I cant figure out how to create a sensor with selector. Don't found that option.StephaneG wrote:Hello,
I have updated to current beta (4298), and my selector switches no longer work: selecting any level no longer activates the blocky events, nor changes the level in the selector switch itself.
I have created a new test selector, with everything set per defaults, doesnt work either.
Let me know if I can help to test/fix.
Regards,
--
Stéphane
My Domoticz is V2.3530
Regards
Razberry + 4 Eversrping HSM02 + 2 Aeotec Multi-Sensor + 1 Aeotec Micro Dimmer + 4 Aeotec Micro Smart Energy Switch, 2nd + 1 Remotec ZXT-120 + 1 Aeotec Smart Energy Monitor + 1 Everspring SE812 indoor Siren + 2 fibaro motion sensor + Aeotec water sensor
-
- Posts: 33
- Joined: Saturday 03 January 2015 22:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Mode-selector / multistate device
Works in v 2.4312
Who is online
Users browsing this forum: No registered users and 1 guest