chaozmc / ioBroker.oekofen-json

Connect ioBroker to OekoFEN Pellematic via JSON
MIT License
4 stars 5 forks source link

Touch V3.10d is sending different JSON response #1

Closed chaozmc closed 2 years ago

chaozmc commented 2 years ago

Describe the bug
Under V3.10d the JSON which is generated sends only Strings instead of Numbers and Strings according to their actual type. According to the actual Adapter's logic this leads to wrong created objects / datapoints in ioBroker.

Screenshots & Logfiles
Example of V3.10d generated JSON v3-jsonfile.json.txt

Versions:

Maybe it's possible to work around this and interpret the generated JSON correctly though

chaozmc commented 2 years ago

added some idea with fd7e153ab99af7542b7179af8634d145516ffcb9, need to setup a temp webserver to serve the provided json-file for dev-server

chaozmc commented 2 years ago

with 1fa5349162eaa66e8803fa0f26a48b7ae1785097 it ingests new json layout and at least initial parses the v3.10d json correctly. regular updates of old json style not tested yet