skarbat / raspimirror

Raspbian running MagicMirror2
MIT License
4 stars 0 forks source link

Mqtt #1

Open netcompsys opened 6 years ago

netcompsys commented 6 years ago

Please add MQTT client and MMM-MQTT to the build https://github.com/javiergayala/MMM-mqtt

Cheers

skarbat commented 6 years ago

Done - thanks!

netcompsys commented 6 years ago

I think you will need an MQTT client as well There was an issue https://github.com/javiergayala/MMM-mqtt/issues/1 xbmcnut commented on 6 Apr "OK. Installed sudo apt-get install mosquitto mosquitto-clients. Seems this is mandatory prior to the install of MMM-mqtt so it might pay to modify your instructions? The 'binding' does not happen if Mosquitto is installed afterwards and setting mqttServer: 'mqtt://localhost' returns an offline MQTT message. Running npm install in your directory after installing Mosquitto fixes this and everything is working now, at least with the local MQTT broker."