ParadoxAlarmInterface / pai

Paradox Magellan, Spectra and EVO, with MQTT, Signal, Pushbullet, Pushover and others
https://gitter.im/paradox-alarm-interface
Eclipse Public License 2.0
340 stars 91 forks source link

[feature] EVO192: PGM control and statuses #58

Closed nzqmeister closed 5 years ago

nzqmeister commented 5 years ago

System IP150, Panel version 20, firmware: 1.38 Paradox Panel EVO192 version 3.0 build 40. Raspberry Pi with Domoticz. Node-RED. Mosquitto.

Describe the bug Statuses for Partitions are completely missing. I can only see statuses for Zones, Doors, and System.

To Reproduce Steps to reproduce the behavior: Run: mosquitto_sub -h localhost -v -t "paradox/#" This will list all available Status except Partition (and perhaps others less important).

Logs nzqmeister EVO192 Partition Status Problem.txt

yozik04 commented 5 years ago

I did not had time to update documentation for EVO specifics yet. Looks like it is time to do.

Config options that you need to have for EVO devices.

STATUS_REQUESTS = list(range(1, 6))
PARTITIONS_CHANGE_NOTIFICATION_IGNORE = ['arm_full', 'exit_delay', 'all_zone_closed', 'ready', 'stay_instant_ready', 'force_ready', 'entry_delay', 'auto_arming_engaged']
nzqmeister commented 5 years ago

Thanks Jevgeni, Brilliant, that worked!

It turned out I had the STATUS_REQUESTS setting wrong. It's testing successfully (so far).

Now I just have to figure out interfacing to Domoticz using Node-RED. It's a lot for this noob to take in, but I'm getting there. A bit of JSON here, some MQTT there. And an unfamiliar Node-RED GUI. Whew.

thanks for the awesome project, I've been waiting years for this.

best regards Quentin

On Sun, Mar 17, 2019 at 7:29 PM Jevgeni Kiski notifications@github.com wrote:

I did not had time to update documentation for EVO specifics yet. Looks like it is time to do.

Config options that you need to have for EVO devices.

STATUS_REQUESTS = list(range(1, 6)) PARTITIONS_CHANGE_NOTIFICATION_IGNORE = ['arm_full', 'exit_delay', 'all_zone_closed', 'ready', 'stay_instant_ready', 'force_ready', 'entry_delay', 'auto_arming_engaged']

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jpbarraca/pai/issues/58#issuecomment-473620883, or mute the thread https://github.com/notifications/unsubscribe-auth/AuYpecIv2EsX_tiGzG8utYp20o50RLA3ks5vXeCxgaJpZM4b4LHa .

-- Sent from my gmail online account

nzqmeister commented 5 years ago

Hi, I ran mosquitto_sub -h localhost -v -t "paradox/states/#"

PGM state is not represented in the output.

I can only see: paradox/states/bus-module/... paradox/states/partitions/... paradox/states/zones/... paradox/states/door/... paradox/states/system/...

But pgm is not listed.

The console shows this where I think it should be reading Pgm state: 2019-03-18 21:27:46,398 - INFO - PAI.paradox.hardware.panel - Pgm: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , INFO:PAI.paradox.hardware.panel:Pgm: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Any advice? Maybe this is a work in progress? Or could I have missed something else?

thanks for your help. Quentin

yozik04 commented 5 years ago

PGM commands are not sent via events on EVO. I am not sure where to get current status in memory. I have not implemented it as I am not using it now. Feel free to contribute =)