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
304 stars 96 forks source link

Problem with more than 4 platform (broadlinks) #614

Open lualroja opened 1 year ago

lualroja commented 1 year ago

When I add a fifth platform, one stops working.

kiwi-cam commented 1 year ago

Is there anything in the logs when you start homebridge with 5 on the network? Or any difference to when there are four?

This is not a scenario I'm able to fully test so I'll need some help.

ggroel commented 1 year ago
    {
        "platform": "BroadlinkRM",
        "name": "Broadlink",
        "hideScanFrequencyButton": true,
        "hideLearnButton": false,
        "hideWelcomeMessage": true,
        "hosts": [
            {
                "address": "10.0.0.20",
                "mac": "XX:XX:XX:XX:XX:XX",
                "isRFSupported": false,
                "isRM4": true
            },
            {
                "address": "10.0.0.21",
                "mac": "XX:XX:XX:XX:XX:XX",
                "isRFSupported": false,
                "isRM4": true
            },
            {
                "address": "10.0.0.22",
                "mac": "XX:XX:XX:XX:XX:XX",
                "isRFSupported": false,
                "isRM4": true
            },
            {
                "address": "10.0.0.23",
                "mac": "XX:XX:XX:XX:XX:XX",
                "isRFSupported": false,
                "isRM4": true
            },
            {
                "address": "10.0.0.24",
                "mac": "XX:XX:XX:XX:XX:XX",
                "isRFSupported": false,
                "isRM4": true
            }
        ],
        "accessories": [
            {
                "accessory": "Broadlink RM Learner",
                "host": "10.0.0.20",
                "name": "IR Living",
                "type": "learn-code"
            },
            {
                "accessory": "Broadlink RM Learner",
                "host": "10.0.0.21",
                "name": "IR Comedor",
                "type": "learn-code"
            },
            {
                "accessory": "Broadlink RM Learner",
                "host": "10.0.0.22",
                "name": "IR Mir y Gastón",
                "type": "learn-code"
            },
            {
                "accessory": "Broadlink RM Learner",
                "host": "10.0.0.23",
                "name": "IR Luli",
                "type": "learn-code"
            },
            {
                "accessory": "Broadlink RM Learner",
                "host": "10.0.0.24",
                "name": "IR Facu",
                "type": "learn-code"
            },

El 29 jun. 2023, a las 23:12, Cameron @.***> escribió:

Is there anything in the logs when you start homebridge with 5 on the network? Or any difference to when there are four?

This is not a scenario I'm able to fully test so I'll need some help.

— Reply to this email directly, view it on GitHub https://github.com/kiwi-cam/homebridge-broadlink-rm/issues/614#issuecomment-1614018275, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBDDDHEWI5MYJP5R2WVVL3XNYYZHANCNFSM6AAAAAAZL3QSQE. You are receiving this because you are subscribed to this thread.

lualroja commented 1 year ago

kiwi-cam, I don't know exactly what is the problem, apparently my hombridge for some reason just read 4 IP address.

I am showing when I configure 5 boradlinks and the I restart the homebridge: "[01/07/2023, 11:17:32] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge 9ADF) is running on port 51292. [01/07/2023, 11:17:32] [Broadlink RM] [INFO] Discovered Broadlink RM4 Mini (5216) at 192.168.10.72 (ec:0b:ae:9e:a3:fa) [01/07/2023, 11:17:32] [Broadlink RM] [INFO] Discovered Broadlink RM4 Mini S (648d) at 192.168.10.27 (a0:43:b0:72:94:a0) [01/07/2023, 11:17:32] [Broadlink RM] [INFO] Discovered Broadlink RM4 Mini S (648d) at 192.168.10.16 (a0:43:b0:54:d9:30) [01/07/2023, 11:17:32] [Wemo] [Lámpara Wendy] current state [off]. [01/07/2023, 11:17:33] [Wemo] [Lámpara Luis] current state [off]. [01/07/2023, 11:17:33] [Broadlink RM] Aire Sala monitorTemperature [01/07/2023, 11:17:33] [Broadlink RM] Aire Oficina monitorTemperature [01/07/2023, 11:17:33] [Broadlink RM] Aire Comedor monitorTemperature [INFO] Adding RF Support to device a043b01915ad with type 6026 [01/07/2023, 11:17:34] [Broadlink RM] [INFO] Discovered Broadlink RM4 Pro (6026) at 192.168.10.15 (a0:43:b0:19:15:ad) [01/07/2023, 11:18:56] [Broadlink RM] Aire Cuarto monitorTemperature"

That is all. apparently never show the fish broadlink configured (192.168.10.79), which is the one that doesn't work, even though on terminal I do make ping to it.

The Configuration is: { "platform": "BroadlinkRM", "name": "Broadlink RM", "hideScanFrequencyButton": true, "hideLearnButton": true, "hideWelcomeMessage": true, "host": [ { "address": "192.168.10.15", "mac": "a0:43:b0:19:15:ad", "isRFSupported": true, "isRM4": true }, { "address": "192.168.10.16", "mac": "a0:43:b0:54:d9:30", "isRFSupported": false, "isRM4": "true" }, { "address": "192.168.10.27", "mac": "a0:43:b0:72:94:a0", "isRFSupported": false, "isRM4": "true" }, { "address": "192.168.10.72", "mac": "ec:0b:ae:9e:a3:fa", "isRFSupported": false, "isRM4": "true" }, { "address": "192.168.10.79", "mac": "ec:0b:ae:9e:a3:fa", "isRFSupported": false, "isRM4": "true" } ], "accessories": [ { "name": "BL Cuarto Learn", "host": "192.168.10.15", "type": "learn-code" }, { "name": "BL Sala Learn", "host": "192.168.10.16", "type": "learn-code" }, { "name": "BL Oficina Learn", "host": "192.168.10.27", "type": "learn-code" }, { "name": "BL Comedor Learn", "host": "192.168.10.72", "type": "learn-code" }, { "name": "BL Ejercicios Learn", "host": "192.168.10.79", "type": "learn-code" }, { "name": "Aire Cuarto", "type": "heater-cooler", "host": "192.168.10.15", "minTemperature": 15, "maxTemperature": 30, "tempStepSize": 1, "fanStepSize": 25, "temperatureUpdateFrequency": 30, "noHistory": true, "noHumidity": true, "data": { "cool": { "on": "HEX-CODE", "off": "HEX-CODE", "temperatureCodes": { "15": "HEX-CODE", "16": "HEX-CODE", "17": "HEX-CODE", ....... "30": "HEX-CODE" } } } }, { "name": "Aire Sala", "type": "heater-cooler", "host": "192.168.10.16", "minTemperature": 17, "maxTemperature": 30, "tempStepSize": 1, "fanStepSize": 25, "temperatureUpdateFrequency": 30, "noHistory": true, "noHumidity": true, "data": { "cool": { "on": "HEX-CODE", "off": "HEX-CODE", "temperatureCodes": { "17": "HEX-CODE", "18": "HEX-CODE", "19": "HEX-CODE", ... "30": "HEX-CODE" } } } }, { "name": "Aire Oficina", "type": "heater-cooler", "host": "192.168.10.27", "minTemperature": 17, "maxTemperature": 30, "tempStepSize": 1, "fanStepSize": 25, "temperatureUpdateFrequency": 30, "noHistory": true, "noHumidity": true, "data": { "cool": { "on": "HEX-CODE", "off": "HEX-CODE", "temperatureCodes": { "17": "HEX-CODE", "18": "HEX-CODE", "19": "HEX-CODE", ... "30": "HEX-CODE" } } } }, { "name": "Aire Comedor", "type": "heater-cooler", "host": "192.168.10.72", "minTemperature": 16, "maxTemperature": 30, "tempStepSize": 1, "fanStepSize": 25, "temperatureUpdateFrequency": 30, "noHistory": true, "noHumidity": true, "data": { "cool": { "on": "HEX-CODE", "off": "HEX-CODE", "temperatureCodes": { "16": "HEX-CODE", "17": "HEX-CODE", ... "30": "HEX-CODE" } } } }, { "name": "Aire Ejercicios", "type": "heater-cooler", "host": "192.168.10.79", "minTemperature": 16, "maxTemperature": 32, "tempStepSize": 1, "fanStepSize": 25, "temperatureUpdateFrequency": 30, "noHistory": true, "noHumidity": true, "data": { "cool": { "on": "HEX-CODE", "off": "HEX-CODE", "temperatureCodes": { "16": "HEX-CODE", "17": "HEX-CODE", ... "30": "HEX-CODE" } } } } ] }

lualroja commented 1 year ago

when sending a command for the the fifth broadlink, this is the message:

[01/07/2023, 11:35:17] [Broadlink RM] Aire Ejercicios setTargetHeaterCoolerState: 2 [01/07/2023, 11:35:17] [Broadlink RM] Changing target state from 2 to 2 [01/07/2023, 11:35:17] [Broadlink RM] Looking up temperature hex codes for 30 [01/07/2023, 11:35:17] [Broadlink RM] Sending hex codes for temperature 30 [01/07/2023, 11:35:17] [Broadlink RM] [ERROR] Aire Ejercicios sendData (no device found at 192.168.10.79, ensure the device is not locked) [01/07/2023, 11:35:17] [Broadlink RM] Aire Ejercicios setActive: 1 [01/07/2023, 11:35:17] [Broadlink RM] Looking up temperature hex codes for 30 [01/07/2023, 11:35:17] [Broadlink RM] Sending hex codes for temperature 30 [01/07/2023, 11:35:17] [Broadlink RM] Adding ON code first [01/07/2023, 11:35:17] [Broadlink RM] [ERROR] Aire Ejercicios sendData (no device found at 192.168.10.79, ensure the device is not locked) [01/07/2023, 11:35:17] [Broadlink RM] Updated currentHeaterCoolerState to 3 [01/07/2023, 11:35:17] [Broadlink RM] Aire Ejercicios setCurrentHeaterCoolerState: 3 [01/07/2023, 11:35:18] [Broadlink RM] [ERROR] Aire Ejercicios sendData (no device found at 192.168.10.79, ensure the device is not locked) [01/07/2023, 11:35:18] [Broadlink RM] Updated currentHeaterCoolerState to 3 [01/07/2023, 11:35:18] [Broadlink RM] Aire Ejercicios setCurrentHeaterCoolerState: 3

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.