• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Module to get indoor temperature from smartsensor

Scheduled Pinned Locked Moved Requests
3 Posts 2 Posters 683 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    ZeFX
    last edited by Jul 6, 2020, 1:28 PM

    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

    1 Reply Last reply Reply Quote 0
    • Z Offline
      ZeFX
      last edited by Jul 8, 2020, 8:06 PM

      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:
      a8428806-ff26-4c7d-8f2a-fbc8e77a5af1-image.png

      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 icon

      If anyone has any pointers for one of the above, it will be appreciated !

      Cheers
      Pierre

      M 1 Reply Last reply Nov 6, 2024, 11:52 AM Reply Quote 0
      • M Offline
        mmmallday @ZeFX
        last edited by Nov 6, 2024, 11:52 AM

        @ZeFX I created this if you want to give it a try before I post it https://github.com/wlans/MMM-Sensibo

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy