Page 1 of 1

Plugin : read Type en subType of a device

Posted: Sunday 19 March 2017 15:31
by JonasF
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 ?

Re: Plugin : read Type en subType of a device

Posted: Tuesday 21 March 2017 1:55
by Dnpwwo
@JonasF,

Pull Request #1370 has Added Type and SubType attributes to the Device object. Should be in beta in a day or so.

Re: Plugin : read Type en subType of a device

Posted: Tuesday 21 March 2017 20:48
by JonasF
Oh ! Perfect !

Tanks !

Re: Plugin : read Type en subType of a device

Posted: Thursday 23 March 2017 15:47
by ffes
Dnpwwo wrote:Pull Request #1370 has Added Type and SubType attributes to the Device object. Should be in beta in a day or so.
That opens up possibilities!