I have been working on a Virtual Thermostat plugin that effectively emulates a fully scheduled thermostat but uses any temperature sensor device in HS as the input and any switch device as the output. I use PlugExtraData extensively in the root device of each VStat to store lots of information, e.g. schedules and device references. I have the plugin working in Windows and in Linux. However, what I am not having any success with is running the plugin remotely from a Windows PC connecting to a server on Linux. The problem seems to be the PlugExtraData in a device.
When I try to retrieve the PlugExtraData from the root device with
EDO = dvR.PlugExtraData_Get(hs)
it doesn't return any of the objects stored, i.e. EDO.NamedCount=0.
Has anyone had any success with PlugExtraData cross platform?
One of the main reasons for using PlugExtraData to store info in the root device, which I could otherwise have stored in an INI file, was so I could easily access it remotely. If it doesn't work across platforms then it rather scuppers things.
I'm a bit of a novice with plugins so I may be missing the obvious.
Steve
When I try to retrieve the PlugExtraData from the root device with
EDO = dvR.PlugExtraData_Get(hs)
it doesn't return any of the objects stored, i.e. EDO.NamedCount=0.
Has anyone had any success with PlugExtraData cross platform?
One of the main reasons for using PlugExtraData to store info in the root device, which I could otherwise have stored in an INI file, was so I could easily access it remotely. If it doesn't work across platforms then it rather scuppers things.
I'm a bit of a novice with plugins so I may be missing the obvious.
Steve
Comment