Open rcoletti116 opened 10 months ago
I have a similar issue. The plugin makes the API call to ambient and gets this
ERROR: invalid json response body at (API call) reason: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Followed by
TypeError: Cannot read properties of undefined (reading 'filter') at TemperatureAccessory.updateData (/var/lib/homebridge/node_modules/homebridge-ambient-weather-sensors/src/temperatureAccessory.ts:52:28) at processTicksAndRejections (node:internal/process/task_queues:95:5)
At which point it stops making further requests and the only option is to restart Homebridge :(
Describe The Bug:
The plugin will occasionally crash on updateData.
To Reproduce:
It's unclear if this is triggered based on certain values.
Expected behavior:
Plugin should update data and not crash.
Logs:
Plugin Config:
Screenshots:
Environment: