Read the statement by Michael Teeuw here.
MMM-xiaomi - Temperature and Humidity from your smarthome
-
Great work. But mine keeps looking for gateway. I’m pretty sure that the ip of GW is correct.
-
Sorry, forgot about the link:
https://github.com/mirko3000/MMM-xiaomi@barnosch, @cxlwill: Did you check the logs? Anything showing up there?
-
Also it only supports xiaomi temperature sensors, so if you don’t have any registered on your gateway it will not show anything (Keeping in “Connecting to gateway…” mode).
-
@mirko3000 Thank you for this!! Exactly what I have been looking for… this is truly awesome!
I would like about 9 of these sensors… do I also need the gateway as well?
-
@cowboysdude : As i read, the Gateway is mandatory.
But as always Xiaomi is really cheap. GW is about 25$ i guess.I ordered some temp sensors. Can’t wait to test the stuff.
-
@mirko3000 Well, I have temp&hum sensor and it works well with Home Assistant and Homebridge. So I think the API itself is OK. I will check the log. Nice plugin anyway. Maybe we can extend it to more Xiaomi devices.
-
@barnosch said in MMM-xiaomi - Temperature and Humidity from your smarthome:
@cowboysdude : As i read, the Gateway is mandatory.
But as always Xiaomi is really cheap. GW is about 25$ i guess.I ordered some temp sensors. Can’t wait to test the stuff.
I saw the gateway was inexpensive so if I can find a US plug adapter for this I will be ordering the gateway and about 9 of the temp sensors :)
-
How to figure out the id of the sensor?
-
Well the IDs show up in your magic mirror - the problem is to identify which ID belongs to which sensor. I guessed them by checking the temperature, still I agree that this is not very convenient so far. Looking out for a better solution…
-
Thank you for your replay!
When I do so I get a “Connecting to XIAOMI gatway…”
As far as I understand "ENETUNREACH " means Network unreachable. I can successfully ping the Gatway at 192.168.2.107 via VNC & LX Terminal.
Do I have to set up something on my Gateway first?
Any idea what to do?This is what my error log says:
ERROR! Could not find main module js file for RepositoryForRC ERROR! Could not find main module js file for async { Error: send ENETUNREACH 192.168.2.107:54321 at Object.exports._errnoException (util.js:1050:11) at exports._exceptionWithHostPort (util.js:1073:20) at SendWrap.afterSend [as oncomplete] (dgram.js:402:11) code: 'ENETUNREACH', errno: 'ENETUNREACH', syscall: 'send', address: '192.168.2.107', port: 54321 }
My mm out:
Starting MagicMirror: v2.1.3 Loading config ... Loading module helpers ... No helper found for module: alert. No helper found for module: clock. Initializing new module helper ... Module helper loaded: MMM-Remote-Control Initializing new module helper ... Module helper loaded: MMM-xiaomi All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: MMM-Remote-Control Starting node helper for: MMM-Remote-Control Connecting socket for: MMM-xiaomi Starting xiaomi helper Sockets connected & modules started ... Launching application. Triggering Xiaomi Gateway upate