Read the statement by Michael Teeuw here.
Module to get indoor temperature from smartsensor
-
Hello everyone,
i’ve been playing around with the MagicMirror for few weeks, and learning how to use prog on the rpi at the same time. Quite new for me but passionating.
I’m using a sensibo (https://www.sensibo.com/) to control my aircon unit. The device is basically a smart IR remote with a temperature and humidity sensor, all connected to wifi, and with an open API !
Basically, I’d like to be able to pull “temperature” and “humidity” measurement from the sensor and display it on the MagicMirror.They have published the script, with the measurements function, but I am clueless on how to adapt it into a “currentweather” like module. https://github.com/Sensibo/sensibo-python-sdk
Any pointers would be greatly appreciated !
Thanks a lot in advance.
Kind Regards
Pierre -
update on this !
After more research, I’m getting closer to a working solution !
Basically, I can get temperature and humidity data by sending the following url:
https://home.sensibo.com/api/v2/pods/{podID}/measurements?apiKey={apikkeyXXX}
In which I can input my API key and my device/pod ID.
It will reply with a JSON giving this :Response body Download { "status": "success", "result": [ { "time": { "secondsAgo": 17, "time": "2020-07-08T19:53:04.450414Z" }, "temperature": 27.3, "humidity": 49.5 } ] }
After hours looking on how to get and display those two values, i’ve opted to use this module MMM-json-feed.
And after some playing around, it finally shows like this:
Now, I need to find a way to :
+Round up values
+Add Celsius and % for each value
+Replace “Temperature” and “Humidity” by a nice FontAwesome iconIf anyone has any pointers for one of the above, it will be appreciated !
Cheers
Pierre -
@ZeFX I created this if you want to give it a try before I post it https://github.com/wlans/MMM-Sensibo