Tasmoadmin: JSON ERROR => 4: Syntax error | Device not found

Created on 28 Aug 2018  路  8Comments  路  Source: reloxx13/TasmoAdmin

I have a Sonoff basic running 6.1.1 that can't be added to TasmoAdmin inside HA. TasmoAdmin (add-on) is version 0.5.1. I've managed to add two other Sonoffs without issue. Seems to be related to the DS18B20 Temperature sensor?

Device not found

JSON ERROR => 4: Syntax error
Please copy the whole error message and copy it in a new issue on GitHub. Somehow the Tasmota Firmware answered a wrong formatted JSON string which needs to get adjusted in TasmoAdmin.
JSON Answer => {"Status":{"Module":1,"FriendlyName":["pool"],"Topic":"pool","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0},"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://sonoff.maddox.co.uk/tasmota/sonoff.bin","RestartReason":"Power on","Uptime":"4T04:52:03","StartupUTC":"2018-08-23T21:25:39","Sleep":0,"BootCount":94,"SaveCount":188,"SaveAddress":"F8000"},"StatusFWR":{"Version":"6.1.1","BuildDateTime":"2018-07-23T11:18:52","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"},"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["IoT",""],"TelePeriod":300,"SetOption":["00008009","55818000"]},"StatusMEM":{"ProgramSize":489,"Free":512,"Heap":19,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","0052A794","0C000008","00261796","00000000"]},"StatusNET":{"Hostname":"pool-2127"

image

FIXED TIP

All 8 comments

is this really everything form the error message?

their is a bunch of text missing at the end after the hostname.

if it was complete, pls check or re-set the hostname, seems their is a " or another char in a config value which destroys the json (or but i dont believe it, the response got canceled by the device and not complety transmitted).

what is the rssi/wifi strength?

Here is the full error log.

Device not found

JSON ERROR => 4: Syntax error
Please copy the whole error message and copy it in a new issue on GitHub. Somehow the Tasmota Firmware answered a wrong formatted JSON string which needs to get adjusted in TasmoAdmin.
JSON Answer => {"Status":{"Module":1,"FriendlyName":["pool"],"Topic":"pool","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0},"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://sonoff.maddox.co.uk/tasmota/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T17:12:47","StartupUTC":"2018-09-03T07:05:28","Sleep":0,"BootCount":98,"SaveCount":212,"SaveAddress":"F8000"},"StatusFWR":{"Version":"6.1.1","BuildDateTime":"2018-07-23T11:18:52","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"},"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["IoT",""],"TelePeriod":300,"SetOption":["00008009","55818000"]},"StatusMEM":{"ProgramSize":489,"Free":512,"Heap":19,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","0052A794","0C000008","00261796","00000000"]},"StatusNET":{"Hostname":"pool-2127","IPAddress":"10.0.1.175","Gateway":"10.0.1.1","Subnetmask":"255.255.255.0","DNSServer":"208.67.222.222","Mac":"5C:CF:7F:57:C8:4F","Webserver":2,"WifiConfig":2},"StatusMQT":{"MqttHost":"10.0.1.200","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_57C84F","MqttUser":"""","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15},"StatusTIM":{"UTC":"Tue Sep 04 00:18:15 2018","Local":"Tue Sep 04 01:18:15 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Sun Oct 28 03:00:00 2018","Timezone":1},"StatusSNS":{"Time":"2018-09-04T01:18:15","DS18B20":{"Temperature":12.0},"TempUnit":"C"},"StatusSTS":{"Time":"2018-09-04T01:18:15","Uptime":"0T17:12:47","Vcc":3.217,"POWER":"OFF","Wifi":{"AP":1,"SSId":"IoT","RSSI":62,"APMac":"FE:EC:DA:38:36:E9"}}}

Hostname is the default as %s-%04d. Device is just called pool.

According to UniFi, WiFi is 59% (-67 dBm). Device appears in UniFi as pool-2127 nut oddly when I select http://10.0.1.175/in for the info screen, nothing is displayed.

Just upgraded module to Tasmota 6.2.0, still the same.

"MqttUser": ""
"",
"MqttType": 1,

here is sth wrong, maybe a special char in password?

That was it, thank you! For blank MQTT username:password, you have to enter 0:0.

lolz, good to know!!! :D

Info screen is now back too with that MQTT change. Appreciate your feedback.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zwerver91 picture Zwerver91  路  4Comments

timota picture timota  路  4Comments

kskenyon picture kskenyon  路  11Comments

reloxx13 picture reloxx13  路  9Comments

danmed picture danmed  路  10Comments