When creating a python plugin I can add devices
Devices have: Type, subtype, Switchtype, Image as parameters
Some are defined here.
However I look for some definitions for switchtype and images.
Is there a definiton of the switchtype and image numbers?
images numbers
Moderator: leecollings
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: images numbers
@elgringo,
Not sure, but here's what I do know:
Not sure, but here's what I do know:
- Standard images have a number less than 100
- Custom images number from 100 upwards
- switch_icons.txt in the www folder used to be a list of the standard icons (not sure if it is still current), there is no numbers in the file but I think they increment from either 0 or 1
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Who is online
Users browsing this forum: No registered users and 1 guest