ianperrin / MMM-NetworkScanner

A module for MagicMirror which determines the status of devices on the network based on their MAC or IP address

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Presence of the mirror true MQQT Server.

paulvanderheijden90 opened this issue · comments

Hello.
I would like to use my presence of the Magic Mirror. So this will be always the same.
I want to make 2 channels in the MQTT server. One for me and One for My girlfriend.

And depending of the visualization on the mirror it must send : CH: Paul "at home" or "Away"
CH: Debbie "at home" or "Away"

I made Already a python script for something else with a MQTT client / server. here I use paho.mqtt.publish this is working.

So my question is: What do I need to do to send information to my MQTT client ?

I'm not 100% sure, but I would like to do something comparable. But I would like to do it by sending an UDP message over the network. My Loxone miniserver can handle these messages nicely.

I don't know if it would be much work to incorporate this?
I found following code to send an UDP message, hope it helps?
https://community.weatherflow.com/t/nodejs-and-sending-udp-data/821