Read the statement by Michael Teeuw here.
MMM-xiaomi - Temperature and Humidity from your smarthome
-
Hi i got different problem am trying to install Miio to discover the sensors Numbers but i got error messages :
pi@raspberrypi:~ $ npm install --save miio
npm WARN saveError ENOENT: no such file or directory, open ‘/home/pi/package.json’
/home/pi
└── miio@0.14.0npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field. -
fix -
sudo npm install -g miio
-
I have now also the Yeelight Bulbs (Color) but i guess its not working to show the status in the mirror?
or has @Albert2002 managed to get it working?
I also only get a short id beginning with 56 or something wit the miio tool.
I needed to install the Yeelight App in order to get the stuff discovered by the Amazon Echo . With the Mi Home app it was working to stear them, but not recognized in the Amazon App (took me a while to figure that out) -
It’s still not working for me. I just think those are two different modules we need for. MMM-xiaomi is only for displaying the different Temperature readings and the state of the Windows sensors. And this does pretty well!
I tried Openhub with the Yeelight binding. The idea was to get it on the mirror with mmm-openhabfloorplan
I was only able to see my Yeelights in Openhab and the remote but whitout being able to switch them. Only to make them visible on the mirror its a bit to much effort I think. Maybe I did something wrong.As far as I understood the most important point is that you have to chose Singapore if you want to control your Yeelignts with Alexa. For Everything else there are a lot to tutorials around.
-
Yes the Yeelights are still not supported, I will need to order one for myself to actually implement that. Should not be an issue, at least the miio library seems to support it. Hope to get it running within the next months…
-
Hi mirko3000
I’m very happy, thank you for the work. Your modul runs excellent, it’s exactly what I want.
Thanks to your good dokumentation, my three xiaomi temperature sensors are working fine, I did order
additional twelfe temperature- und window sensors.
With the miio software, I’ ve got an token for the xiaomi smart hub. Any idea to use it? (chance LED color, etc.)Is there also a way to set a maximum temperature for warning, so it could be used as an additional fire sensor?
It’s minimal: I’m trying to set the size of the charakters a few points up - with no success in the the css-file.
Can you give me a hint?Thank you in advance
Mike -
Hi garbleflux,
happy to hear you like the module! :)
The token for the hub is required for the whole module to work, so I guess you are already using it (directly or via auto-token). If you want to use features of the smart hub, currently I have not implemented anything here. Need to check what the miio lib provides, maybe setting the light colors?
Maximum temperature could be implemented, but I doubt you really want to use this as fire sensor! :) Not much help if your mirror warns you about a fire.
About the character size: I use the default css classes “small” and “xsmall”. You could simply override them for the xiaomi elements via:
.xm-xiaomi .small { font-size: 24px; }
Best regards,
Mirko -
Hi mirko3000
thank you for your kind reply. No, I dont want to use the xiaomi-sensor as a fire sensor ;-)
But I have a fine storeroom for some goods, so the temperature should be in a range from 14 and 18
degrees celcius. Otherwise I must take the goods and move them in the summertime in the colder
basement. Thats my intention to wish a maximum temperature.Thanks again for your great work and your support!
Best wishes from Mike -
Ok got it :) Here you go, added max temperature setting with latest version.
Best regards,
Mirko -
Am still impressed by your speed and your skill! Thank you for sharing your work with us!