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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login