Read the statement by Michael Teeuw here.
MMM-MQTTbridge
-
When i publish 1 message, it’s receiving it multiple times for some reason. Do i need to be worried?
-
@shinebright should produce one note per each mqtt message, check your settings once more or try to install on clean mm setup.
-
@Serge got it thanks! i’ll give that a try. awesome module by the way, i managed to change some of your codes along with the compliments module. Now I’m sending messages from my phone to update the mirror compliments and the kids think the mirror is replying back to them. :)
-
@shinebright what you had changed? Could you tell soi can add it as an option for the next releases
-
Hi @Serge
I’ve finally received the mirror itself, so now the MagicMirror is finally getting finished.
One of the things was to update the MM itself, as well as a few modules (screencast).
After doing that, I don’t see any mqtt status messages going out, and it doesn’t react on incoming either.
I’ve checked the username/password, still correct, and the IP hasn’t changed either? -
This post is deleted! -
Version 1.1 released https://github.com/sergge1/MMM-MQTTbridge
Code updated with the help of community members.
Now,-
mqtt topics introduced into mqttDictionary. This allows now:
– Subscribe to that specific topic from the mqttDictionary.
– now you can specify different behavior for the same payload from different topics,
e.g. if you got the mqttPayload “20” at “kitchen/temperature” topic and at “kitchen/humiduty” topic - different Command could be executed (before module recognized only payload for all the topics subscribed); -
Now, if notiPayload or mqttPayload are not specified within mqttDictionary or notiDictionary, the respective payload from mqtt or noti will be sent as payload for noti or mqtt.
E.g. if MM receives the mqtt message at “kitchen/temperature” with payload “20”, and mqttDictionary does not have specified payload at all - the “20” will go as payload for issued Noti. -
All errors of several mqtt connections disappear;
-
mqttBridgeFormatOnly - not used anymore;
-
Changed mqttDictionary according to notiDictionary. Subscription to topic only once
Please do not forget to change the config section and mqttDictionary accroding to the new structure.
-
-
This is really needed and very nice!! Thank you!
-
Stupid novice question. How can I update the module? :) I have to remove the old one and upload the new one, is there any command to update the already uploaded module?
-
@majdzik84 upload? internet is upload, local computer is download
to update a module locally, you go to that module folder and do a git pull
sometimes you also need to do npm install again, but I would try first without it