visonic
visonic copied to clipboard
Warning: Valid 4 digit pin not found
Hi
Not entirely sure when this error started, but it was 1 or 2 releases ago.
The device is a powermaster-33
The configuration is configured with the "Arm without User Code (not supported by all panels)" which works great - until it doesn't. If If i reload the integration, then it will work for 24-48-xx hours, until et breaks again.
From my untrained eye, it looks as if a keep-alive fails, and after that it never recovers again.
Error starts at 2022-10-20 17:38:15.891 and then continues until i'm reloading the configuration.
I have just released a new version to Github (and within HACS), can you please update to this version and let me know if you still have this issue. In a recent release (not today's though) I added code to check and recover from this type of situation. Having said that, it looks like the comms between the Integration and panel does get minor interruptions so it may be something for you to look at. Cheers :)
Thanks for the fast reply :)
Unfortunately, still the same issue and some extras.
https://pastebin.com/khV774um
I am aware of the network issue :) - it's from a faulty switch but unfortunately the new one is in backorder. It still works it just get's clocked up and cries from time to time.
PowerMaster-10 similar issue: Logger: custom_components.visonic.client Source: custom_components/visonic/client.py:1042 Integration: Visonic Intruder Alarm (documentation, issues) First occurred: 14:36:53 (19 occurrences) Last logged: 14:58:19 Warning: Valid 4 digit PIN not found
HA told me there was a new version. I know you haven't written in this thread, but i thought you might wanted the log file from after upgrading to that version. :)
https://pastebin.com/B6Ph3EXZ
Can you try going in to the integration configuration and unticking B0 Experimental Processing please, let me know what difference it makes
It does make a difference as found by another user. I have released 0.8.2.3 to Github and HACS, try this one and let me know please.
EDIT: A bit more information ... in your original post home-assistant.log on line 1126 the integration sends a B0 message to your panel and expects a reply from the panel. There is no reply and so a "Response Timer Expired" on line 1127 and PROBLEM mode is set for the panel, this is what results in what you are seeing. I have updated the code for this so that PROBLEM can be recovered from if the interaction with the panel recovers i.e. we start getting successful responses from the panel again. By disabling the B0 processing you prevent the integration sending the B0 message to the panel and hence you would not trigger the "Response Timer Expired". In your later 2 pastebin log files, there were bugs in the updated code I mentioned so that's a different problem that I corrected. But by unticking B0 message processing that should have fixed it for you anyway.
Not entirely sure if this is a bug in Home Assistant, the visonic integration or by me.
But the integration does no longer show up in the integration overview. Please note: the deactivated integration is legacy deconz.
All entites are showing correctly, and the integration seems to be working for now.
On a totally unrelated note, i bought a new switch yesterday, so hopefully the network issues should now be resolved and no longer show up in the logs.
Try release 0.8.2.4 (including HACS), I've removed the HA suggested manifest entry and logged an HA problem here about it. This release should have the integration on that page now.