How to save mode1.. mode6 parameters in a plugin

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
bramv
Posts: 17
Joined: Wednesday 27 June 2018 23:53
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands/Westland
Contact:

How to save mode1.. mode6 parameters in a plugin

Post by bramv »

I'm writing a plugin and it need a MAC address to be able to do an lan wakeup.
It is stored in mode2 parameter. You have to look it up and type it in the hardware settings of the plugin.
Finding the MAC on the device is not so easy.

I want to do a lookup with the python module "get_mac_address" and store it automatically in de mode2 parameter.
It will be much more user friendly.

Does anybody can help?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest