I randomly get the error message "Porsche Connect connection failed". When this happens, the plugin stops working until it gets restarted manually. I get this failure basically every single day so I have a daily cron job set to run in the middle of the night to try and kickstart this plugin.
Nothing special but I do also have the electric sidecar app running on my phone which probably hits the same API. There might be a rate limiting issue due to MyPorsche, Electric Sidecar, and this plugin all trying to use the same API (guessing at what the problem might be).
Would love to have a graceful recovery where this app tries to connect again after an appropriate timeout period (maybe 5-10 minutes).
[20/11/2023, 04:00:36] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge B4CB) is running on port 51889.
[20/11/2023, 04:00:38] [homebridge-porsche-taycan] Launched child bridge with PID 18661
[20/11/2023, 04:00:38] [Hubitat-v2] Launched child bridge with PID 18660
[20/11/2023, 04:00:39] Registering platform 'homebridge-hubitat-tonesto7.Hubitat-v2'
[20/11/2023, 04:00:39] [Hubitat-v2] Loaded homebridge-hubitat-tonesto7 v2.9.4 child bridge successfully
[20/11/2023, 04:00:39] Loaded 3 cached accessories from cachedAccessories.0E3AF68A4B39.
[20/11/2023, 04:00:39] Registering platform 'homebridge-porsche-taycan.PorscheTaycan'
[20/11/2023, 04:00:39] [homebridge-porsche-taycan] Loaded homebridge-porsche-taycan v0.14.0 child bridge successfully
[20/11/2023, 04:00:39] Loaded 3 cached accessories from cachedAccessories.0EE180F26898.
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
[20/11/2023, 04:00:39] [homebridge-porsche-taycan] Authentication
[20/11/2023, 04:00:39] [homebridge-porsche-taycan] Retrieving available vehicles
[20/11/2023, 04:00:40] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-porsche-taycan) is running on port 57646.
[20/11/2023, 04:00:40] [Hubitat-v2] Homebridge Version: 2.7
[20/11/2023, 04:00:40] [Hubitat-v2] Plugin Version: 2.9.4
[20/11/2023, 04:00:40] [Hubitat-v2] Checking Package Version for Updates...
[20/11/2023, 04:00:40] [Hubitat-v2] Adaptive Lighting Supported... Assigning Adaptive Lighting Controller to [Office Lights]!!!
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
[20/11/2023, 04:00:41] [Hubitat-v2] Fetching Hubitat-v2 Devices. NOTICE: This may take a moment if you have a large number of devices being loaded!
[20/11/2023, 04:00:41] [Hubitat-v2] Refreshing All Device Data | Source: (First Launch)
[20/11/2023, 04:00:41] Homebridge v1.7.0 (HAP v0.11.1) (Hubitat-v2) is running on port 59026.
[20/11/2023, 04:00:41] [Hubitat-v2] Temperature Unit is Now: (F)
[20/11/2023, 04:00:41] [Hubitat-v2] Updating Global Values | HubIP: 192.168.68.155 | UsingCloud: false
[20/11/2023, 04:00:41] [Hubitat-v2] Devices to Remove: (0)
[20/11/2023, 04:00:41] [Hubitat-v2] Devices to Update: (3)
[20/11/2023, 04:00:41] [Hubitat-v2] Devices to Create: (0)
[20/11/2023, 04:00:41] [Hubitat-v2] Total Initialization Time: (1 seconds)
[20/11/2023, 04:00:41] [Hubitat-v2] Unknown Capabilities: []
[20/11/2023, 04:00:41] [Hubitat-v2] Hubitat DeviceCache Size: (3)
[20/11/2023, 04:00:41] [Hubitat-v2] WebServer Initiated...
[20/11/2023, 04:00:41] [Hubitat-v2] Sending StartDirect Request to Hubitat | UsingCloud: (false)
[20/11/2023, 04:00:41] [Hubitat-v2] Direct Connect Active | Listening at 192.168.68.141:8000
[20/11/2023, 04:00:42] [homebridge-porsche-taycan] Porsche Connect connection failed
[20/11/2023, 04:00:42] [Hubitat-v2] Hubitat-v2 Hub Communication Established
[20/11/2023, 04:00:44] [Hubitat-v2] INFO: Your plugin version is up-to-date
[20/11/2023, 04:00:44] [Hubitat-v2] Sending Plugin Status to Hubitat | UpdateAvailable: false | newVersion: 2.9.4
[20/11/2023, 05:00:41] [Hubitat-v2] Refreshing All Device Data
[20/11/2023, 05:00:41] [Hubitat-v2] Temperature Unit is Now: (F)
[20/11/2023, 05:00:41] [Hubitat-v2] Updating Global Values | HubIP: 192.168.68.155 | UsingCloud: false
[20/11/2023, 05:00:41] [Hubitat-v2] Devices to Remove: (0)
[20/11/2023, 05:00:41] [Hubitat-v2] Devices to Update: (3)
[20/11/2023, 05:00:41] [Hubitat-v2] Devices to Create: (0)
[20/11/2023, 05:00:41] [Hubitat-v2] Total Initialization Time: (0 seconds)
[20/11/2023, 05:00:41] [Hubitat-v2] Unknown Capabilities: []
[20/11/2023, 05:00:41] [Hubitat-v2] Hubitat DeviceCache Size: (3)
[20/11/2023, 05:00:41] [Hubitat-v2] Checking Package Version for Updates...
[20/11/2023, 05:00:44] [Hubitat-v2] INFO: Your plugin version is up-to-date
[20/11/2023, 05:00:44] [Hubitat-v2] Sending Plugin Status to Hubitat | UpdateAvailable: false | newVersion: 2.9.4
[20/11/2023, 06:00:41] [Hubitat-v2] Refreshing All Device Data
[20/11/2023, 06:00:41] [Hubitat-v2] Temperature Unit is Now: (F)
[20/11/2023, 06:00:41] [Hubitat-v2] Updating Global Values | HubIP: 192.168.68.155 | UsingCloud: false
[20/11/2023, 06:00:41] [Hubitat-v2] Devices to Remove: (0)
[20/11/2023, 06:00:41] [Hubitat-v2] Devices to Update: (3)
[20/11/2023, 06:00:41] [Hubitat-v2] Devices to Create: (0)
[20/11/2023, 06:00:41] [Hubitat-v2] Total Initialization Time: (0 seconds)
[20/11/2023, 06:00:41] [Hubitat-v2] Unknown Capabilities: []
[20/11/2023, 06:00:41] [Hubitat-v2] Hubitat DeviceCache Size: (3)
[20/11/2023, 06:00:41] [Hubitat-v2] Checking Package Version for Updates...
[20/11/2023, 06:00:45] [Hubitat-v2] INFO: Your plugin version is up-to-date
[20/11/2023, 06:00:45] [Hubitat-v2] Sending Plugin Status to Hubitat | UpdateAvailable: false | newVersion: 2.9.4
{
"mdns": {
"interface": "XXXXXXXXXXXX"
},
"bridge": {
"name": "XXXXXXXXXXXX",
"username": "XXXXXXXXXXXX",
"port": 51889,
"pin": "XXXXXXXXXXXX"
},
"accessories": [],
"platforms": [
{
"name": "Hubitat-v2",
"app_url_local": "XXXXXXXXXXXX",
"app_url_cloud": "XXXXXXXXXXXX",
"use_cloud": false,
"app_id": 1213,
"access_token": "XXXXXXXXXXXX",
"direct_port": 8000,
"polling_seconds": 3600,
"temperature_unit": "F",
"round_levels": true,
"adaptive_lighting": true,
"adaptive_lighting_offset": 0,
"consider_fan_by_name": true,
"consider_light_by_name": true,
"validateTokenId": false,
"logConfig": {
"debug": false,
"showChanges": true
},
"platform": "Hubitat-v2",
"_bridge": {
"username": "XXXXXXXXXXXX",
"port": 59026
}
},
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "f",
"lang": "auto",
"platform": "config"
},
{
"username": "XXXXXXXXXXXX",
"password": "XXXXXXXXXXXX",
"pollInterval": 15,
"chargerDevice": "contact",
"batteryDevice": true,
"lowBattery": 30,
"platform": "PorscheTaycan",
"_bridge": {
"username": "XXXXXXXXXXXX",
"port": 57646
}
}
]
}