Page 1 of 1

Python plugin: slave device do not trigger OnCommand

Posted: Thursday 07 January 2021 21:08
by darrepac
Hi

I have 3 lights
I have 1 dummy device Roomlight
I put the Roomlight in the slave area of each 3 lights, so when I turn Roomlight On each 3 lights turn On. It works

But these 3 lights are Shelly lights and they are managed by a plugin (ShellyMQTT).

Problem:
When I trigger the Roomlight, Domoticz turn the 3 lights on but in real the 3 lights stay off (=they are On on Domoticz GUI but in reality the lights are off).
I debug a bit and I saw that the OnCommand function from the plugin never receive any command from Domoticz when I trigger the Roomlight.
It is like slave/master stuff doesn't trigger OnCommand function...

Is it normal? Is there any workaround?

Re: Python plugin: slave device do not trigger OnCommand

Posted: Sunday 10 January 2021 13:29
by darrepac