scudre / alarm-central-station-receiver

Python daemon for receiving events from a home alarm system via Contact ID protocol
Apache License 2.0
36 stars 10 forks source link

Dial tone #51

Open yan5212 opened 5 years ago

yan5212 commented 5 years ago

Hey Chris, should there be a dial tone coming from the magicJack?, I have alarmd running and says "Ready, listening for alarms" but the panel does not see the magicJack dial tone so it thinks there's not phone line connected and nothing happens when the panel tries to transmit an event .

scudre commented 5 years ago

@yan5212 were you able to sort it out? One thing to ensure is that the magicJack is plugged into a powered USB hub, if you're using a Raspberry Pi. As the Pi cannot provide enough power to the magicJack alone.

yan5212 commented 5 years ago

@scudre I was able to get the dial tone after using a usb hub, but im still having issues where alarmd does not see when the panel is trying to report an event, I even tried with a phone to dial the number under config file but nothing happens when i dial the number. any thoughts?

yan5212 commented 5 years ago

@scudre finally got it to start the handshake and complete it but i believe theres is still an issue because i do not get a notification and the notification is working correctly , i ran the test. i think it have something to do with contact id file maybe it is specific to a dsc panel i have a Honeywell L3000 maybe that's the issue if you have any thoughts let me know. thanks

Apr 11 19 09:06:30 PM alarmd[822]: [main.INFO] Starting in no-fork mode Apr 11 19 09:06:30 PM alarmd[822]: [status.INFO] Loading config from /var/lib/alarmd/alarmd.db Apr 11 19 09:06:30 PM alarmd[822]: [main.INFO] Ready, listening for alarms Apr 11 19 09:06:55 PM alarmd[822]: [callup.INFO] Phone Off The Hook Apr 11 19 09:06:58 PM alarmd[822]: [callup.INFO] Phone On The Hook Apr 11 19 09:06:58 PM alarmd[822]: [status.INFO] No new events found! Apr 11 19 09:06:58 PM alarmd[822]: [status.INFO] Saving config to /var/lib/alarmd/alarmd.db Apr 11 19 09:06:58 PM alarmd[822]: [notify.INFO] No events for notification Apr 11 19 09:07:01 PM alarmd[822]: [callup.INFO] Phone Off The Hook Apr 11 19 09:07:04 PM alarmd[822]: [callup.INFO] Alarm Call In Received Apr 11 19 09:07:04 PM alarmd[822]: [callup.INFO] Collecting Alarm Codes Apr 11 19 09:07:04 PM alarmd[822]: [handshake.INFO] Handshake Initiated Apr 11 19 09:07:35 PM alarmd[822]: [callup.INFO] Alarm Hung Up Apr 11 19 09:07:35 PM alarmd[822]: [handshake.INFO] Handshake Complete Apr 11 19 09:07:35 PM alarmd[822]: [callup.INFO] Code String: Apr 11 19 09:07:35 PM alarmd[822]: [status.INFO] No new events found! Apr 11 19 09:07:35 PM alarmd[822]: [status.INFO] Saving config to /var/lib/alarmd/alarmd.db Apr 11 19 09:07:35 PM alarmd[822]: [notify.INFO] No events for notification

scudre commented 5 years ago

Based on those messages, the alarm is detecting the initial DTMF codes when the alarm system is attempting to dial a number. Can you run alarmd in debug mode and share the output? It may help us figure out what's going on. It will print what DTMF tones the MagicJack is detecting (if any).

yan5212 commented 5 years ago

@scudre sorry it took so long to get back, but I just tried reinstalling everything (raspbian and alarms)from scratch and got it working.... Thank you for this great tool.