You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that POST action of physicalgraph.device.HubAction doesn't get
length of payload correctly. Without this change size of UTF-8 payload
was smaller and InfluxDB parser complained that message isn't formatted
correctly. E.g.
http/1.1 400 bad request
{"error":"unable to parse '...': invalid boolean
{"error":"unable to parse '...': missing fields
etc
resolves: codersaur#19
I've seen this issue with my setup. In my case names of rooms and sensors aren't only in ASCII but in Unicode (UTF-8). I suspect platform not working correctly with UTF-8 encoded POST payload. Please see PR #20 if that helps.
Thanks for the great repo!
Have a small issue with trackDescription data coming from Sonos:
postToInfluxDB(): Something went wrong! Response from InfluxDB: Headers: [content-length:489, request-id:c464608c-7473-11e7-b65d-000000000000, http/1.1 400 bad request:null, content-type:application/json, date:Sat, 29 Jul 2017 15:37:02 GMT, x-influxdb-version:1.3.1], Body: {"error":"unable to parse 'trackDescription,deviceId=9c93ae4e-671d-4ffa-998d-895cb3d16e45,deviceName=Office,groupId=null,groupName=Home,hubId=655bcc7a-dfd6-4458-a163-21c2b670325e,hubName=Home\\ Hub,locationId=d0288ea8-7456-442d-b4c8-41e83f5a69a5,locationName=Home,unit=null value=Okay\\ Then': invalid boolean\nunable to parse 'by\\ Sokro': missing fields\nunable to parse 'from\\ LA\\ FAMILIA\\ PT.\\ 1': missing fields\nunable to parse 'Grouped\\ with\\ Living\\ Room': missing fields"}
The text was updated successfully, but these errors were encountered: