smithersDBQ / homebridge-fujitsu

Homebridge plug in for Fujistu Mini Split
MIT License
5 stars 8 forks source link

Crashing Homebridge #10

Open nebosphere19 opened 2 years ago

nebosphere19 commented 2 years ago

For some reason since I've updated to the recent version of Homebridge (on MacOS), this plugin crashes it on start (gets in a loop).

[7/8/2022, 2:33:38 PM] SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at IncomingMessage. (/usr/local/lib/nodemodules/homebridge-fujitsu/fglairAPI.js:232:41) at IncomingMessage.emit (node:events:390:28) at IncomingMessage.Readable.read (node:internal/streams/readable:527:10) at flow (node:internal/streams/readable:1012:34) at resume (node:internal/streams/readable:993:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) [7/8/2022, 2:33:38 PM] Got SIGTERM, shutting down Homebridge...

macOS Catalina Homebridge version: 1.5.0 Node Version: 16.13.2