Hi there, thanks for this plugin. This is the most stable one out of all available plugins for gree ac.
Not a show stopper, however once the accessory is added: say I've chosen to add 2 extra switches along with my AC: verticalSwing and powerfull mode, the accessories appear in Homekit in a single tile (expected): you've got Fan Speed (by default), Heater-Cooler (AC itself), and 2 above mentioned switches. Unless you choose to display these as separate tiles, each time you tap on the single tile the order of accessories keeps shifting. You get switches displayed first then Fan speed and AC, sometimes it's other way around, there is no pattern, it's really random.
Now because iOS 16 groups the devices in a room by category, my AC sometimes becomes a "switch" and sometimes it's an "AC". I'm not sure what causes it to do that, maybe constant background scanning for devices, but when having multiple ACs it gets a bit confusing what's where. Do you thing this is something you could address? Thanks
Teymur
To Reproduce:
Add a device with multiple switches.
Expected behavior:
The main accessory should be the AC itself and then the rest of the switches and all.
Logs:[11/19/2022, 12:13:57 AM] [Gree AC] [f4911e50b843 -- 10.10.10.8:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":25,"TemSen":66,"TemUn":0,"TemRec":0,"WdSpd":5,"SwingLfRig":0,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 00:25:00"} [11/19/2022, 12:13:57 AM] [Gree AC] [f4911ed45f9d -- 10.10.10.11:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":22,"TemSen":65,"TemUn":0,"TemRec":1,"WdSpd":5,"SwingLfRig":6,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 01:06:54"} [11/19/2022, 12:15:57 AM] [Gree AC] [f4911ed45f9d -- 10.10.10.11:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":22,"TemSen":65,"TemUn":0,"TemRec":1,"WdSpd":5,"SwingLfRig":6,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 01:08:54"} [11/19/2022, 12:15:57 AM] [Gree AC] [f4911e50b843 -- 10.10.10.8:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":25,"TemSen":66,"TemUn":0,"TemRec":0,"WdSpd":5,"SwingLfRig":0,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 00:27:00"} [11/19/2022, 12:17:57 AM] [Gree AC] [f4911ed45f9d -- 10.10.10.11:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":22,"TemSen":65,"TemUn":0,"TemRec":1,"WdSpd":5,"SwingLfRig":6,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 01:10:54"} [11/19/2022, 12:17:57 AM] [Gree AC] [f4911e50b843 -- 10.10.10.8:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":25,"TemSen":66,"TemUn":0,"TemRec":0,"WdSpd":5,"SwingLfRig":0,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 00:28:59"}
Show the Homebridge logs here, remove any sensitive information.
Describe The Bug:
Hi there, thanks for this plugin. This is the most stable one out of all available plugins for gree ac. Not a show stopper, however once the accessory is added: say I've chosen to add 2 extra switches along with my AC: verticalSwing and powerfull mode, the accessories appear in Homekit in a single tile (expected): you've got Fan Speed (by default), Heater-Cooler (AC itself), and 2 above mentioned switches. Unless you choose to display these as separate tiles, each time you tap on the single tile the order of accessories keeps shifting. You get switches displayed first then Fan speed and AC, sometimes it's other way around, there is no pattern, it's really random. Now because iOS 16 groups the devices in a room by category, my AC sometimes becomes a "switch" and sometimes it's an "AC". I'm not sure what causes it to do that, maybe constant background scanning for devices, but when having multiple ACs it gets a bit confusing what's where. Do you thing this is something you could address? Thanks
Teymur To Reproduce:
Add a device with multiple switches. Expected behavior:
The main accessory should be the AC itself and then the rest of the switches and all. Logs:
[11/19/2022, 12:13:57 AM] [Gree AC] [f4911e50b843 -- 10.10.10.8:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":25,"TemSen":66,"TemUn":0,"TemRec":0,"WdSpd":5,"SwingLfRig":0,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 00:25:00"} [11/19/2022, 12:13:57 AM] [Gree AC] [f4911ed45f9d -- 10.10.10.11:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":22,"TemSen":65,"TemUn":0,"TemRec":1,"WdSpd":5,"SwingLfRig":6,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 01:06:54"} [11/19/2022, 12:15:57 AM] [Gree AC] [f4911ed45f9d -- 10.10.10.11:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":22,"TemSen":65,"TemUn":0,"TemRec":1,"WdSpd":5,"SwingLfRig":6,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 01:08:54"} [11/19/2022, 12:15:57 AM] [Gree AC] [f4911e50b843 -- 10.10.10.8:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":25,"TemSen":66,"TemUn":0,"TemRec":0,"WdSpd":5,"SwingLfRig":0,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 00:27:00"} [11/19/2022, 12:17:57 AM] [Gree AC] [f4911ed45f9d -- 10.10.10.11:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":22,"TemSen":65,"TemUn":0,"TemRec":1,"WdSpd":5,"SwingLfRig":6,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 01:10:54"} [11/19/2022, 12:17:57 AM] [Gree AC] [f4911e50b843 -- 10.10.10.8:7000] Update Status: {"Pow":0,"Mod":1,"SetTem":25,"TemSen":66,"TemUn":0,"TemRec":0,"WdSpd":5,"SwingLfRig":0,"SwUpDn":1,"Blo":0,"Lig":1,"Quiet":0,"Tur":1,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-11-19 00:28:59"}
Plugin Config:
{ "name": "Gree AC", "language": "en", "port": 7002, "scanAddress": "10.10.10.255", "defaultValue": { "statusUpdateInterval": 120, "sensorOffset": 40, "defaultSpeed": 5, "defaultVerticalSwing": 11, "defaultHorizontalSwing": 0, "switches": "verticalSwing,powerfulMode" }, "devices": [ { "mac": "f4:91:1e:50:b8:43", "name": "Living Room AC" }, { "mac": "f4:91:1e:d4:5f:9d", "name": "Bedroom AC" } ], "platform": "GreeAirConditioner", "_bridge": { "username": "0E:6B:4A:8A:89:F7", "port": 51076 } }
Screenshots:
Environment: