ipodmusicman / paradox-controller

Paradox bridge between Paradox alarm systems and MQTT
20 stars 7 forks source link

Mg5050 control issue #5

Open blooby78 opened 4 years ago

blooby78 commented 4 years ago

Hello,

Thanks for your code. I use it for 5050 Mg. I receive all events accross mqqt. But i not able to control alarm state. What attribues need to be set for send maybe alarm password. And do you know what command need to be used for control PGM ?

Thanks for your help.

mmodestas commented 4 years ago

Hi blooby78,

Did you figure out you problem? It seems that I have the same issue, I receive events through MQTT, but I am not able to Arm or Disarm.. My board is SP7000.

blooby78 commented 4 years ago

Hello, no the problem is still present.

mmodestas commented 4 years ago

Hi blooby78,

I managed to send arm/disarm commands.

Currently I am using other integration - https://github.com/maragelis/ParadoxRs232toMqtt. However, after installing this other program by maragelis, I faced the same issue as with this one - I could see live events, but my panel didn't respond to arm/disarm commands.

I am not 100% sure, but I think that problem was that my Panel ID and/or Panel password was not set (Panel ID was not set for sure, not sure about password).

I did this on my keyboard:

  1. Pressed Button [ENTER]
  2. Entered installer code [0000]
  3. Entered code [950] (Panel ID)
  4. Set value to [0000] (it was blank)
  5. After I set value in [950], code [951] (Panel password) opened
  6. Set value to [0000]
  7. Button [CLEAR]

Not sure that it will help you, but you could try this out.

Good luck.

I would also like to give my best wishes to these amazing people, who makes these programs - thank you!

DblD commented 4 years ago

@mmodestas & @blooby78 There could be couple different reasons for this.

Now the differences for the two integrations mentioned :

We will make a PR shortly, which should allow for selecting type of target panel firmware and user pin/password configuration setting during initial setup.

Hope this gives you better understanding.

blooby78 commented 4 years ago

Thanks for you answer, i wait your new PR.

voltage84 commented 4 years ago

Hi,

Using your code I was able read status info from my SP7000, but whenever I try to perform a Serial.write command, the board freezes. Any idea about that?

Thank you!

Br.:

Viktor

userMak commented 4 years ago

Hi blooby78,

I managed to send arm/disarm commands.

Currently I am using other integration - https://github.com/maragelis/ParadoxRs232toMqtt. However, after installing this other program by maragelis, I faced the same issue as with this one - I could see live events, but my panel didn't respond to arm/disarm commands.

I am not 100% sure, but I think that problem was that my Panel ID and/or Panel password was not set (Panel ID was not set for sure, not sure about password).

I did this on my keyboard:

  1. Pressed Button [ENTER]
  2. Entered installer code [0000]
  3. Entered code [950] (Panel ID)
  4. Set value to [0000] (it was blank)
  5. After I set value in [950], code [951] (Panel password) opened
  6. Set value to [0000]
  7. Button [CLEAR]

Not sure that it will help you, but you could try this out.

Good luck.

I would also like to give my best wishes to these amazing people, who makes these programs - thank you!

Hi I just did what you suggested because I was facing the same problem. The good news are that now I can arm/disarm the alarm through Home Assistant. The bad news are 1 All my zones are not responding. Both to HA and in Alarm actual panel. (I called the technician and we will see what we can do)

  1. As I read the [950] code does reset most of the programmed code in Paradox. For example right now if I manual need to disarm the alarm (from keyboard) it works with the default password eg 1234 and not the one we set few days ago. Here I need your help. Have you setup a private panel password or you left it with the default one in order to work with HA? Can HA arm/disarm if you set a personal panel password? Thanks

hope you are well and you will see the message

userMak commented 4 years ago

@mmodestas & @blooby78 There could be couple different reasons for this.

  • First relates to user pin / password set to fixed value "0000" in this integration, so if your panel does not have this code set, it will not be able to issue commands. Workaround would be to create this user pin as @blooby78 notes above.
  • Second reason would relate to two different firmware versions that pannels may be using. they are commonly referred to as NEWare and WinLoad. Each one takes a user pin/password in different places in message protocol that gets send to the control panel. Net effect is that attempting to use mismatched integration sketch and firmware versions, results in not being able to issue commands against it.

Now the differences for the two integrations mentioned :

  • https://github.com/maragelis/ParadoxRs232toMqtt Takes in the value for user pin/ password with every command payload, however his implementation is only supporting NEWare fiormware
  • This repository does not allow sending in user pin/password by any means and is preset to "0000", but its configured using older WinLoad firmware.

We will make a PR shortly, which should allow for selecting type of target panel firmware and user pin/password configuration setting during initial setup.

Hope this gives you better understanding.

Hi @DblD I just did what @mmodestas suggested because I was facing the same problem. The good news are that now I can arm/disarm the alarm through Home Assistant. The bad news are 1 All my zones are not responding. Both to HA and in Alarm actual panel. (I called the technician and we will see what we can do)

  1. As I read the [950] code does reset most of the programmed code in Paradox. For example right now if I manual need to disarm the alarm (from keyboard) it works with the default password eg 1234 and not the one we set few days ago. Here I need your help. Can I setup a private panel password or I should leave the default one in order to work with HA?

Can you provide us please the solution that will ""allow for selecting type of target panel firmware and user pin/password configuration setting during initial setup""?

Thanks

hope you are well and you will see the message

bigjuanpa commented 4 years ago

Hi, really nice project. I can see all the updates from the alarm but no arm or disarm the alarm. I didn't understand how to add a winload password on the pannel, y test the https://github.com/maragelis/ParadoxRs232toMqtt project and I can arm and disarm the alarm but not see the two panels. There is any why to mix the code and send the parameters to arm and disarm the alarm with the password? Thanks