hi again - the trouble message has never recurred - it’s been synchronising solidly since yesterday AM. I tried a different siren trigger - panic button - and got the notification through HA! But triggering via violating a zone whilst armed doesn’t generate the same response (albeit to me it looks the same in the logs). If this is a panel config issue i’m sorry - but here’s a log just in case: 2021-04-19 18:25:15 DEBUG (MainThread) [custom_components.visonic.pyvisonic] === - Pastebin.com
Thankyou v much again - the integration is awesome!! UPDATE
So - it seems it was a panel issue - I changed " 10:ABORT TIME" under Operating Mode in the Installer Options from 30 seconds to 00 seconds - panic is emergency so doesn’t fall under it according to the info in the installer manual:
The PowerMaster can be configured to provide a delay before reporting an alarm to
the monitoring station (not applicable to alarms from FIRE, 24H SILENT,
EMERGENCY, GAS FLOOD and TEMPERATURE zones). During this delay period,
the external siren will not sound and the alarm is not reported. If the user disarms the
system within the delay time, the alarm is aborted.
in any case - the notifications are working perfectly now - just in case it helps anyone else with a similar issue!
I’m really pleased that you worked it out because I couldn’t. Looking through your logs I could see it working except for the panel message that says that the alarm has triggered and that the siren is sounding. I had forgotton about that panel setting, it is listed as “Abort Time” as an attribute of the alarm entity in HA and when I first saw it and looked up its meaning I thought that it may be useful so I kept it as an attribute so we could see it. That was a few years ago and I’ve since forgot about it
Thanks for your patience and for all the log files
Dave
EDIT: I’ve created a Tips and Tricks section on the wiki and added this, look here
Logger: homeassistant.components.binary_sensor
Source: custom_components/visonic/pyvisonic.py:970
Integration: Capteur binaire (documentation, issues)
First occurred: 15:29:21 (2 occurrences)
Last logged: 15:29:21
Error adding entities for domain binary_sensor with platform visonic
Error while setting up visonic platform for binary_sensor
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 322, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 390, in _async_add_entity device_info = entity.device_info File “/config/custom_components/visonic/binary_sensor.py”, line 131, in device_info “model”: self.visonic_device.getSensorType(), File “/config/custom_components/visonic/pyvisonic.py”, line 940, in getSensorType return self._decodeSensorType(self.stype) File “/config/custom_components/visonic/pyvisonic.py”, line 970, in _decodeSensorType s = s.lower() AttributeError: ‘NoneType’ object has no attribute ‘lower’
Hi,
As you are using version 0.6.6.0 then I assume that you are using HACS?
I have just released the current version on Github as a formal release so HACS users should update.
If you are not using HACS, then please update to the latest version from Github.
Let me know if you get it working. If it still does not work then create a debug log file and upload it to pastebin please and I’ll take a look through. Have you just started using this integration?
Also, you can check out the wiki for more help here
Hi @davesmeghead , yes i’m on HACS.
It’s ok with the new update except for one pid sensor out of the two that does not come up…I don’t know why …I will try to change the battery. Do I have to do the integration again ? Or will it go back up by itself?
This is my log : https://pastebin.com/HuDV22WP
Now i try tu put it in Lovelace too…
Another question, i don’t understand the “override User Code” option ?
Quick update - after restart (i stopped HA, installer mode in panel and back out - waited a cpl of mins and restarted HA) there seems to be a fair old amount extra in the log before getting powerlink - it did get there so maybe not an issue - but just case there’s anything helpful: 2021-04-22 19:11:54 WARNING (MainThread) [homeassistant.loader] You are using a - Pastebin.com
Thanks for the info.
The exception says “Connection reset by peer”, which means that it is the device in your alarm panel that has caused the disconnection, see here for more info. Try googling “tcp connection reset by peer”.
My integration tried to reconnect and failed which indicates that it wasn’t a glitch and that it’s more permanent, it at least lasted for 5 seconds or more.
It also could be your router making the disconnection and not the device in your panel.
I suggest you restart HA and see if it happens again in 5 days time.
EDIT: looking at your 2nd log file,it happened again, Connection reset by peer at 19:13:05. The integration reconnected this time though.
Also - i know in the guide you said you’d used the mini TCP server are you able to cast your eye over my config and see if there’s anything I’ve misconfigured?
First let me thank you for this amazing integration! No doubt that is one of the best for HA. I’m currently using the version 0.6.4.4.
I have a PowerMax Pro with approximately 11 years, FW version 4.4.20 and I’m using the USR-TCP232-T2 that works flawlessly if configured to 9600 bps. Btw the panel provides exactly 3.3V to power the USR so no need to use the shotky diode.
I have a question:
The Panel Mode on the HA integration always show an “Unknown” status however everything seems to work.
Now what might be a suggestion for improvement:
I have a magnetic sensor at the main door entry that is configured as a “Delay” sensor and one PIR sensor in the entry hall that is configured as “Interior Follower Zone” to allow to arrive to the central without trigger the alarm.
Now, everytime the alarm is not disarmed before open the main door sensor that triggers a siren event. Is there any way to fix this?
Can you both set your logger settings like this on the wiki please and upload the home assistant log file to pastebin. This is the home-assistant.log file, I’ll take a look through and see if I can help.
Hi,
You said they are incorrect but what should they be?
Can you tell me what they should be in terms of magnet or motion but can you also give me the model name, for example, it’s a “MP-802 PG2” visonic sensor.
Z01 in “Front Door” is reported as a Vibration sensor, what should it be?
Z04 in “Back Door” is reported as a Magnet sensor, what should it be?
Z06 in “Office” is reported as a Magnet sensor, what should it be? I think this is a PIR