chrisjshull / homebridge-nest

Nest plugin for HomeBridge
707 stars 111 forks source link

Using Siri To Adjust Temperature Fails #525

Closed ValoV83 closed 2 years ago

ValoV83 commented 2 years ago

Describe the bug On occasion since upgrading to iOS 15.4 Using 'Hey Siri' to raise or lower temperature doesn't work. Siri replies with 'OK, To Which Value'.

To Reproduce Steps to reproduce the behavior:

  1. Upgraded all iOS/iPadOS/HomePods to 15.4 update.
  2. Use 'Hey Siri' yo adjust temperature Up or Down results in occasional failure to execute command. Siri replies with 'OK, To Which Value'. If you say the desired temperature (22oc) for instance it results in a loop of 'OK, To Which Value'.

Expected behavior Siri to execute the temperature adjustment

Include with your bug report this version info:

node --version: v16.13.2
homebridge --version: 1.4.0

Make sure you have the latest LTS from https://nodejs.org and the latest packages: npm upgrade -g homebridge homebridge-nest

Also include debug log output from startup through seeing the issue: DEBUG=* homebridge -D

[15/03/2022, 09:58:03] [Nest] Setting temperature to 22 °C / 71.60000000000001 °F [15/03/2022, 12:25:37] [Homebridge UI] Rebooting linux server with command: "sudo -n shutdown -r now" [15/03/2022, 12:25:37] [HB Supervisor] Stopping services... [15/03/2022, 12:25:37] Got SIGTERM, shutting down Homebridge... [15/03/2022, 12:25:42] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [15/03/2022, 12:26:03] [HB Supervisor] OS: Linux 5.4.72-v7+ arm [15/03/2022, 12:26:03] [HB Supervisor] Node.js v16.13.2 /usr/local/bin/node [15/03/2022, 12:26:03] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [15/03/2022, 12:26:03] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [15/03/2022, 12:26:18] [Homebridge UI] Homebridge Config UI X v4.42.0 is listening on :: port 8581 [15/03/2022, 12:26:30] [HB Supervisor] Starting Homebridge with extra flags: -I [15/03/2022, 12:26:30] [HB Supervisor] Started Homebridge v1.4.0 with PID: 826 [15/03/2022, 12:26:34] Loaded config.json with 0 accessories and 3 platforms. [15/03/2022, 12:26:34] Loaded 4 cached accessories from cachedAccessories. [15/03/2022, 12:26:34] --- [15/03/2022, 12:26:36] Loaded plugin: homebridge-config-ui-x@4.42.0 [15/03/2022, 12:26:36] Registering platform 'homebridge-config-ui-x.config' [15/03/2022, 12:26:36] --- [15/03/2022, 12:26:37] Loaded plugin: homebridge-nest@4.6.5 [15/03/2022, 12:26:37] Registering platform 'homebridge-nest.Nest' [15/03/2022, 12:26:37] --- [15/03/2022, 12:26:38] Loaded plugin: homebridge-vieramatic@4.0.29 [15/03/2022, 12:26:38] Registering platform 'homebridge-vieramatic.PanasonicVieraTV' [15/03/2022, 12:26:38] --- [15/03/2022, 12:26:38] Loading 3 platforms... [15/03/2022, 12:26:38] [Nest] Initializing Nest platform... [15/03/2022, 12:26:38] [Config] Initializing config platform... [15/03/2022, 12:26:38] [Config] Running in Service Mode [15/03/2022, 12:26:38] [PanasonicVieraTV] Initializing PanasonicVieraTV platform... [15/03/2022, 12:26:38] [Nest] Fetching Nest devices. [15/03/2022, 12:26:38] [PanasonicVieraTV] handling '192.168.0.15' from config.json Setup Payload: X-HM://0023OKMQLA1EL Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ ***-**-*** │     
└────────────┘     

[15/03/2022, 12:26:38] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 42AB) is running on port 51826. [15/03/2022, 12:26:39] [PanasonicVieraTV] found a 'Panasonic VIErA' TV (TX-42AS650B) at '192.168.0.15' .

[15/03/2022, 12:26:39] [PanasonicVieraTV] Using previously cached App listing. [15/03/2022, 12:26:39] [PanasonicVieraTV] successfully loaded TX-42AS650 [15/03/2022, 12:26:39] TX-42AS650 66C1 is running on port 44755. [15/03/2022, 12:26:39] Please add [TX-42AS650 66C1] manually in Home app. Setup Code: *-*- [15/03/2022, 12:26:46] [Nest] initing thermostat "Hall Thermostat": deviceId: 02AA01AC121403QA structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:26:46] [Nest] initing home_away_sensor "Home Occupied": deviceId: 56d39860-bf0b-11e3-9296-22000b4184ea structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:26:46] [Nest] initing protect "Hall": deviceId: 18B43000002A8205 structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:26:46] [Nest] initing protect "Kitchen": deviceId: 18B43000002A0017 structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:31:22] [Nest] Setting temperature to 22 °C / 71.60000000000001 °F [15/03/2022, 12:37:54] [Nest] Setting temperature to 14 °C / 57.2 °F [15/03/2022, 12:38:10] [Nest] Setting temperature to 22 °C / 71.60000000000001 °F [15/03/2022, 12:38:30] [Nest] Setting temperature to 16 °C / 60.800000000000004 °F [15/03/2022, 12:38:36] [Nest] Setting temperature to 15 °C / 59 °F [15/03/2022, 12:52:08] [Homebridge UI] Homebridge restart request received [15/03/2022, 12:52:09] [Homebridge UI] No restart command defined, killing process... [15/03/2022, 12:52:09] [HB Supervisor] Stopping services... [15/03/2022, 12:52:09] Got SIGTERM, shutting down Homebridge... [15/03/2022, 12:52:14] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [15/03/2022, 12:52:23] [HB Supervisor] OS: Linux 5.4.72-v7+ arm [15/03/2022, 12:52:23] [HB Supervisor] Node.js v16.13.2 /usr/local/bin/node [15/03/2022, 12:52:23] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [15/03/2022, 12:52:23] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [15/03/2022, 12:52:31] [Homebridge UI] Homebridge Config UI X v4.42.0 is listening on :: port 8581 [15/03/2022, 12:52:33] [HB Supervisor] Starting Homebridge with extra flags: -I -D [15/03/2022, 12:52:33] [HB Supervisor] Started Homebridge v1.4.0 with PID: 1477 [15/03/2022, 12:52:35] Loaded config.json with 0 accessories and 3 platforms. [15/03/2022, 12:52:35] Loaded 4 cached accessories from cachedAccessories. [15/03/2022, 12:52:35] --- [15/03/2022, 12:52:37] Loaded plugin: homebridge-config-ui-x@4.42.0 [15/03/2022, 12:52:37] Registering platform 'homebridge-config-ui-x.config' [15/03/2022, 12:52:37] --- [15/03/2022, 12:52:38] Loaded plugin: homebridge-nest@4.6.5 [15/03/2022, 12:52:38] Registering platform 'homebridge-nest.Nest' [15/03/2022, 12:52:38] --- [15/03/2022, 12:52:38] Loaded plugin: homebridge-vieramatic@4.0.29 [15/03/2022, 12:52:38] Registering platform 'homebridge-vieramatic.PanasonicVieraTV' [15/03/2022, 12:52:38] --- [15/03/2022, 12:52:39] Loading 3 platforms... [15/03/2022, 12:52:39] [Nest] Initializing Nest platform... [15/03/2022, 12:52:39] [Config] Initializing config platform... [15/03/2022, 12:52:39] [Config] Running in Service Mode [15/03/2022, 12:52:39] [PanasonicVieraTV] Initializing PanasonicVieraTV platform... [15/03/2022, 12:52:39] [PanasonicVieraTV] Finished initializing platform: PanasonicVieraTV [15/03/2022, 12:52:39] [Nest] Fetching Nest devices. [15/03/2022, 12:52:39] [Nest] Authenticating via Google. [15/03/2022, 12:52:39] [PanasonicVieraTV] Executed didFinishLaunching callback [15/03/2022, 12:52:39] [PanasonicVieraTV] handling '192.168.0.15' from config.json [15/03/2022, 12:52:39] Publishing bridge accessory (name: Homebridge 42AB, publishInfo: { username: 'C4:71:95:CF:42:AB', port: 51826, pincode: '*-*-', category: 2, bind: undefined, mdns: undefined, addIdentifyingMaterial: true, advertiser: undefined }). Setup Payload: X-HM://0023OKMQLA1EL Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ ***-**-*** │     
└────────────┘     

[15/03/2022, 12:52:39] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 42AB) is running on port 51826. [15/03/2022, 12:52:39] [PanasonicVieraTV] found a 'Panasonic VIErA' TV (TX-42AS650B) at '192.168.0.15' .

[15/03/2022, 12:52:39] [PanasonicVieraTV] Unable to fetch Apps list from the TV: The TV is in standby!. [15/03/2022, 12:52:39] [PanasonicVieraTV] { "ipAddress": "192.168.0.15", "hdmiInputs": [ { "id": "1", "name": "Apple TV" } ], "customVolumeSlider": false } [15/03/2022, 12:52:39] [PanasonicVieraTV] Restoring TX-42AS650 [15/03/2022, 12:52:39] [PanasonicVieraTV] Using previously cached App listing. [15/03/2022, 12:52:39] [PanasonicVieraTV] successfully loaded TX-42AS650 [15/03/2022, 12:52:39] Publishing external accessory (name: TX-42AS650, publishInfo: { username: '94:B7:6C:9E:3D:D5', pincode: '*-*-', category: 31, port: undefined, bind: undefined, mdns: undefined, addIdentifyingMaterial: true, advertiser: undefined }). [15/03/2022, 12:52:39] TX-42AS650 66C1 is running on port 45593. [15/03/2022, 12:52:39] Please add [TX-42AS650 66C1] manually in Home app. Setup Code: *-*- [15/03/2022, 12:52:41] [PanasonicVieraTV] (getVolume) no volume from TV... [15/03/2022, 12:52:41] [PanasonicVieraTV] (getMute) is true [15/03/2022, 12:52:43] [Nest] Authentication successful. [15/03/2022, 12:52:47] [Nest] initing thermostat "Hall Thermostat": deviceId: 02AA01AC121403QA structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:52:47] [Nest] Current temperature for Hall Thermostat is: 21 °C / 69.8 °F [15/03/2022, 12:52:47] [Nest] Current humidity for Hall Thermostat is: 39% [15/03/2022, 12:52:47] [Nest] Target temperature for Hall Thermostat is: 15 °C / 59 °F [15/03/2022, 12:52:47] [Nest] Target heating/cooling state for Hall Thermostat is: Heat [15/03/2022, 12:52:47] [Nest] Cooling threshold temperature for Hall Thermostat is: 24 °C / 75.2 °F [15/03/2022, 12:52:47] [Nest] Heating threshold temperature for Hall Thermostat is: 20 °C / 68 °F [15/03/2022, 12:52:47] [Nest] Online status for Hall Thermostat is: true [15/03/2022, 12:52:47] [Nest] Sunlight Correction Enabled for Hall Thermostat is: true [15/03/2022, 12:52:47] [Nest] initing home_away_sensor "Home Occupied": deviceId: 56d39860-bf0b-11e3-9296-22000b4184ea structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:52:47] [Nest] Home Occupied for Home Occupied is: true [15/03/2022, 12:52:47] [Nest] initing protect "Hall": deviceId: 18B43000002A8205 structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:52:47] [Nest] Online status (Smoke) for Hall is: online [15/03/2022, 12:52:47] [Nest] Online status (CO) for Hall is: online [15/03/2022, 12:52:47] [Nest] Occupancy Detected for Hall is: 1 [15/03/2022, 12:52:47] [Nest] initing protect "Kitchen": deviceId: 18B43000002A0017 structureId: 56d39860-bf0b-11e3-9296-22000b4184ea [15/03/2022, 12:52:47] [Nest] Online status (Smoke) for Kitchen is: online [15/03/2022, 12:52:47] [Nest] Online status (CO) for Kitchen is: online [15/03/2022, 12:52:47] [Nest] Occupancy Detected for Kitchen is: 1 [15/03/2022, 12:53:24] [Nest] Occupancy Detected for Kitchen is: 0 [15/03/2022, 12:53:30] [Nest] Occupancy Detected for Hall is: 0

ValoV83 commented 2 years ago

I've noticed that when the 'OK, To Which Value' error occurs nothing is recorded in the logs.

Manually setting the temperature within the Home app works fine.

ValoV83 commented 2 years ago

This problem appears to be fixed for me with the release of iOS/iPadOS and HomePod Software 15.4.1 update.

adriancable commented 2 years ago

@ValoV83 - that's great to hear. It also appears 15.4.1 fixes a number of other Siri+HomeKit issues which is good news.