• 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.

door and proximity sensors

Scheduled Pinned Locked Moved Utilities
2 Posts 2 Posters 559 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.
  • E Offline
    ectovito
    last edited by May 14, 2021, 5:22 PM

    Thank you for this great module.
    I was finally able to retrieve the Device IDs via the Aqara gateway, and the tokens from the gateway and vacuum in the Miio Mac application.
    I can correctly display the temperature and humidity of my different rooms in the house. The same for my vaccum via the Xiaomi-vaccum module.
    The only thing I can’t do is to declare the door sensors and the sensory sensors.
    What should I declare in the configuration file?
    Thank you in advance for your help.

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jose Walsh
      last edited by Feb 9, 2023, 1:02 PM

      @ectovito said in door and proximity sensors:

      I was finally able to retrieve the Device IDs via the Aqara gateway, and the tokens from the gateway and vacuum in the Miio Mac application.
      I can correctly display the temperature and humidity of my different rooms in the house. The same for my vaccum via the Xiaomi-vaccum module.
      The only thing I can’t do is to declare the door sensors and the sensory sensors.
      What should I declare in the configuration file?
      Thank you in advance for your help.

      To declare the door sensors and sensory sensors in your configuration file, you will need to specify the device type, device ID, and token for each sensor. You can typically find this information in the Miio Mac application or from the Aqara gateway.

      Here’s an example of what a door sensor declaration in your configuration file might look like:
      switch:

      • platform: xiaomi_aqara
        name: Door Sensor
        type: magnet
        sid: <device_id>
        token:
        And here’s an example of what a sensory sensor declaration might look like:
        sensor:
      • platform: xiaomi_aqara
        name: Sensory Sensor
        type: sensor_ht
        sid: <device_id>
        token:

      Note that the <device_id> and values should be replaced with.

      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