MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    door and proximity sensors

    Utilities
    2
    2
    260
    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
      ectovito last edited by

      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
        Jose Walsh last edited by

        @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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy