maragelis / ParadoxRs232toMqtt

esp8266, serial bus to mqtt for Paradox alarm systems
MIT License
80 stars 22 forks source link

partition topic issue #65

Open zsoltkazda opened 4 years ago

zsoltkazda commented 4 years ago

Hi Maragelis,

My paradox have two partitions. I would like to use these partition separate. Now the state and command topics is the same on the different partitions. This is the source of my problem. Now when I disarm one of the partitions (onyl one), after that all partitions disarmed, and vice versa too.

Regards Zsolt

maragelis commented 4 years ago

Just to be clear, disarming and arming works ? Just the hassio topic does not send partition number, correct ?

zsoltkazda commented 4 years ago

Yes, the disarming and arming works, and yes, the hassio topic does not send partition number.

maragelis commented 4 years ago

Test branch updated. the topic on which arm status is sent has partition info. eg. paradoxdCTL/hassio/Arm0 paradoxdCTL/hassio/Arm1 https://github.com/maragelis/ParadoxRs232toMqtt/tree/test

ghost commented 4 years ago

@zsoltkazda could you please provide your panel info because the arming process does not work for me.

I am using the MG5050 with "MG5050_4.73.72.PUF" firmware from 2011.

I can connect to the panel and receive the following topics:

But the arming does not work.

maragelis commented 4 years ago

Change your code on the alarm and dont use 0 in the code

ghost commented 4 years ago

@maragelis my alarm panel user code is 4 non-zero digits. Trace indicates that "sending command 0x5f to panel" is executed but nothing after that. When I compare the login sequence by sniffing the serial port between the MG5050 and the Paradox BabyWare application I see there seems to be a different initialisation sequence. When I first bought my panel around 2010, it worked with the WinLoad software. Then after upgrading the firmware the WinLoad software would no longer work and I needed to use the BabyWare application. Could it be that there is a difference? filtered_response.txt

maragelis commented 4 years ago

Looking at the trace I see a perfect login after 5f there is the 00 handshake and a 10 login. Then the is status command 50 52 issued. Do you get login failed from the status mqtt topic when trying to arm? If not it’s surly the code try the master code or change your code.

ghost commented 4 years ago

The trace provided is the communication between BabyWare and the MG5050, so the perfect login is expecetd. Let me first modify the code so that I initialise the communications with the "72 00 00 .... 00 00 72" packet and then see if the panel responds at all.

zsoltkazda commented 4 years ago

Dear john2oo2!

I don’t know the firmware version. But ont he panel, I see the following nformation: SP6000 NR Q018 27aug19

Zsolt

From: john2oo2 notifications@github.com Sent: Tuesday, March 10, 2020 5:12 PM To: maragelis/ParadoxRs232toMqtt ParadoxRs232toMqtt@noreply.github.com Cc: Kazda Zsolt zsolt.kazda@professional-it.hu; Mention mention@noreply.github.com Subject: Re: [maragelis/ParadoxRs232toMqtt] partition topic issue (#65)

@zsoltkazdahttps://github.com/zsoltkazda could you please provide your panel info because this does not work for me? I am using the MG5050 with "MG5050_4.73.72.PUF" firmware from 2011. I can connect to the panel and receive the following topics:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/maragelis/ParadoxRs232toMqtt/issues/65?email_source=notifications&email_token=ANCUA4SNE62SPBXNP42F3EDRGZRF3A5CNFSM4KJTS43KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOMCIDA#issuecomment-597173260, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANCUA4U2NEB6VDG7HSHFIULRGZRF3ANCNFSM4KJTS43A.

maragelis commented 4 years ago

Do you get login failed from the status mqtt topic when trying to arm?

ghost commented 4 years ago

Feedback regarding the "login" issue:

Feedback regarding the reporting of the Arm Status:

bigjuanpa commented 3 years ago

how can you get the panelstatus information for the panel 2 (Arm1)? When I run { "Command": "panelstatus", "Subcommand": "1", }

I only get the Arm0 status

thanks

maragelis commented 3 years ago

Its not implemented in this project I have it implemented on my other project

sparkydave1981 commented 3 years ago

So to get partition support we should swap to using an ESP32 with your other project?