Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New errors in Homebridge Logs #3

Open
mariusstrom opened this issue Sep 13, 2024 · 0 comments
Open

New errors in Homebridge Logs #3

mariusstrom opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mariusstrom
Copy link

Describe The Bug:
My Homebridge (1.8.4, up to date) is throwing an error from the decent-advanced-rest-api every 60 seconds or so:

[12/09/2024, 17:33:07] [decent-advanced-rest-api] error updating machine state SyntaxError: Bad control character in string literal in JSON at position 212
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (/var/lib/homebridge/node_modules/homebridge-decent-advanced-rest-api/src/de1DeviceService.ts:132:34)
    at IncomingMessage.emit (node:events:531:35)
    at IncomingMessage.emit (node:domain:488:12)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

To Reproduce:
Have DE1 machine connected to Homebridge and current build of the plugin.

Expected behavior:
No errors.

Logs:
See above.

Plugin Config:

{
    "machines": [
        {
            "name": "Espresso Machine",
            "host": "192.168.157.220:8888",
            "waterTankSize": 1500,
            "suppressHeadTemperature": true,
            "suppressSteamHeaterTemperature": true,
            "suppressMixTemperature": true,
            "suppressWaterLevel": true
        }
    ],
    "pullInterval": 30000,
    "timeout": 200,
    "platform": "decent-advanced-rest-api"
}

Environment:

  • Plugin Version: 1.1.0
  • Homebridge Version: 1.8.4
  • Node.js Version: 20.14.0
  • NPM Version: 10.7.0
  • Operating System: hb-service
@mariusstrom mariusstrom added the bug Something isn't working label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant