Read the statement by Michael Teeuw here.
MMM-NotificationReceived
-
MMM-NotificationReceived
Simple module for developping.
It allow to show notification send by modules.
Notification is shown in dev console launched bynpm start dev
[Notification][MMM-Spotify] SPOTIFY_CONNECTED [Notification][MMM-Spotify] SPOTIFY_UPDATE_PLAYING true [Notification][MMM-Spotify] SPOTIFY_UPDATE_DEVICE Object
Of course, you can choose the notification sender and see
Object
/Array
by developing it -
@Bugsounet Great, this opens many options. I may be in the minority but for me a bridge from notifications to MQTT would be awesome.
I use a workaround where external events can turn modules on/off. This is done by bridging from MQTT via Node RED to MMM-Remote-Control’s API.
-
sure, simple module but it help ;)
-
@mmmmh - I don’t know if it will help you, but I use MQTT in my MMM-WeasleyClock module. It only subscribes, but adding publish capability shouldn’t be terribly difficult. I was considering adding that feature before I achieved what I was going for with the server configuration.
I used mqtt.js and it wasn’t all that difficult.
-
@bhepler Interesting take on the location tracking. I created something similar where I use geofencing apps that support webhooks. A simple php script converts the calls to MQTT payloads and a small web page acting as an MQTT over websockets client shows icons depending on the person and the location. In my MagicMirror display said web page is embedded using an iframe module.
I also use OwnTracks but for me it is not as reliable as other apps.
-
@mmmmh - No argument here. OwnTracks is great in that it’s open source and free. It’s buggy as hell though. If you have a recommendation for something more reliable, I’m all ears. I picked OwnTracks solely based on the Instructable that inspired the Weasley Clock.
-