Search found 4 matches

by JonasF
Tuesday 21 March 2017 19:48
Forum: Python
Topic: Plugin : read Type en subType of a device
Replies: 4
Views: 1276

Re: Plugin : read Type en subType of a device

Oh ! Perfect !

Tanks !
by JonasF
Sunday 19 March 2017 14:31
Forum: Python
Topic: Plugin : read Type en subType of a device
Replies: 4
Views: 1276

Plugin : read Type en subType of a device

Hi

I can not find how to read type and subtype of a device in python.

How to read it ? Via a sql request? If so what is the best way to access the sqlite database ?
by JonasF
Sunday 19 March 2017 14:18
Forum: Python
Topic: plugins : max 255 devices
Replies: 2
Views: 1048

Re: plugins : max 255 devices

I do not think I will have more than 255 devices (but it's technically be possible). But as all the dummy device on "'unit' == 1" I thought I misunderstood.

Thank you for the quick reply
by JonasF
Sunday 19 March 2017 11:08
Forum: Python
Topic: plugins : max 255 devices
Replies: 2
Views: 1048

plugins : max 255 devices

Hi I discover domoticz. I would like to write a plugin for externals devices with homemade protocol and look possibilities with domoticz python plugins. Can you confirm me that are limited to 255 devices ? (The dico Devices keys are 'unit' limited to 255). Is not it possible to make several Devices ...