-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
Description of the issue
This line seems to be getting an invalid JSON response:
const updatedDevice: Device = JSON.parse(stdout); |
This has caused my ps5 entity to always show as unavailable
. I tried re-setting up my ps5 through the Web UI and restarting HASS, but nothing has fixed it.
Not sure if this is related to #282, but it doesn't seem like it is. Looks like #304 has the same issue but it was closed as stale
Addon version
1.3.3
Platform
Core: 2024.4.2
Supervisor: 2024.04.0
Operating System: 12.1
Logs of the issue (if applicable)
Starting PS5-MQTT...
2024-04-11T02:51:09.146Z @ha:ps5:mqtt MQTT Message received ps5-mqtt/[redacted]
2024-04-11T02:51:09.189Z @ha:ps5:webserver Server listening on PORT: 65231
2024-04-11T02:51:12.202Z @ha:ps5:mqtt MQTT Message received ps5-mqtt/[redacted]
2024-04-11T02:51:32.537Z @ha:ps5:error SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /app/server/dist/redux/sagas/check-devices-state.js:78:38
at step (/app/server/dist/redux/sagas/check-devices-state.js:35:23)
at Object.next (/app/server/dist/redux/sagas/check-devices-state.js:16:53)
at next (/app/node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:1161:27)
at currCb (/app/node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:1255:7)
at runSelectEffect (/app/node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:735:5)
at runEffect (/app/node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:1208:7)
at digestEffect (/app/node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:1275:5)
at next (/app/node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:1165:9)
2024-04-11T02:51:32.562Z @ha:ps5:mqtt MQTT Message received ps5-mqtt/[redacted]
2024-04-11T02:51:41.408Z @ha:ps5:checkDevicesState Update HA
2024-04-11T02:51:41.422Z @ha:ps5:mqtt MQTT Message received ps5-mqtt/[redacted]
v2px, FrozenDragoon, avronyon and totti4ever
Metadata
Metadata
Assignees
Labels
No labels