mitch7391 / homebridge-cmd4-AdvantageAir

Catered shell script to integrate air conditioner control units by Advantage Air into HomeKit using the plug-in homebridge-cmd4.
MIT License
38 stars 4 forks source link

[Support] Cannot get homebridge-cmd4-AdvantageAir to communicate with Aircon #83

Closed kyrien22 closed 1 year ago

kyrien22 commented 1 year ago

I have successfully set up and run the homebridge-cmd4-AdvantageAir plugin in the past on my Synology NAS. Unfortunately it crashed and I have had to reinstall everything. I can successfully install the plugin and run both the Config Creator and Check Configuration without any problems.

It successfully creates all of my rooms and finds the temperature sensors as well. Unfortunately I can see that it is not correctly communicating with any of it though as all of the temperatures read 25 Degrees Celsius which is not the case. Also if I was to select a room switch and turn it on it does not do so and remains off in the MyPlace app. If I try to select the same room in the MyPlace app it does not show it as on in HomeBridge.

Please see the below configuration and logs. Any help would be appreciated. Thanks.

Paste of Logs:

[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Aircon returned (CACHED) value: Aircon
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue TemperatureDisplayUnits for: Aircon returned (CACHED) value: 0
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Aircon FanSpeed returned (CACHED) value: Aircon FanSpeed
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Aircon Fan returned (CACHED) value: Aircon Fan
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Aircon Timer returned (CACHED) value: Aircon Timer
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Master Suite Zone returned (CACHED) value: Master Suite Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Ethan’s Room Zone returned (CACHED) value: Ethan’s Room Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Bedroom 3 Zone returned (CACHED) value: Bedroom 3 Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Emma's Room Zone returned (CACHED) value: Emma's Room Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Guest Room Zone returned (CACHED) value: Guest Room Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Upper Living Zone returned (CACHED) value: Upper Living Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Study Zone returned (CACHED) value: Study Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Cinema Zone returned (CACHED) value: Cinema Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Lower Living Zone returned (CACHED) value: Lower Living Zone
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Master Suite Temperature returned (CACHED) value: Master Suite Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Ethan’s Room Temperature returned (CACHED) value: Ethan’s Room Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Bedroom 3 Temperature returned (CACHED) value: Bedroom 3 Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Emma's Room Temperature returned (CACHED) value: Emma's Room Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Guest Room Temperature returned (CACHED) value: Guest Room Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Upper Living Temperature returned (CACHED) value: Upper Living Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Study Temperature returned (CACHED) value: Study Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Cinema Temperature returned (CACHED) value: Cinema Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue Name for: Lower Living Temperature returned (CACHED) value: Lower Living Temperature
[5/14/2023, 1:24:24 PM] [Cmd4] getCachedValue TemperatureDisplayUnits for: Aircon returned (CACHED) value: 0
[5/14/2023, 1:24:27 PM] [Cmd4] getCachedValue TemperatureDisplayUnits for: Aircon returned (CACHED) value: 0
[5/14/2023, 1:24:27 PM] [Cmd4] Processing high priority queue "Set" entry: 106 length: 0
[5/14/2023, 1:24:27 PM] [Cmd4] Setting Master Suite Zone On 1
[5/14/2023, 1:24:27 PM] [Cmd4] setValue: accTypeEnumIndex:( 106 )-"On" function for: Master Suite Zone 1  cmd: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug timeout: 60000
[5/14/2023, 1:24:37 PM] [Cmd4] setValue: On function for Master Suite Zone streamed to stderr: cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory

[5/14/2023, 1:24:37 PM] [Cmd4] setValue On function failed for Master Suite Zone cmd: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug Failed.  Error: Command failed: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory

[5/14/2023, 1:24:39 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:39 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Study Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:39 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:39 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Cinema Zone timeout: 60000 interval: 60000
[5/14/2023, 1:24:39 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:39 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Aircon timeout: 60000 interval: 60000
[5/14/2023, 1:24:40 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:40 PM] [Cmd4] Scheduling Poll of index: 39 characteristic: CurrentHeatingCoolingState for: Aircon timeout: 60000 interval: 60000
[5/14/2023, 1:24:40 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:40 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Guest Room Zone timeout: 60000 interval: 60000
[5/14/2023, 1:24:41 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:41 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Aircon FanSpeed timeout: 60000 interval: 60000
[5/14/2023, 1:24:41 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:41 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Cinema Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:42 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:42 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Study Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:42 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:42 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Lower Living Zone timeout: 60000 interval: 60000
[5/14/2023, 1:24:42 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:42 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Emma's Room Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:43 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:43 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Upper Living Zone timeout: 60000 interval: 60000
[5/14/2023, 1:24:43 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:43 PM] [Cmd4] Scheduling Poll of index: 189 characteristic: TargetHeatingCoolingState for: Aircon timeout: 60000 interval: 60000
[5/14/2023, 1:24:43 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:43 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Bedroom 3 Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:43 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:43 PM] [Cmd4] Scheduling Poll of index: 140 characteristic: RotationSpeed for: Aircon Fan timeout: 60000 interval: 60000
[5/14/2023, 1:24:44 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:44 PM] [Cmd4] Scheduling Poll of index: 140 characteristic: RotationSpeed for: Aircon FanSpeed timeout: 60000 interval: 60000
[5/14/2023, 1:24:44 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:44 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Ethan’s Room Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:45 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:45 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Master Suite Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:45 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:45 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Emma's Room Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:46 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:46 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Study Zone timeout: 60000 interval: 60000
[5/14/2023, 1:24:46 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:46 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Bedroom 3 Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:47 PM] [Cmd4] Processing high priority queue "Set" entry: 106 length: 0
[5/14/2023, 1:24:47 PM] [Cmd4] Setting Master Suite Zone On 1
[5/14/2023, 1:24:47 PM] [Cmd4] setValue: accTypeEnumIndex:( 106 )-"On" function for: Master Suite Zone 1  cmd: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug timeout: 60000
[5/14/2023, 1:24:47 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:47 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Lower Living Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:47 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:47 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Ethan’s Room Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:48 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:48 PM] [Cmd4] Scheduling Poll of index: 196 characteristic: TargetTemperature for: Aircon timeout: 60000 interval: 60000
[5/14/2023, 1:24:48 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:48 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Cinema Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:48 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:48 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Master Suite Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:24:57 PM] [Cmd4] setValue: On function for Master Suite Zone streamed to stderr: cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory

[5/14/2023, 1:24:57 PM] [Cmd4] setValue On function failed for Master Suite Zone cmd: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug Failed.  Error: Command failed: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory

[5/14/2023, 1:24:58 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:58 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Emma's Room Zone timeout: 60000 interval: 60000
[5/14/2023, 1:24:58 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:58 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Master Suite Zone timeout: 60000 interval: 60000
[5/14/2023, 1:24:59 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:24:59 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Aircon Timer timeout: 60000 interval: 60000
[5/14/2023, 1:25:00 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:00 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Aircon Fan timeout: 60000 interval: 60000
[5/14/2023, 1:25:00 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:00 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Lower Living Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:25:01 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:01 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Upper Living Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:25:01 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:01 PM] [Cmd4] Scheduling Poll of index: 46 characteristic: CurrentTemperature for: Guest Room Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:25:01 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:01 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Ethan’s Room Zone timeout: 60000 interval: 60000
[5/14/2023, 1:25:02 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:02 PM] [Cmd4] Scheduling Poll of index: 13 characteristic: Brightness for: Aircon Timer timeout: 60000 interval: 60000
[5/14/2023, 1:25:03 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:03 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Upper Living Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:25:04 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:04 PM] [Cmd4] Scheduling Poll of index: 166 characteristic: StatusLowBattery for: Guest Room Temperature timeout: 60000 interval: 60000
[5/14/2023, 1:25:04 PM] [Cmd4] processsQueue returned false
[5/14/2023, 1:25:04 PM] [Cmd4] Scheduling Poll of index: 106 characteristic: On for: Bedroom 3 Zone timeout: 60000 interval: 60000
[5/14/2023, 1:25:07 PM] [Cmd4] Processing high priority queue "Set" entry: 106 length: 0
[5/14/2023, 1:25:07 PM] [Cmd4] Setting Master Suite Zone On 1
[5/14/2023, 1:25:07 PM] [Cmd4] setValue: accTypeEnumIndex:( 106 )-"On" function for: Master Suite Zone 1  cmd: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug timeout: 60000
[5/14/2023, 1:25:17 PM] [Cmd4] setValue: On function for Master Suite Zone streamed to stderr: cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory

[5/14/2023, 1:25:17 PM] [Cmd4] setValue On function failed for Master Suite Zone cmd: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug Failed.  Error: Command failed: '/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh' Set 'Master Suite Zone' 'On' '1' z01 192.168.0.228-debug
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory
cat: /tmp/AA-228/myAirData.txt: No such file or directory

Cmd4 Config:

        {
            "name": "cmd4AdvantageAir",
            "devices": [
                {
                    "name": "Aircon",
                    "ipAddress": "192.168.0.228",
                    "debug": true
                }
            ],
            "platform": "cmd4AdvantageAir"
        },
        {
            "platform": "Cmd4",
            "name": "Cmd4",
            "debug": true,
            "outputConstants": false,
            "statusMsg": true,
            "timeout": 60000,
            "stateChangeResponseTime": 0,
            "constants": [
                {
                    "key": "${AAIP}",
                    "value": "192.168.0.228-debug"
                }
            ],
            "queueTypes": [
                {
                    "queue": "AAA",
                    "queueType": "WoRm2"
                }
            ],
            "accessories": [
                {
                    "type": "Thermostat",
                    "displayName": "Aircon",
                    "currentHeatingCoolingState": "OFF",
                    "targetHeatingCoolingState": "OFF",
                    "currentTemperature": 24,
                    "targetTemperature": 24,
                    "temperatureDisplayUnits": "CELSIUS",
                    "name": "Aircon",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentHeatingCoolingState"
                        },
                        {
                            "characteristic": "targetHeatingCoolingState"
                        },
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "targetTemperature"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "${AAIP}",
                    "linkedTypes": [
                        {
                            "type": "Fan",
                            "displayName": "Aircon FanSpeed",
                            "on": "TRUE",
                            "rotationSpeed": 100,
                            "name": "Aircon FanSpeed",
                            "manufacturer": "Advantage Air Australia",
                            "model": "MyAir5",
                            "serialNumber": "PIC8GS10",
                            "queue": "AAA",
                            "polling": [
                                {
                                    "characteristic": "on"
                                },
                                {
                                    "characteristic": "rotationSpeed"
                                }
                            ],
                            "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                            "state_cmd_suffix": "${AAIP} fanSpeed"
                        }
                    ]
                },
                {
                    "type": "Fan",
                    "displayName": "Aircon Fan",
                    "on": "FALSE",
                    "rotationSpeed": 100,
                    "name": "Aircon Fan",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "on"
                        },
                        {
                            "characteristic": "rotationSpeed"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "${AAIP}"
                },
                {
                    "type": "Lightbulb",
                    "displayName": "Aircon Timer",
                    "on": "FALSE",
                    "brightness": 0,
                    "name": "Aircon Timer",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "on"
                        },
                        {
                            "characteristic": "brightness"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "timer ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Master Suite Zone",
                    "on": "FALSE",
                    "name": "Master Suite Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z01 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Ethan’s Room Zone",
                    "on": "FALSE",
                    "name": "Ethan’s Room Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z02 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Bedroom 3 Zone",
                    "on": "FALSE",
                    "name": "Bedroom 3 Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z03 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Emma's Room Zone",
                    "on": "FALSE",
                    "name": "Emma's Room Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z04 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Guest Room Zone",
                    "on": "FALSE",
                    "name": "Guest Room Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z05 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Upper Living Zone",
                    "on": "FALSE",
                    "name": "Upper Living Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z06 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Study Zone",
                    "on": "FALSE",
                    "name": "Study Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z07 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Cinema Zone",
                    "on": "FALSE",
                    "name": "Cinema Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z08 ${AAIP}"
                },
                {
                    "type": "Switch",
                    "displayName": "Lower Living Zone",
                    "on": "FALSE",
                    "name": "Lower Living Zone",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": true,
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z09 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor1",
                    "displayName": "Master Suite Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Master Suite Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z01 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor2",
                    "displayName": "Ethan’s Room Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Ethan’s Room Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z02 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor3",
                    "displayName": "Bedroom 3 Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Bedroom 3 Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z03 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor4",
                    "displayName": "Emma's Room Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Emma's Room Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z04 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor5",
                    "displayName": "Guest Room Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Guest Room Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z05 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor6",
                    "displayName": "Upper Living Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Upper Living Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z06 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor7",
                    "displayName": "Study Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Study Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z07 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor8",
                    "displayName": "Cinema Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Cinema Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z08 ${AAIP}"
                },
                {
                    "type": "TemperatureSensor",
                    "subType": "TempSensor9",
                    "displayName": "Lower Living Temperature",
                    "currentTemperature": 25,
                    "statusLowBattery": "BATTERY_LEVEL_LOW",
                    "name": "Lower Living Temperature",
                    "manufacturer": "Advantage Air Australia",
                    "model": "MyAir5",
                    "serialNumber": "PIC8GS10",
                    "queue": "AAA",
                    "polling": [
                        {
                            "characteristic": "currentTemperature"
                        },
                        {
                            "characteristic": "statusLowBattery"
                        }
                    ],
                    "state_cmd": "'/volume1/homebridge/node_modules/.bin/../homebridge-cmd4-advantageair/AdvAir.sh'",
                    "state_cmd_suffix": "z09 ${AAIP}"
                }
            ]
        }

Screenshots: image

Advantage Air System:

Homebridge Environment:

uswong commented 1 year ago

I suspect in your synology setup, your temporary directory is not accessible by the plug-in. To verify my suspicions, can u check the followings at an terminal:

ls -al /tmp echo $TMPDIR

cheers, Ung Sing

kyrien22 commented 1 year ago

Thanks for the response.

This is what I got back

image

with echo $TMPDIR I get nothing

image

uswong commented 1 year ago

Nice, it looks like you have access to /tmp.

Now check whether you have this file called myAirData.txt in /tmp/AA-228. If so, check it's content:

cat /tmp/AA-228/myAirData.txt

This is an required file which stored the current status of your MyPlace system.

kyrien22 commented 1 year ago

Thanks, not sure if this is the right command

ls -al /tmp/AA*

If so I can see it but with ".lock" image

This is what I get when I check it image

If I check the file "myAirData.txt.lock" I get this image

uswong commented 1 year ago

ok, the plugin has access to /tmp and able to write to /tmp/AA-228 but somehow the plugin has failed to create the myAirData.txt file.

Try this

sudo rm /tmp/AA-228/myAirData.txt.lock

This myAirData.txt.lock is a file created by the plugin while trying to create the myAirData.txt file. Deleting it will invoke the plugin to remove any error while accessing the myPlace system and try again.

Can you also post the last 20 records or so of the queryCachedAirCon_calls.log? I would be able to diagnose what was wrong. In any case, try deleting the myAirData.txt.lock file first to see if it works. If it still doesn't work, post the last 20 records of the log.

kyrien22 commented 1 year ago

Thanks,

I have deleted the file but still not working.

Here is the last 20 or so records; queryCachedAirCon_calls 1684046253 1684046271 18 true itr=0 Get Master Suite Zone On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046274 21 true itr=0 Get Ethan’s Room Zone On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046274 21 true itr=0 Get Aircon FanSpeed On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046277 24 true itr=0 Get Bedroom 3 Zone On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046277 24 true itr=0 Get Aircon FanSpeed RotationSpeed http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046292 39 true itr=0 Get Cinema Zone On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046292 39 true itr=0 Get Aircon CurrentTemperature http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046295 42 true itr=0 Get Lower Living Zone On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046298 45 true itr=0 Get Master Suite Temperature CurrentTemperature http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046301 48 true itr=0 Get Master Suite Temperature StatusLowBattery http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046301 48 true itr=0 Get Aircon TargetTemperature http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046307 54 true itr=0 Get Ethan’s Room Temperature CurrentTemperature http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046310 57 true itr=0 Get Ethan’s Room Temperature StatusLowBattery http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046313 60 true itr=0 Get Aircon Fan On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046316 63 true itr=0 Get Bedroom 3 Temperature CurrentTemperature http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046316 63 true itr=0 Get Aircon Fan RotationSpeed http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046319 66 true itr=0 Get Bedroom 3 Temperature StatusLowBattery http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046322 69 true itr=0 Get Aircon Timer On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046337 84 true itr=0 Get Guest Room Temperature StatusLowBattery http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046337 84 true itr=0 Get Bedroom 3 Zone On http://192.168.0.228:2025/getSystemData queryCachedAirCon_calls 1684046253 1684046337 84 true itr=0 Get Aircon FanSpeed RotationSpeed http://192.168.0.228:2025/getSystemData

Thanks

uswong commented 1 year ago

Oosps! I might have missed something.

The log file looks healthy. Since there is a number 18, 21, 24, 39, etc before "true" in the log file means that the myAirData.txt and myAirData.txt.date file should be present.

Check to see if myAirData.txt and myAirData.txt.date files are really present or not:

ls -al /tmp/AA-228/myAirData.txt*

then

cat /tmp/AA-228/myAirData.txt

Also, I saw in your previous post that there is a file starting with AAerror-7-*.txt. The -7- means that your myPlace system was inaccessible. Can you double check that the ip address of your myPlace system is 192.168.0.228 and is current online? I assume it should be, otherwise the config file won't be created.

kyrien22 commented 1 year ago

Ok thanks,

Yes they are present image

The file is not empty image

The system is definitely on. Here is a screenshot of the IP image

uswong commented 1 year ago

All looks very healthy now!

Do you see a lot of AAerror* files in /tmp/AA-228?

ls -al /temp/AA-228/AAerror-*

Also, try to Set something (e.g. turn on a zone) in Homekit, to see if it responses in myPlace system. There is up to 15 seconds delay to see the response in myPlace system.

while setting, watch the log on Homebridge to see there is any error (error will be posted in homebridge as red color).

kyrien22 commented 1 year ago

Yes there are a lot in there homebridge@DS1019:/volume1/homebridge $ ls -al /tmp/AA-228//AAerror-* -rw-r--r-- 1 homebridge homebridge 138 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Aircon-CurrentHeatingCoolingState.txt#29 -rw-r--r-- 1 homebridge homebridge 130 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Aircon-CurrentTemperature.txt#20 -rw-r--r-- 1 homebridge homebridge 137 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Aircon-TargetHeatingCoolingState.txt#25 -rw-r--r-- 1 homebridge homebridge 129 May 14 15:56 /tmp/AA-228//AAerror-1-Get-Aircon-TargetTemperature.txt#20 -rw-r--r-- 1 homebridge homebridge 118 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Aircon_Fan-On.txt#17 -rw-r--r-- 1 homebridge homebridge 129 May 14 15:55 /tmp/AA-228//AAerror-1-Get-Aircon_Fan-RotationSpeed.txt#7 -rw-r--r-- 1 homebridge homebridge 123 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Aircon_FanSpeed-On.txt#38 -rw-r--r-- 1 homebridge homebridge 134 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Aircon_FanSpeed-RotationSpeed.txt#35 -rw-r--r-- 1 homebridge homebridge 128 May 14 15:56 /tmp/AA-228//AAerror-1-Get-Aircon_Timer-Brightness.txt#14 -rw-r--r-- 1 homebridge homebridge 120 May 14 15:54 /tmp/AA-228//AAerror-1-Get-Aircon_Timer-On.txt#12 -rw-r--r-- 1 homebridge homebridge 145 May 14 15:55 /tmp/AA-228//AAerror-1-Get-Bedroom_3_Temperature-CurrentTemperature.txt#510 -rw-r--r-- 1 homebridge homebridge 143 May 14 15:56 /tmp/AA-228//AAerror-1-Get-Bedroom_3_Temperature-StatusLowBattery.txt#623 -rw-r--r-- 1 homebridge homebridge 122 May 14 15:56 /tmp/AA-228//AAerror-1-Get-Bedroom_3_Zone-On.txt#563 -rw-r--r-- 1 homebridge homebridge 142 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Cinema_Temperature-CurrentTemperature.txt#650 -rw-r--r-- 1 homebridge homebridge 140 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Cinema_Temperature-StatusLowBattery.txt#472 -rw-r--r-- 1 homebridge homebridge 119 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Cinema_Zone-On.txt#834 -rw-r--r-- 1 homebridge homebridge 150 May 14 15:56 '/tmp/AA-228//AAerror-1-Get-Ethan'$'\342\200\231''s_Room_Temperature-CurrentTemperature.txt#744' -rw-r--r-- 1 homebridge homebridge 148 May 14 15:56 '/tmp/AA-228//AAerror-1-Get-Ethan'$'\342\200\231''s_Room_Temperature-StatusLowBattery.txt#580' -rw-r--r-- 1 homebridge homebridge 127 May 14 15:56 '/tmp/AA-228//AAerror-1-Get-Ethan'$'\342\200\231''s_Room_Zone-On.txt#588' -rw-r--r-- 1 homebridge homebridge 111 Apr 23 16:50 /tmp/AA-228//AAerror-1-Get-Fan-On.txt#3 -rw-r--r-- 1 homebridge homebridge 116 Apr 23 16:50 /tmp/AA-228//AAerror-1-Get-FanSpeed-On.txt#16 -rw-r--r-- 1 homebridge homebridge 127 Apr 23 16:51 /tmp/AA-228//AAerror-1-Get-FanSpeed-RotationSpeed.txt#24 -rw-r--r-- 1 homebridge homebridge 146 May 14 15:56 /tmp/AA-228//AAerror-1-Get-Guest_Room_Temperature-CurrentTemperature.txt#657 -rw-r--r-- 1 homebridge homebridge 144 May 14 15:56 /tmp/AA-228//AAerror-1-Get-Guest_Room_Temperature-StatusLowBattery.txt#625 -rw-r--r-- 1 homebridge homebridge 123 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Guest_Room_Zone-On.txt#544 -rw-r--r-- 1 homebridge homebridge 143 Apr 23 16:49 /tmp/AA-228//AAerror-1-Get-Home_Aircon-CurrentHeatingCoolingState.txt#6 -rw-r--r-- 1 homebridge homebridge 135 Apr 23 16:49 /tmp/AA-228//AAerror-1-Get-Home_Aircon-CurrentTemperature.txt#9 -rw-r--r-- 1 homebridge homebridge 142 Apr 23 16:49 /tmp/AA-228//AAerror-1-Get-Home_Aircon-TargetHeatingCoolingState.txt#9 -rw-r--r-- 1 homebridge homebridge 134 Apr 23 16:50 /tmp/AA-228//AAerror-1-Get-Home_Aircon-TargetTemperature.txt#10 -rw-r--r-- 1 homebridge homebridge 148 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Lower_Living_Temperature-CurrentTemperature.txt#462 -rw-r--r-- 1 homebridge homebridge 146 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Lower_Living_Temperature-StatusLowBattery.txt#570 -rw-r--r-- 1 homebridge homebridge 125 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Lower_Living_Zone-On.txt#480 -rw-r--r-- 1 homebridge homebridge 148 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Master_Suite_Temperature-CurrentTemperature.txt#500 -rw-r--r-- 1 homebridge homebridge 146 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Master_Suite_Temperature-StatusLowBattery.txt#567 -rw-r--r-- 1 homebridge homebridge 125 May 14 15:54 /tmp/AA-228//AAerror-1-Get-Master_Suite_Zone-On.txt#375 -rw-r--r-- 1 homebridge homebridge 141 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Study_Temperature-CurrentTemperature.txt#537 -rw-r--r-- 1 homebridge homebridge 139 May 14 15:59 /tmp/AA-228//AAerror-1-Get-Study_Temperature-StatusLowBattery.txt#558 -rw-r--r-- 1 homebridge homebridge 118 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Study_Zone-On.txt#517 -rw-r--r-- 1 homebridge homebridge 148 Apr 23 06:25 /tmp/AA-228//AAerror-1-Get-Upper_Living_Temperature-CurrentTemperature.txt#594 -rw-r--r-- 1 homebridge homebridge 146 May 13 13:32 /tmp/AA-228//AAerror-1-Get-Upper_Living_Temperature-StatusLowBattery.txt#454 -rw-r--r-- 1 homebridge homebridge 125 May 14 15:58 /tmp/AA-228//AAerror-1-Get-Upper_Living_Zone-On.txt#455 -rw-r--r-- 1 homebridge homebridge 141 May 13 12:49 /tmp/AA-228//AAerror-1-Get-undefined-CurrentHeatingCoolingState.txt#228 -rw-r--r-- 1 homebridge homebridge 133 May 13 12:49 /tmp/AA-228//AAerror-1-Get-undefined-CurrentTemperature.txt#518 -rw-r--r-- 1 homebridge homebridge 140 May 13 13:28 /tmp/AA-228//AAerror-1-Get-undefined-TargetHeatingCoolingState.txt#234 -rw-r--r-- 1 homebridge homebridge 132 May 13 12:46 /tmp/AA-228//AAerror-1-Get-undefined-TargetTemperature.txt#322 -rw-r--r-- 1 homebridge homebridge 136 Apr 23 06:18 /tmp/AA-228//AAerror-1-Get-undefined_Cool_Timer-Brightness.txt#428 -rw-r--r-- 1 homebridge homebridge 128 Apr 23 06:18 /tmp/AA-228//AAerror-1-Get-undefined_Cool_Timer-On.txt#531 -rw-r--r-- 1 homebridge homebridge 121 May 13 12:48 /tmp/AA-228//AAerror-1-Get-undefined_Fan-On.txt#409 -rw-r--r-- 1 homebridge homebridge 132 May 13 13:31 /tmp/AA-228//AAerror-1-Get-undefined_Fan-RotationSpeed.txt#5 -rw-r--r-- 1 homebridge homebridge 126 May 13 12:49 /tmp/AA-228//AAerror-1-Get-undefined_FanSpeed-On.txt#678 -rw-r--r-- 1 homebridge homebridge 137 May 13 13:31 /tmp/AA-228//AAerror-1-Get-undefined_FanSpeed-RotationSpeed.txt#930 -rw-r--r-- 1 homebridge homebridge 135 Apr 23 06:18 /tmp/AA-228//AAerror-1-Get-undefined_Fan_Timer-Brightness.txt#577 -rw-r--r-- 1 homebridge homebridge 127 Apr 23 06:18 /tmp/AA-228//AAerror-1-Get-undefined_Fan_Timer-On.txt#532 -rw-r--r-- 1 homebridge homebridge 136 Apr 22 18:33 /tmp/AA-228//AAerror-1-Get-undefined_Heat_Timer-Brightness.txt#257 -rw-r--r-- 1 homebridge homebridge 128 Apr 23 06:18 /tmp/AA-228//AAerror-1-Get-undefined_Heat_Timer-On.txt#544 -rw-r--r-- 1 homebridge homebridge 131 May 13 12:46 /tmp/AA-228//AAerror-1-Get-undefined_Timer-Brightness.txt#527 -rw-r--r-- 1 homebridge homebridge 123 May 13 12:48 /tmp/AA-228//AAerror-1-Get-undefined_Timer-On.txt#537 -rw-r--r-- 1 homebridge homebridge 137 May 14 12:48 /tmp/AA-228//AAerror-1-Set-Aircon-TargetHeatingCoolingState.txt#16 -rw-r--r-- 1 homebridge homebridge 129 May 13 13:52 /tmp/AA-228//AAerror-1-Set-Aircon-TargetTemperature.txt#3 -rw-r--r-- 1 homebridge homebridge 118 May 14 10:01 /tmp/AA-228//AAerror-1-Set-Aircon_Fan-On.txt#1 -rw-r--r-- 1 homebridge homebridge 123 May 14 15:51 /tmp/AA-228//AAerror-1-Set-Aircon_FanSpeed-On.txt#49 -rw-r--r-- 1 homebridge homebridge 120 May 14 10:01 /tmp/AA-228//AAerror-1-Set-Aircon_Timer-On.txt#1 -rw-r--r-- 1 homebridge homebridge 122 Apr 23 17:08 /tmp/AA-228//AAerror-1-Set-Bedroom_3_Zone-On.txt#2 -rw-r--r-- 1 homebridge homebridge 119 Apr 23 13:45 /tmp/AA-228//AAerror-1-Set-Cinema_Zone-On.txt#6 -rw-r--r-- 1 homebridge homebridge 127 May 14 12:42 '/tmp/AA-228//AAerror-1-Set-Ethan'$'\342\200\231''s_Room_Zone-On.txt#9' -rw-r--r-- 1 homebridge homebridge 123 May 14 12:42 /tmp/AA-228//AAerror-1-Set-Guest_Room_Zone-On.txt#29 -rw-r--r-- 1 homebridge homebridge 142 Apr 23 13:41 /tmp/AA-228//AAerror-1-Set-Home_Aircon-TargetHeatingCoolingState.txt#199 -rw-r--r-- 1 homebridge homebridge 134 Apr 23 13:42 /tmp/AA-228//AAerror-1-Set-Home_Aircon-TargetTemperature.txt#199 -rw-r--r-- 1 homebridge homebridge 125 May 14 15:51 /tmp/AA-228//AAerror-1-Set-Master_Suite_Zone-On.txt#170 -rw-r--r-- 1 homebridge homebridge 118 May 14 10:01 /tmp/AA-228//AAerror-1-Set-Study_Zone-On.txt#5 -rw-r--r-- 1 homebridge homebridge 125 May 14 12:42 /tmp/AA-228//AAerror-1-Set-Upper_Living_Zone-On.txt#8 -rw-r--r-- 1 homebridge homebridge 126 Apr 23 16:57 /tmp/AA-228//AAerror-1-Set-undefined_FanSpeed-On.txt#1 -rw-r--r-- 1 homebridge homebridge 140 May 14 14:05 /tmp/AA-228//AAerror-141-Get-Aircon-CurrentHeatingCoolingState.txt#2 -rw-r--r-- 1 homebridge homebridge 132 May 14 14:05 /tmp/AA-228//AAerror-141-Get-Aircon-CurrentTemperature.txt#2 -rw-r--r-- 1 homebridge homebridge 139 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Aircon-TargetHeatingCoolingState.txt#1 -rw-r--r-- 1 homebridge homebridge 125 May 14 14:05 /tmp/AA-228//AAerror-141-Get-Aircon_FanSpeed-On.txt#2 -rw-r--r-- 1 homebridge homebridge 136 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Aircon_FanSpeed-RotationSpeed.txt#1 -rw-r--r-- 1 homebridge homebridge 147 Apr 23 16:59 /tmp/AA-228//AAerror-141-Get-Bedroom_3_Temperature-CurrentTemperature.txt#1 -rw-r--r-- 1 homebridge homebridge 145 Apr 23 16:59 /tmp/AA-228//AAerror-141-Get-Bedroom_3_Temperature-StatusLowBattery.txt#2 -rw-r--r-- 1 homebridge homebridge 124 Apr 23 06:19 /tmp/AA-228//AAerror-141-Get-Bedroom_3_Zone-On.txt#2 -rw-r--r-- 1 homebridge homebridge 144 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Cinema_Temperature-CurrentTemperature.txt#1 -rw-r--r-- 1 homebridge homebridge 142 May 14 14:05 /tmp/AA-228//AAerror-141-Get-Cinema_Temperature-StatusLowBattery.txt#2 -rw-r--r-- 1 homebridge homebridge 121 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Cinema_Zone-On.txt#5 -rw-r--r-- 1 homebridge homebridge 152 Apr 22 15:09 '/tmp/AA-228//AAerror-141-Get-Ethan'$'\342\200\231''s_Room_Temperature-CurrentTemperature.txt#1' -rw-r--r-- 1 homebridge homebridge 129 Apr 23 06:19 '/tmp/AA-228//AAerror-141-Get-Ethan'$'\342\200\231''s_Room_Zone-On.txt#3' -rw-r--r-- 1 homebridge homebridge 113 Apr 23 13:58 /tmp/AA-228//AAerror-141-Get-Fan-On.txt#1 -rw-r--r-- 1 homebridge homebridge 148 Apr 23 13:58 /tmp/AA-228//AAerror-141-Get-Guest_Room_Temperature-CurrentTemperature.txt#3 -rw-r--r-- 1 homebridge homebridge 146 Apr 23 13:58 /tmp/AA-228//AAerror-141-Get-Guest_Room_Temperature-StatusLowBattery.txt#3 -rw-r--r-- 1 homebridge homebridge 125 May 14 14:05 /tmp/AA-228//AAerror-141-Get-Guest_Room_Zone-On.txt#2 -rw-r--r-- 1 homebridge homebridge 150 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Lower_Living_Temperature-CurrentTemperature.txt#1 -rw-r--r-- 1 homebridge homebridge 148 Apr 22 10:30 /tmp/AA-228//AAerror-141-Get-Lower_Living_Temperature-StatusLowBattery.txt#1 -rw-r--r-- 1 homebridge homebridge 127 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Lower_Living_Zone-On.txt#2 -rw-r--r-- 1 homebridge homebridge 150 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Master_Suite_Temperature-CurrentTemperature.txt#1 -rw-r--r-- 1 homebridge homebridge 148 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Master_Suite_Temperature-StatusLowBattery.txt#2 -rw-r--r-- 1 homebridge homebridge 127 Apr 22 10:30 /tmp/AA-228//AAerror-141-Get-Master_Suite_Zone-On.txt#1 -rw-r--r-- 1 homebridge homebridge 143 May 14 14:05 /tmp/AA-228//AAerror-141-Get-Study_Temperature-CurrentTemperature.txt#3 -rw-r--r-- 1 homebridge homebridge 141 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Study_Temperature-StatusLowBattery.txt#3 -rw-r--r-- 1 homebridge homebridge 120 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Study_Zone-On.txt#2 -rw-r--r-- 1 homebridge homebridge 148 Apr 22 10:30 /tmp/AA-228//AAerror-141-Get-Upper_Living_Temperature-StatusLowBattery.txt#1 -rw-r--r-- 1 homebridge homebridge 127 May 14 12:29 /tmp/AA-228//AAerror-141-Get-Upper_Living_Zone-On.txt#1 -rw-r--r-- 1 homebridge homebridge 143 Apr 22 15:12 /tmp/AA-228//AAerror-141-Get-undefined-CurrentHeatingCoolingState.txt#1 -rw-r--r-- 1 homebridge homebridge 142 Apr 22 10:30 /tmp/AA-228//AAerror-141-Get-undefined-TargetHeatingCoolingState.txt#1 -rw-r--r-- 1 homebridge homebridge 123 Apr 23 16:59 /tmp/AA-228//AAerror-141-Get-undefined_Fan-On.txt#2 -rw-r--r-- 1 homebridge homebridge 128 Apr 22 15:09 /tmp/AA-228//AAerror-141-Get-undefined_FanSpeed-On.txt#2 -rw-r--r-- 1 homebridge homebridge 139 Apr 22 15:11 /tmp/AA-228//AAerror-141-Get-undefined_FanSpeed-RotationSpeed.txt#5 -rw-r--r-- 1 homebridge homebridge 137 Apr 23 06:19 /tmp/AA-228//AAerror-141-Get-undefined_Fan_Timer-Brightness.txt#2 -rw-r--r-- 1 homebridge homebridge 129 Apr 22 10:30 /tmp/AA-228//AAerror-141-Get-undefined_Fan_Timer-On.txt#1 -rw-r--r-- 1 homebridge homebridge 133 Apr 22 10:30 /tmp/AA-228//AAerror-141-Get-undefined_Timer-Brightness.txt#1 -rw-r--r-- 1 homebridge homebridge 125 Apr 22 15:09 /tmp/AA-228//AAerror-141-Get-undefined_Timer-On.txt#2 -rw-r--r-- 1 homebridge homebridge 125 May 14 15:51 /tmp/AA-228//AAerror-141-Set-Aircon_FanSpeed-On.txt#2 -rw-r--r-- 1 homebridge homebridge 130 May 14 10:02 /tmp/AA-228//AAerror-141-Set-Aircon_Timer-Brightness.txt#1 -rw-r--r-- 1 homebridge homebridge 129 May 14 12:35 '/tmp/AA-228//AAerror-141-Set-Ethan'$'\342\200\231''s_Room_Zone-On.txt#1' -rw-r--r-- 1 homebridge homebridge 144 Apr 23 13:42 /tmp/AA-228//AAerror-141-Set-Home_Aircon-TargetHeatingCoolingState.txt#1 -rw-r--r-- 1 homebridge homebridge 127 May 14 13:57 /tmp/AA-228//AAerror-141-Set-Master_Suite_Zone-On.txt#2 -rw-r--r-- 1 homebridge homebridge 127 May 14 12:13 /tmp/AA-228//AAerror-141-Set-Upper_Living_Zone-On.txt#1 -rw-r--r-- 1 homebridge homebridge 85 Apr 23 11:29 /tmp/AA-228//AAerror-4-Set-Home_Aircon-TargetTemperature.txt#1 -rw-r--r-- 1 homebridge homebridge 145 Apr 22 19:17 /tmp/AA-228//AAerror-7-Get-Bedroom_3_Temperature-CurrentTemperature.txt#23 -rw-r--r-- 1 homebridge homebridge 143 Apr 23 06:23 /tmp/AA-228//AAerror-7-Get-Bedroom_3_Temperature-StatusLowBattery.txt#79 -rw-r--r-- 1 homebridge homebridge 122 Apr 23 06:18 /tmp/AA-228//AAerror-7-Get-Bedroom_3_Zone-On.txt#74 -rw-r--r-- 1 homebridge homebridge 142 Apr 22 18:10 /tmp/AA-228//AAerror-7-Get-Cinema_Temperature-CurrentTemperature.txt#50 -rw-r--r-- 1 homebridge homebridge 140 Apr 23 06:16 /tmp/AA-228//AAerror-7-Get-Cinema_Temperature-StatusLowBattery.txt#71 -rw-r--r-- 1 homebridge homebridge 119 Apr 22 18:27 /tmp/AA-228//AAerror-7-Get-Cinema_Zone-On.txt#52 -rw-r--r-- 1 homebridge homebridge 150 Apr 23 06:24 '/tmp/AA-228//AAerror-7-Get-Ethan'$'\342\200\231''s_Room_Temperature-CurrentTemperature.txt#68' -rw-r--r-- 1 homebridge homebridge 148 Apr 23 06:32 '/tmp/AA-228//AAerror-7-Get-Ethan'$'\342\200\231''s_Room_Temperature-StatusLowBattery.txt#75' -rw-r--r-- 1 homebridge homebridge 127 Apr 23 06:34 '/tmp/AA-228//AAerror-7-Get-Ethan'$'\342\200\231''s_Room_Zone-On.txt#48' -rw-r--r-- 1 homebridge homebridge 111 Apr 23 06:32 /tmp/AA-228//AAerror-7-Get-Fan-On.txt#1 -rw-r--r-- 1 homebridge homebridge 116 Apr 23 06:35 /tmp/AA-228//AAerror-7-Get-FanSpeed-On.txt#10 -rw-r--r-- 1 homebridge homebridge 127 Apr 23 06:28 /tmp/AA-228//AAerror-7-Get-FanSpeed-RotationSpeed.txt#2 -rw-r--r-- 1 homebridge homebridge 146 Apr 23 06:33 /tmp/AA-228//AAerror-7-Get-Guest_Room_Temperature-CurrentTemperature.txt#111 -rw-r--r-- 1 homebridge homebridge 144 Apr 23 06:17 /tmp/AA-228//AAerror-7-Get-Guest_Room_Temperature-StatusLowBattery.txt#32 -rw-r--r-- 1 homebridge homebridge 123 Apr 23 06:31 /tmp/AA-228//AAerror-7-Get-Guest_Room_Zone-On.txt#68 -rw-r--r-- 1 homebridge homebridge 142 Apr 23 06:22 /tmp/AA-228//AAerror-7-Get-Home_Aircon-TargetHeatingCoolingState.txt#1 -rw-r--r-- 1 homebridge homebridge 134 Apr 23 06:24 /tmp/AA-228//AAerror-7-Get-Home_Aircon-TargetTemperature.txt#2 -rw-r--r-- 1 homebridge homebridge 148 Apr 22 16:35 /tmp/AA-228//AAerror-7-Get-Lower_Living_Temperature-CurrentTemperature.txt#34 -rw-r--r-- 1 homebridge homebridge 146 Apr 22 18:24 /tmp/AA-228//AAerror-7-Get-Lower_Living_Temperature-StatusLowBattery.txt#16 -rw-r--r-- 1 homebridge homebridge 125 Apr 23 06:24 /tmp/AA-228//AAerror-7-Get-Lower_Living_Zone-On.txt#84 -rw-r--r-- 1 homebridge homebridge 148 Apr 23 06:36 /tmp/AA-228//AAerror-7-Get-Master_Suite_Temperature-CurrentTemperature.txt#10 -rw-r--r-- 1 homebridge homebridge 146 Apr 22 18:06 /tmp/AA-228//AAerror-7-Get-Master_Suite_Temperature-StatusLowBattery.txt#16 -rw-r--r-- 1 homebridge homebridge 125 Apr 23 06:22 /tmp/AA-228//AAerror-7-Get-Master_Suite_Zone-On.txt#27 -rw-r--r-- 1 homebridge homebridge 141 Apr 22 20:19 /tmp/AA-228//AAerror-7-Get-Study_Temperature-CurrentTemperature.txt#58 -rw-r--r-- 1 homebridge homebridge 139 Apr 23 06:26 /tmp/AA-228//AAerror-7-Get-Study_Temperature-StatusLowBattery.txt#192 -rw-r--r-- 1 homebridge homebridge 118 Apr 23 06:29 /tmp/AA-228//AAerror-7-Get-Study_Zone-On.txt#7 -rw-r--r-- 1 homebridge homebridge 148 Apr 23 06:23 /tmp/AA-228//AAerror-7-Get-Upper_Living_Temperature-CurrentTemperature.txt#81 -rw-r--r-- 1 homebridge homebridge 146 Apr 22 17:51 /tmp/AA-228//AAerror-7-Get-Upper_Living_Temperature-StatusLowBattery.txt#51 -rw-r--r-- 1 homebridge homebridge 125 Apr 22 18:25 /tmp/AA-228//AAerror-7-Get-Upper_Living_Zone-On.txt#91 -rw-r--r-- 1 homebridge homebridge 141 Apr 22 19:29 /tmp/AA-228//AAerror-7-Get-undefined-CurrentHeatingCoolingState.txt#80 -rw-r--r-- 1 homebridge homebridge 133 Apr 22 18:12 /tmp/AA-228//AAerror-7-Get-undefined-CurrentTemperature.txt#152 -rw-r--r-- 1 homebridge homebridge 140 Apr 23 06:14 /tmp/AA-228//AAerror-7-Get-undefined-TargetHeatingCoolingState.txt#18 -rw-r--r-- 1 homebridge homebridge 132 Apr 23 06:18 /tmp/AA-228//AAerror-7-Get-undefined-TargetTemperature.txt#248 -rw-r--r-- 1 homebridge homebridge 136 Apr 22 18:24 /tmp/AA-228//AAerror-7-Get-undefined_Cool_Timer-Brightness.txt#15 -rw-r--r-- 1 homebridge homebridge 128 Apr 22 18:25 /tmp/AA-228//AAerror-7-Get-undefined_Cool_Timer-On.txt#206 -rw-r--r-- 1 homebridge homebridge 121 Apr 22 13:14 /tmp/AA-228//AAerror-7-Get-undefined_Fan-On.txt#35 -rw-r--r-- 1 homebridge homebridge 126 Apr 23 06:19 /tmp/AA-228//AAerror-7-Get-undefined_FanSpeed-On.txt#162 -rw-r--r-- 1 homebridge homebridge 137 Apr 23 06:15 /tmp/AA-228//AAerror-7-Get-undefined_FanSpeed-RotationSpeed.txt#271 -rw-r--r-- 1 homebridge homebridge 135 Apr 23 06:14 /tmp/AA-228//AAerror-7-Get-undefined_Fan_Timer-Brightness.txt#85 -rw-r--r-- 1 homebridge homebridge 127 Apr 22 19:39 /tmp/AA-228//AAerror-7-Get-undefined_Fan_Timer-On.txt#43 -rw-r--r-- 1 homebridge homebridge 136 Apr 23 06:19 /tmp/AA-228//AAerror-7-Get-undefined_Heat_Timer-Brightness.txt#40 -rw-r--r-- 1 homebridge homebridge 128 Apr 22 18:18 /tmp/AA-228//AAerror-7-Get-undefined_Heat_Timer-On.txt#51 -rw-r--r-- 1 homebridge homebridge 131 Apr 22 15:21 /tmp/AA-228//AAerror-7-Get-undefined_Timer-Brightness.txt#17 -rw-r--r-- 1 homebridge homebridge 123 Apr 23 06:14 /tmp/AA-228//AAerror-7-Get-undefined_Timer-On.txt#47 -rw-r--r-- 1 homebridge homebridge 142 Apr 23 11:29 /tmp/AA-228//AAerror-7-Set-Home_Aircon-TargetHeatingCoolingState.txt#355 -rw-r--r-- 1 homebridge homebridge 134 Apr 23 11:28 /tmp/AA-228//AAerror-7-Set-Home_Aircon-TargetTemperature.txt#354 -rw-r--r-- 1 homebridge homebridge 128 Apr 23 06:11 /tmp/AA-228//AAerror-7-Set-undefined_Cool_Timer-On.txt#1599 -rw-r--r-- 1 homebridge homebridge 127 Apr 23 06:11 /tmp/AA-228//AAerror-7-Set-undefined_Fan_Timer-On.txt#1599 -rw-r--r-- 1 homebridge homebridge 128 Apr 23 06:10 /tmp/AA-228//AAerror-7-Set-undefined_Heat_Timer-On.txt#1599 -rw-r--r-- 1 homebridge homebridge 123 Apr 23 06:10 /tmp/AA-228//AAerror-7-Set-undefined_Timer-On.txt#1599

I tried turning on a zone in Homekit and it turns on in Homebridge but never in the myPlace system and vice-a-versa

Here is the error image

Please note this one seems to come up even if I select another zone

uswong commented 1 year ago

ok, what I can see from the error message is the confusion of the '.

Can you try to change the name of the zones Ethan's Room to Ethans Room and Emma's Room to Emmas Room in myPlace system? The run Create Config again, and restart homebridge.

And also, remove the /temp/AA-228:

sudo rm -r /tmp/AA-228

wait for a minute or so, a fresh /tmp/AA-228 and its content should be re-created.

You will then see the myAirData.txt, myAirData.txt.date and the log files in /tmp/AA-228. If you see AAerror- files in there, it is a bad news. Then post as many records of the log file here or send the entire log file to me by email (uswong@gmail.com). If no AAerror- files found, then it should be good to go.

uswong commented 1 year ago

Do try to turn on a zone from homekit before you post the log.

kyrien22 commented 1 year ago

Ok great. All works now. Thank you so much!

kyrien22 commented 1 year ago

Thanks again

mitch7391 commented 1 year ago

@uswong thank you for helping out with this one in my absence!