Thanks for that, it's sort of what I am after but not quite but I think I have figured out a way anyway, I think I'll not bother with Domoticz (tbh I don't really get on with it and don't find it that intuitive anyway) I only installed it as I has a raspberry Pi going free and was looking for a new project.kalinkamaen wrote:I have made a example of what i think could work for you! But it could be that I understand you wrong.
I don't know if anyone uses Tasker for Android but I can explain what I am trying to do in those terms.
So in Eventghost this event
Code: Select all
MQTT.domoticz/out/Lighting 1/3/1Set Variable - %KITCHEN eq ON
Then this event
Code: Select all
MQTT.domoticz/out/Lighting 1/3/0Set Variable - %KITCHEN eq Off
Then I could run a task called Kitchen which would go like this.
If %KITCHEN eq On
Perform Task - Kitchen Off
Else If %KITCHEN eq Off
Perform Task - Kitchen On
So what I'm probably going to do is use the Pi as a touch screen home controller and use an old Android phone running Tasker and MQTT broker as an intermediate between the Sonoff switches and Eventghost.
Thanks for all your help anyway

