Hi @davesmeghead
You really are a good guy, not only producing a great component, but supporting everyone for years on end. Thank you so much.
I am experiencing issues with the integration and it is a strike of luck if everything works after a restart of HA. As you can imagine, HA can require a lot of reboots if you’re a tinkerer, and adding, or adjusting the configuration.yaml.
Note: I am aware that there is a “spam” limit of some kind which prevents things from working if the component is restarted too many times in a short space of time. I’m not sure what that frequency is, but I am aware of it, hence why my reattempts are only tried a few times and then the next reattempt is hours apart.
I feel it is a timing issue in order for this component to work every time, but cannot explain what the silver bullet is in order to get it to work every time. So my frustrated experience at the moment is, although I might get it working, it’ll probably stay that way for a week until I restart HA for one reason or another. Then the visonic component integration breaks again.
Version Info:
HA Version: 0.118.5
Type: Home Assistant Supervised
Supervisor Version: 2020.12.6
Python Version: 3.8.6
Docker Version: 19.03.14
Healthy: True
HACS version: 1.8.0
Visonic Component Version: 0.6.0.0
9 times out of 10, when I restart I get the notification
- Visonic Panel Setup
Failed to connect into Visonic Alarm. Check Settings.
I am using the newer log configuration that includes the new library logs, and I have added them to the following paste site (pastebin said my paste was too big ) : https://cl1p.net/ha_log_071220
I hope I have provided enough info for you to have a look and help me out. If you need any other information let me know.
Thanks.
UPDATE:
Sods law, I tried one last thing and I’ve got it to work (for now), but no idea if this will survive a restart (whenever I next decide to do that). For the record, I navigated to the alarm_control_panel.visonic_alarm
entity and deleted it, then reinstalled the 0.6.0.0 branch of the component, then restarted HA. And magic, it’s all working. I don’t know if that was a fluke or if it was the delete and reinstall that did the trick? Who knows? I’ve attached the log from HA while it is in a working state if its any help for comparing with the broken state: cl1p.net - The internet clipboard (oops, see UPDATE 2…)
UPDATE 2:
My alarm panel just started it’s TRBL beep at me, arghh, I didn’t even restart HA. So it would seem that after about 1 minute, the connection or communication (or something stopped working). BUT… The entities and device in HA are not reporting any problems, and it’s showing everything okay. I’m totally confused, but I’m going to have to restart HA now because my alarm panel will continue it’s warning beeps every minute otherwise.
…I decided not to restart, but instead I called the service: visonic.alarm_panel_reconnect
and law and behold, after a few seconds or so, all the entities were showing as not available . So here goes another restart…
UPDATE 3:
After the reboot, I’m back to square - not working! I’ll try again in a couple hours because I might have “spammed” myself out.
UPDATE 4:
I tried @pocket 's suggestion, and also did a scan of my logs using the recommended commands, and found no errors or disconnected messages. But I went ahead and uninstalled brltty from my server, and rebooted the server. I also removed, restarted, and reinstalled and restarted the visonic component, and first time… everything is working fine. So… I still cannot be confident what fixed it, so was this the silver bullet? Who knows… I guess I won’t find out until the next restart I guess?
Thanks for allowing me to spill my findings on this post, I hope I never bored you all