kiwi-cam / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
301 stars 96 forks source link

Temperate and humidity sensors not showing #695

Open wiz01-novice opened 4 months ago

wiz01-novice commented 4 months ago

Describe the bug Hi, I am not very experienced, so I am pretty sure I have messed something up in the configuration, but after several hours of Googling, I have jot made any progress. I have an RM 4 Mini S. Get's identified during Homebridge start up, but the I can't figure out how to get the temperature and humidity sensors to show up in the accessories.

I get this message during homebridge start up

[4/27/2024, 3:17:02 PM] [BroadlinkRM] No accessories have been added to the "undefined" platform config.

and a bit later

[4/27/2024, 3:17:02 PM] Homebridge v1.8.0 (HAP v0.12.0) (Homebridge 5CB4) is running on port 51297. [4/27/2024, 3:17:03 PM] [BroadlinkRM] [INFO] Discovered Broadlink RM4 Mini S (648d) at 192.168.1.168 (24:df:a7:4f:b8:83)

Config below

{ "bridge": { "name": "Homebridge", "username": "XXXX", "port": xxx, "pin": "XXXX" }, "description": "Homebridge", "accessories": [], "platforms": [ { "platform": "BroadlinkRM", "name": "BroadlinkRM", "accessories": [ { "name": "Upstairs humidity", "type": "humiditySensor" }, { "name": "Upstairs temperature", "type": "temperatureSensor" } ] } ], "platform": "BroadlinkRM" }

I'm sure it's something very simple, yet beyond me. Thanks in advance.

kard8 commented 1 month ago

Hi @wiz01-novice,

Try Hard linking your RM4 Mini S

  1. Go to your router and manually assign a fixed local IP address to your device.
  2. Next, Go to Plugin config in Homebridge and add this code
{
            "platform": "BroadlinkRM",
            "name": "Broadlink RM",
            "hosts": [
                {
                    "address": "IP ADDRESS",
                    "mac": "XX:XX:XX:XX:XX:XX",
                    "isRFSupported": false,
                    "isRM4": true
                }
            ],
            "accessories": [
                {
                    "name": "Temp Sensor",
                    "type": "temperatureSensor",
                    "host": "IP ADDRESS"
                }
             ]
}

Let me know if this works..