Read the statement by Michael Teeuw here.
how alert trigger
-
iobroker have also a MQTT instance. so maybe I will give it a try. but the readme looks difficult :-)
-
like I wrote I want see a alert in my mirror that shows me the Washer finished washing. the question is how I can trigger the alert or maybe a notification, is also a idea. when I think about. how can I do it, do u have a idea?
-
@fischi87 @wishmaster270 gave you the answer with his MQTTBridge module
hears the mqtt message and can send a notification to the alert module.
you configure both
-
hello again, I connected now this modul with my broker but how can I send a notification to the alert model? this I don’t understand right now. maybe u or someone else can help me in this topic please?
thanks
-
@fischi87 yeh it’s a little bit of thinking, as it is two part
starting here
-
define the mqtt topic and an arbitrary ‘command’ word to execute when the topic is heard (mqttHook)
-
define the ‘command’ that has the notification and the payload (mqttNotiCommands)
and from the alert module doc, start here
-
-
first of all thank u for ur time.
i dont understand where i have to write down the sendnotification. i mean i can see in my broker the examples from the mqtt module but how it works now. my understanding is to write something in the config to trigger the alarm.for example i use the example from the brige modul how can i use this exemple to trigger a alert? i hope u can understand me.
thanks
-
i have also a other idea. maybe it is easier to trigger the alert with the MMM-Api module? my broker have also a simple-api adapter.
but its still my question, how?
-
@fischi87 YOU don’t do the sendnotification.
you take the data from it and configure the module to send it.
I was just showing you the doc for the alert.module that describes what it wants
a string for the notification value
and a object for the notification payloadthese two things go in the command section
-
im so sorry but I don’t understand it. like I wrote I can see the examples in my Mqtt broker.
when I change in my broker the messages I can also see in the log from the mirror that it changed this values but how can I trigger with this a alert for example or a notification? what I have to configure? in the config.js file by the module: MMM-MQTT-Bridge? when yes what? I copy the examples already.