Hmm your config seems to be fine, make sure the IDs are ok, else it should work. Be aware that the icon only shows open window/doors, so if the door is closed you won’t see an icon.
I suppose the temperature sensor is working fine?
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
-
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
Hi, sorry I did not reply to your last comment, did you solve the issues there?
About the CSS: basically you are at the right spot, adjusting these values (e.g. font-size) should change font size. What did you edit exactly? Did you try restarting MM after the changes? -
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
Ok got it :) Here you go, added max temperature setting with latest version.
Best regards,
Mirko -
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
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 -
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
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…
-
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
Check the new config parameter ‘celcius’ from the latest commit, just put that to ‘false’ to show fahrenheit instead of celcius.
-
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
Oh and I just fixed an issue with the notifications, they should disappear after 10 seconds, now they do again :)
BTW: please use the issue tracker on github to track issues, this helps other find similar problems:
https://github.com/mirko3000/MMM-xiaomi/issues -
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
Hmm those Yeelights seem to be quite different, guess it will be hard to implement without having at least one piece on my own…
For the notifications: this is a magic mirror default, so I can’t change the behaviour. In your case you should configure your outside sensor (parameter outsideSensorId), then this will not show any notification. It is mainly used for indoor rooms. I can of course add a config to disable notifications at all.
The window states are not 100% reliable. It seems that sometimes the sensors send wrong values, I need to investigate why this is the case.
To your last question: I disabled the trend indicators by default, but you can re-enable them by setting the config:
showTrend: true
-
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
Did you try with the ‘miio --discover’ command line utility? Do the lights show up there?
-
RE: MMM-xiaomi - Temperature and Humidity from your smarthome
Yes the identification of the sensors is not really good, did not find a better solution so far.
As for the trend indicators: I pushed a new version where you can disable the trend icons (showTrend: false).