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

hs110 send wrong data effects syntaxerror #146

Open
arteck opened this issue Dec 14, 2022 · 0 comments
Open

hs110 send wrong data effects syntaxerror #146

arteck opened this issue Dec 14, 2022 · 0 comments

Comments

@arteck
Copy link

arteck commented Dec 14, 2022

i hvae here a little problem when the plug hs110 send wrong json

SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at Plug.sendCommand (/opt/iobroker/node_modules/tplink-smarthome-api/lib/device/index.js:267:71) at async Emeter.getRealtime (/opt/iobroker/node_modules/tplink-smarthome-api/lib/shared/emeter.js:70:55)
unhandled promise rejection: Unexpected token u in JSON at position 0
Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant