activate or deactivate rules over mqtt

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Normal user
Posts: 1
Joined: 17 May 2019, 09:26

activate or deactivate rules over mqtt

#1 Post by elminjo » 12 Jul 2019, 13:25

is it possible to toggle a rule over mqtt?
basically to activate and deactivate a rule over mqtt?

i tried to toggle a Dummy Device, but was not able to change the value
Topic: SubscribeTopic/DeviceName/DummyValue

EDIT: I oversaw Generic - MQTT Import, I try this one first

Edit2: The solution:

Code: Select all

on bell#switch do
  if [bell_armed#active] = 1
bell_armed#active is a Generic - MQTT Import with the name bell_armed and value active

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests