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

Getting Error when setting temperature through either Siri or Home app on iPhone #35

Closed akkiankur closed 4 years ago

akkiankur commented 4 years ago

Hey @kiwi-cam added couple of temperatures to begin with the plugin. I'm able to switch off the Air-con both with the Home app as well with Siri but temperature setting is not working.

{ "bridge": { "name": "Homebridge 79FD", "username": "xx", "port": xx, "pin": "xx" }, "accessories": [], "platforms": [ { "platform": "BroadlinkRM", "name": "Broadlink RM", "hideScanFrequencyButton": true, "hideLearnButton": false, "hideWelcomeMessage": false, "accessories": [ { "name": "Air Conditioner", "type": "air-conditioner", "defaultCoolTemperature": 27, "defaultHeatTemperature": 30, "minTemperature": 10, "maxTemperature": 28, "pseudoDeviceTemperature": 25, "heatTemperature": 50, "data": { "off": "Hex Code", "on": "Hex Code", "temperature23": { "pseudo-mode": "cool", "data": "Hex code" }, "temperature22": { "pseudo-mode": "cool", "data": "Hex code" }, "temperature21": { "pseudo-mode": "cool", "data": "Hex code" } } } ] } ] }

Below is the screenshot of the error I'm getting. I'm very new with coding and I'm not sure what I'm doing wrong. Any help is appreciated. Capture

akkiankur commented 4 years ago

Got it resolved with defining default temperature in config file