Integrate Dsc Alarm

Looks like this topic is still active. I have DSC Classic PC585H panel. And ESP32.
I want to try to integrate this, but i’m still new on electronics part.
How many additional parts is needed exactly, like voltage regulators and resistors?

@Dilbert66

Hey @Dilbert66 !

I have done some soldering and connected the esp32, seems like it’s working, some zones are triggering (checking log).

But have a weird logs here:

12:08:07	[D]	[text_sensor:064]	
'line1 Partition 1 (ln1_1)': Sending state 'System is Ready'
12:08:07	[D]	[text_sensor:064]	
'line2 Partition 1 (ln2_1)': Sending state 'Ready to Arm <>'
12:08:07	[D]	[text_sensor:064]	
'System Status (ss)': Sending state 'online'
12:08:07	[D]	[text_sensor:064]	
'Partition 1 Status (ps_1)': Sending state 'disarmed'
12:08:07	[D]	[text_sensor:064]	
'zone status (zs)': Sending state ''
12:08:07	[D]	[text_sensor:064]	
'Trouble Msg (tr_msg)': Sending state ''
12:08:07	[W]	[component:237]	
Component dsc_alarm_panel took a long time for an operation (79 ms).
12:08:07	[W]	[component:238]	
Components should block for at most 30 ms.
12:08:12	[E]	[api:128]	
No client connected to API. Rebooting...
12:08:12	[I]	[app:125]	
Forcing a reboot...
12:09:32	[I]	[Paneldata:	
130]: 11: 11 00 AA AA AA AA AA 2A 00 00 00 00 00 00 00 00 
12:09:32	[I]	[Moduledata:	
130]: 11: FF 01 0F FF FF FF FF 3F 00 00 00 00 00 00 00 00 
12:09:50	[I]	[Paneldata:	
130]: 16: 16 00 0E 23 F6 3D 00 00 00 00 00 00 00 00 00 00 
12:10:03	[I]	[Paneldata:	
130]: 5D: 5D 00 00 00 00 00 00 5D 00 00 00 00 00 00 00 00 
12:10:08	[I]	[Paneldata:	
130]: 11: 11 00 AA AA AA AA AA 2A 00 00 00 00 00 00 00 00 
12:10:08	[I]	[Moduledata:	
130]: 11: FF 01 0F FF FF FF FF 3F 00 00 00 00 00 00 00 00 
12:10:13	[I]	[Paneldata:	
130]: 11: 11 00 AA AA AA AA AA 2A 00 00 00 00 00 00 00 00 
12:10:13	[I]	[Paneldata:	
130]: 11: 11 00 AA AA AA AA AA 2A 00 00 00 00 00 00 00 00 
12:10:13	[I]	[info:1955]	
status 01, last status 01,line2status B0,selection 01,partition=1,skip=0,force=1
12:10:13	[D]	[text_sensor:064]	
'line1 Partition 1 (ln1_1)': Sending state 'System is Ready'

Maybe you idea what is it, why it reboots a while after while? Maybe its normal?

Thanks.

P.S. got connected without control, only read.

The esp will reboot if you have configured the api: section but there is no client connected to it such as home assistant. The data in your logs looks normal.

1 Like

Hi @Dilbert66, excellent work with the HA integration using ESPHome. I was looking at using the zone expander. Is it possible to set the zone definition when using the emulated zone? That is how do i configure the emulated zone as “delay”, “instant”, “interior stay/away” etc. Thanks!

You do that in the panel programming *56.

1 Like

Hi @Dilbert66 , just wanted to thank you again for this fantastic piece of work. I’ve been using this integration for over a year now and it’s been absolutely flawless!

I have a question for either you or the forum. I’d like to use Alarmo in addition to DSC esphome, since I could then extend the alarm system to incorporate some of the other ZigBee sensors in my wider Home assistant setup.

The easy bit is just using the DSC sensors when I set up alarmo. The harder bit that I haven’t figured out is keeping the alarm state synced between DSC esphome and alarmo, e.g. when alarmo is triggered it should trigger the DSC alarm and vice versa. Any suggestions?

You can setup one or two virtual zone expanders and just use the set_zone_fault service to trigger any of those virtual zones on the dsc panel. You can even use the status of those zigbee sensors directly to trigger those zones without alarmo needed

Is there a way to use this virtual keyboard on the esp8266 without homeassistant?

Your question is kinda meaningless without more context. Where are you planning on using it? This is programmed as a home assistant custom card. It won’t work as is anywhere else. You would need to indicate what platform you would want to adapt it to.

I want a virtual keypad that doesn’t require homeassistant. I tried the virtualkeypad-web code but it doesn’t work properly. The top line of the lcd doesn’t work. And the status lights ac, etc. Can you help me with this?