davesmeghead / visonic

Visonic Custom Component for integration with Home Assistant
Apache License 2.0
92 stars 20 forks source link

Version 0.9.6.10 Configuration failed #130

Closed g4seb closed 3 months ago

g4seb commented 3 months ago

Hi i use this integration since 3 years. But i have a problem. Impossible to finish configuration today.

i put to you my log file. Please could you help me ?

Sans titre

https://www.dropbox.com/scl/fi/yy3kd0pyqvbyjghl0zeo1/home-assistant.log?rlkey=7ucbd14rav210d8wd1frbqc0w&st=y8x08kof&dl=0

davesmeghead commented 3 months ago

Hi, I've had a 2nd attempt at fixing this one and just created a release 0.9.6.12, give it a go please.

You also have many other Errors in your log file for other integrations These are the only lines associated with the visonic integration, all other lines are for different integrations

2024-08-04 10:48:09.278 DEBUG (ImportExecutor_0) [custom_components.visonic.pyvisonic] Initialising Protocol - Protocol Version 1.3.5.3
2024-08-04 10:48:09.313 DEBUG (ImportExecutor_0) [custom_components.visonic.client] Initialising Client - Version 0.9.6.10
2024-08-04 10:48:09.340 INFO (MainThread) [custom_components.visonic] Starting Visonic Component
2024-08-04 10:48:09.341 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] ************************************ create connection ************************************
2024-08-04 10:48:09.341 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup]       Entry id=f4de5e8b753742b53c66a7a13b4b5c29 in a total of 1 previously configured panels
2024-08-04 10:48:09.342 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] CONF_PANEL_NUMBER not in configuration, stopping configuration with an error
g4seb commented 3 months ago

@davesmeghead I don’t found it in HACS ?

davesmeghead commented 3 months ago

Good point, I've updated the manifest file so it will appear in HACS, I didn't realise you're using HACS

g4seb commented 3 months ago

@davesmeghead Ok, i install it. Now i have a new error "ERROR (MainThread) [homeassistant.config_entries] Error migrating entry Panel 0 (PowerMax Pro Part) for visonic"

https://www.dropbox.com/scl/fi/yy3kd0pyqvbyjghl0zeo1/home-assistant.log?rlkey=7ucbd14rav210d8wd1frbqc0w&st=nr8bjom0&dl=0

davesmeghead commented 3 months ago

Released 0.9.6.14 on HACS, give this one a try please

g4seb commented 3 months ago

@davesmeghead i install it. Now i don't have error. I see the integration. But i have another error when i want to arm it. The panel want a code ?? But previous i never put it ... impossible to arm or disarm

Again a little help. Many thanks

https://www.dropbox.com/scl/fi/yy3kd0pyqvbyjghl0zeo1/home-assistant.log?rlkey=7ucbd14rav210d8wd1frbqc0w&st=x2vd3k3w&dl=0

davesmeghead commented 3 months ago

Hi You have so many Errors from other integrations it makes it really difficult to work out. I've tried to filter on custom_components.visonic but I'm not sure I got everything such as errors from my integration.

Please either fix the errors from other integrations or set your default log level higher.

Anyway, the most obvious thing in the log is this

2024-08-05 08:23:58.563 INFO (SyncWorker_23) [custom_components.visonic.client]  P0  HA Warning (not shown in frontend due to user config), condition is AvailableNotifications.COMMAND_NOT_SENT message=Request Arm/Disarm Failed to Send Command To Panel, disabled by user settings

You need to change the config settings to allow the user to arm and disarm the panel image

g4seb commented 3 months ago

@davesmeghead Sorry, but some error come with update on other integration. I try to resolve one by one... What can i do to filter just on your ?

If i click on arm i have this error: "Échec de l'appel du service alarm_control_panel/alarm_arm_away. Validation error: Arming requires a code but none was given for alarm_control_panel.visonic_alarm_2"

I try your option with allow Panel Arm and disarm, i put this option too : Arm without User Code (not supported by all panels. But in this case if i click on arm, nothing append.

g4seb commented 3 months ago

Hi, I remove all config, reinstall it, and config all a new one. Apparently, it’s working.

Many Thanks for all !!

davesmeghead commented 3 months ago

I'll close this as an Issue but raise a new issue for new problems.