Device selector group Topic is solved

Python and python framework

Moderator: leecollings

Post Reply
St7ven
Posts: 22
Joined: Friday 10 March 2017 9:27
Target OS: Windows
Domoticz version:
Contact:

Device selector group

Post 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 ?
oohlaf
Posts: 21
Joined: Monday 06 February 2017 0:57
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Device selector group

Post by oohlaf »

St7ven
Posts: 22
Joined: Friday 10 March 2017 9:27
Target OS: Windows
Domoticz version:
Contact:

Re: Device selector group

Post by St7ven »

Thank you for your help ! Very usefull !
Post Reply

Who is online

Users browsing this forum: rini52 and 1 guest