Page 1 of 1

Device selector group

Posted: Thursday 23 March 2017 10:19
by St7ven
Hi,

On part of my plugin does not work on raspberry pi3 although working on a windows OS.

Code: Select all

    # Create devices here, see examples
    LevelActions= "LevelActions:"+stringToBase64("|||||")+";"
    LevelNames= "LevelNames:"+stringToBase64("None|Grp1|Grp2|Grp3|Grp4|GrpAll")+";"
    Other= "LevelOffHidden:"+stringToBase64("true")+";SelectorStyle:MA=="
    Options=LevelActions+LevelNames+Other

Code: Select all

Domoticz.Device(Name="Controler Group", Unit=GROUPCONTROLER, TypeName="Selector Switch", DeviceID="06060606" ,Switchtype=18, Image=12, Options=Options).Create()
Then I get error in the log but not directly related to this line. It's like the a character is missing from this line and generate an error on the following lines.

Do you see any error on this line ?

Re: Device selector group

Posted: Thursday 23 March 2017 11:27
by oohlaf

Re: Device selector group

Posted: Thursday 23 March 2017 11:40
by St7ven
Thank you for your help ! Very usefull !