Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
Please explaine me how i can write script or set to button level other function/command ?
For example as for command ON and OFF.
I want maybe use this to control my AV Reciver and i want have function:
1. ON/ OFF (it is ok i know how)
ON - http://DENON_IP/MainZone/index.put.asp?cmd0=PutZone_OnOff%2FON
OFF - http://DENON_IP/MainZone/index.put.asp?cmd0=PutZone_OnOff%2FOFF
But when i select action ON and OFF icon button is not active... Only can OFF by leve name OFF
2. Select INPUT (defined by me)
also by http
3. Control volume up and down
also by http but must be not button than only PUSH BUTTON
Is any chance to correct it in domoticz to user by set level can also select type button:
Button ON/OFF
or
PUSH BUTTON
and correct also in Domoticz when user create level also with create can set command to this level action on (Should start with http:// or script://)
and add option to set display text as in virtual switch text ?? Please developer to add this features....
commandArray['Fan']= 'set level 30' doesn't work for me either. name of device is correct. and it had til level 40 so the level also exist.
in blocky it works. but lua don't (I hope I made an stupid fault)
remb0 wrote:commandArray['Fan']= 'set level 30' doesn't work for me either. name of device is correct. and it had til level 40 so the level also exist.
in blocky it works. but lua don't (I hope I made an stupid fault)
remb0 wrote:commandArray['Fan']= 'set level 30' doesn't work for me either. name of device is correct. and it had til level 40 so the level also exist.
in blocky it works. but lua don't (I hope I made an stupid fault)
SQ9MDD wrote:I'm confused, how can you did this?
I have a problem with selector cant add levels simply this button doesn't work, and after save dont have any option.
I have the same problem on V2.4123 version. Is there any additional step required in order to be able to define Levels for Selector?
At the moment, all I can get is a Selector with Off level.
Update: 2016/01/14 For the benefit of others - you cannot create a dummy switch from Devices tab. You need to do this (at least for the first one) via Manual switch on Switches tab. Only then, it will work as expected. I could not understand this when reading the thread
Last edited by mKotek on Thursday 14 January 2016 1:56, edited 2 times in total.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
This issue has been fixed this morning in beta version.
Now the following characters will be simply removed from the level name while adding or renaming it : :;|<>
But in switch selector you dont have problem with action to level?
I assigned to level acction but swich selector wrong assigned. I add to level 10 but action was run on level 0 or when i add to level 20 action is run on level 10.