Read the statement by Michael Teeuw here.
Send data from a local web page to a magic mirror module
-
Hi, I would like to send data (temperature, switch or PIR status) from a local web page installed in a computer to a magic mirror module which I am programming dedicated to process that information. So, pleasse how can I start?. Thanks in advance.
-
@sergiozf what do you mean from a web page?
U mean some api? you entered data in the web page form, sent to a server, then on to mm?
-
@sdetweil I have a local web page runnig on a computer where I need to watch those data connected to several sensors which I want to send their data to a MM Module, using websocket to connect with module notification.
-
@sergiozf where is it getting the data from?
Can it websocket send to mm module too?Use the node ws library
https://www.npmjs.com/package/wsListen and receive in the node helper. Send up to the module