What I am trying to do is use my current Vista 20p connected via Envisalink to be triggered by my zigbee sensors. I figured the way to get that to work would be to create a manual alarm system with my zigbee devices and include the Envisalink sensors in that. That part is working fine. What I am having trouble with is getting Envisalink and Manual Alarm to arm and disarm at the same time.
The Envisalink is not changing states after it is disarmed. Here is the sequence I am looking form.
- Arm Envisalink which triggers Manual Alarm Panel to arm
- Disarm Envisalink with triggers Manual Alarm Panel to disarm
From a fresh restart I Arm the envisalink and it arms the manual panel, and both change to armed. When I try to disarm the envisalink the state does not change to disarmed so it does not trigger the manual panel. When I check the logs I get this error.
Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)]
[parameters: (‘persistent_notifications_updated’, ‘{}’, ‘LOCAL’, ‘2019-10-14 19:29:16.173928’, ‘2019-10-14 19:29:16.263075’, ‘945391ed71254658998c144ea8564c7f’, None)]
(Background on this error at: http://sqlalche.me/e/4xp6)
I have deleted the home-assistant_v2.db while hassio-supervisor was stopped but that didn’t help.
Any suggestions please?