arnemauer / Ducobox-ESPEasy-Plugin

Plugin voor ESPEasy om een Ducobox Silent / Focus / WTW Energy Comfort aan te sturen en sensoren uit te lezen. Er zijn twee plugins: een ducobox RF gateway en ducobox serial gateway.
75 stars 16 forks source link

Invalid JSON when using ESP Easy REST API #131

Closed samvdb closed 1 year ago

samvdb commented 1 year ago

The ventilation gateway has been running for a long time now, however something changed and i have no clue what happened.

I use the following api call to get info: http://x.x.x.x/json?tasknr=1

This now gives me:

{
"TaskValues": [
{"ValueNumber":1,
"Name":"Ventilationmode",
"NrDecimals":0,
"Value":1
}],
"TTL":60000,
"DataAcquisition": [
{"Controller":1,
"IDX":0,
"Enabled":"false"
},
{"Controller":2,
"IDX":0,
"Enabled":"false"
},
{"Controller":3,
"IDX":0,
"Enabled":"false"
}],
"TaskInterval":60,
"Type":"DUCO ventilation remote",
"TaskName":"Ventilation_gateway_RF",
"TaskDeviceNumber":150,
"TaskEnabled":"true",
"TaskNumber":1
}
"TTL":60000
}

Not the last TTL that is missing a colon, the json is now invalid. I tried the obvious reboot but to no avail. Any help on this one?

Firmware
--
Build:⋄ | 20104  - Mega
System Libraries:⋄ | ESP82xx Core 3d128e5c, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support
Git Build:⋄ | AFM 2c20f83: Jun  4 2020
Plugin Count:⋄ | 54 [Normal]
Build Time:⋄ | Jun  4 2020 12:57:34
Binary Filename:⋄ | Self built!
arnemauer commented 1 year ago

Did you fixed it? Please share with us :)

samvdb commented 1 year ago

No, this is an espeasy issue so it seems. I ordered new gateway with new firmware, will test again.

Op za 14 jan. 2023 15:05 schreef Arne Mauer @.***>:

Did you fixed it? Please share with us :)

— Reply to this email directly, view it on GitHub https://github.com/arnemauer/Ducobox-ESPEasy-Plugin/issues/131#issuecomment-1382748838, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2NBASFJVOVWXHFWG3OR3WSKXB3ANCNFSM6AAAAAATVR5HAU . You are receiving this because you modified the open/close state.Message ID: @.***>