-
Notifications
You must be signed in to change notification settings - Fork 40
error: substring not found, Line: 400 #53
Comments
I am not sure if it is related, but the script loses the connection to the mqtt broker: where do I find the log? |
From time to time the MQTT can disconnect clients, that means it automatically reconnected |
In my case it does not reconnect: when I restart the script it reconnects instantly but I am getting this message: |
is there anything I can try. This happens very often and it can not reconnect automatically. The mqtt broker is stable I use it with my zigbee devices all the time |
It lost connection and never try to reconnect: |
I will check it later today, |
Perfect thank you. I guess the message is too long so it is not getting fully parsed. |
Hi
I am getting an error, when I use my fingerprint reader on my VTO4202F. Can you help me figer out what the problem is?
2022-05-31 21:13:57,663 ERROR clients.DahuaClient Failed to read data: b' \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00\xeb\x00\x00\x00\x00\x00\x00\x00\xeb\x00\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Pulse","Code":"SIPRegisterResult","Data":{"LocaleTime":"2022-05-31 21:11:51","Success":false,"UTC":1654027911.0},"Index":0}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00\xd5\x00\x00\x00\x00\x00\x00\x00\xd5\x00\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Start","Code":"VideoMotion","Data":{"LocaleTime":"2022-05-31 21:12:26","UTC":1654027946.0},"Index":0}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00\xe1\x00\x00\x00\x00\x00\x00\x00\xe1\x00\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Pulse","Code":"BackKeyLight","Data":{"LocaleTime":"2022-05-31 21:12:26","State":9,"UTC":1654027946.0},"Index":-1}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00\xed\x00\x00\x00\x00\x00\x00\x00\xed\x00\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Pulse","Code":"FingerPrintCheck","Data":{"FingerPrintID":-1,"LocaleTime":"2022-05-31 21:12:26","UTC":1654027946.0},"Index":0}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00{\x01\x00\x00\x00\x00\x00\x00{\x01\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Pulse","Code":"AccessControl","Data":{"CardNo":"","CardType":null,"ErrorCode":16,"LocaleTime":"2022-05-31 21:12:26","Method":6,"Name":"OpenDoor","Password":"","ReaderID":"1","RecNo":116,"SnapURL":"","Status":0,"Type":"Entry","UTC":1654027946.0,"UserID":""},"Index":0}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00\xd4\x00\x00\x00\x00\x00\x00\x00\xd4\x00\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Stop","Code":"VideoMotion","Data":{"LocaleTime":"2022-05-31 21:12:32","UTC":1654027952.0},"Index":0}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00\xeb\x00\x00\x00\x00\x00\x00\x00\xeb\x00\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Pulse","Code":"SIPRegisterResult","Data":{"LocaleTime":"2022-05-31 21:12:49","Success":false,"UTC":1654027969.0},"Index":0}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00 \x01\x00\x00\x00\x00\x00\x00 \x01\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Pulse","Code":"NTPAdjustTime","Data":{"Address":"185.122.238.196","Before":"31-05-2022 21:13:22","LocaleTime":"2022-05-31 21:13:22","UTC":1654028002.0,"result":true},"Index":0}]},"session":798630027}\n \x00\x00\x00DHIP\x8b \x9a/\x08\x00\x00\x00\xeb\x00\x00\x00\x00\x00\x00\x00\xeb\x00\x00\x00\x00\x00\x00\x00{"id":8,"method":"client.notifyEventStream","params":{"SID":513,"eventList":[{"Action":"Pulse","Code":"SIPRegisterResult","Data":{"LocaleTime":"2022-05-31 21:13:47","Success":false,"UTC":1654028027.0},"Index":0}]},"session":798630027}\n', error: substring not found, Line: 400
The text was updated successfully, but these errors were encountered: