question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not longer working with Valetudo 2021.01.1

See original GitHub issue

It doesn’t seem to be working with the new Valetudo version 2021.01.1.

image

SyntaxError: Unexpected token e in JSON at position 0
    at JSON.parse (<anonymous>)
    at MqttClient.<anonymous> (/app/lib/MqttClient.js:86:42)
    at MqttClient.emit (events.js:315:20)
    at MqttClient._handlePublish (/app/node_modules/mqtt/lib/client.js:1277:12)
    at MqttClient._handlePacket (/app/node_modules/mqtt/lib/client.js:410:12)
    at work (/app/node_modules/mqtt/lib/client.js:321:12)
    at Writable.writable._write (/app/node_modules/mqtt/lib/client.js:335:5)
    at doWrite (/app/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:409:139)
    at writeOrBuffer (/app/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:398:5)
    at Writable.write (/app/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:307:11)

Unfortunatly I removed my old topic, but I guess the map_data was previously in JSON as it tries to parse it as JSON.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
Hypfercommented, Feb 12, 2021

Should be fixed by #46

2reactions
Hypfercommented, Feb 16, 2021

@mikispag As far as I’m concerned, all these changes can be merged into this repo

Read more comments on GitHub >

github_iconTop Results From Across the Web

zoned_cleanup custom command not working #668 - GitHub
From Valetudo UI selected zone cleaning is working fine but cannot be implemented in Home Assistant automation as described in https://valetudo.
Read more >
FAQ | Valetudo
No. We know what caused them, and it's not happening anymore. ... that there was less free ram than expected, due to Valetudo...
Read more >
Hypfer/Valetudo 2021.01.1 on GitHub - NewReleases.io
Be advised: This release will break (almost) everything that you're currently using. Config format, HTTP API and MQTT have changed ...
Read more >
Valetudo - Bountysource
Update Valetudo to 2021.04.0 · Do the workaround to rediscover mqtt devices as described on the release page · No longer be able...
Read more >
[APP][Android 4.4+][iOS 9.0+] XVacuum Firmware (Xiaomi ...
I just got the version 1 Xiaomi vacuum used. I managed to reset it and flash new firmware with this app. However, no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found