Page 1 of 1

images numbers

Posted: Wednesday 24 May 2017 12:22
by elgringo
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?

Re: images numbers

Posted: Wednesday 24 May 2017 14:12
by Dnpwwo
@elgringo,

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