Is Hardware Table infos available inside the Python Framework Topic is solved

Python and python framework

Moderator: leecollings

Post Reply
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Is Hardware Table infos available inside the Python Framework

Post by pipiche »

I didn't see any-thing on the Wiki and I'm wondering if we could get access to the Hardware Table information inside a running Plugin.

For instance, can the Plugin be aware of its HardwareID and get access to few other fields ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Is Hardware Table infos available inside the Python Framework

Post by pipiche »

To give a bit more context this would allow the plugin in case several occurrences of it are running.

For instance, the field Hardware.extra is not accessible if I'm not mistaken
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Is Hardware Table infos available inside the Python Framework

Post by pipiche »

Ok, found the information myself by listing all Parameters and indeed:

HardwareID and Key ( mapped to Extra) are available .
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest