Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mg5050 control issue #5

Open
blooby78 opened this issue Oct 2, 2019 · 9 comments
Open

Mg5050 control issue #5

blooby78 opened this issue Oct 2, 2019 · 9 comments

Comments

@blooby78
Copy link

blooby78 commented Oct 2, 2019

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
Copy link

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
Copy link
Author

blooby78 commented Nov 6, 2019

Hello, no the problem is still present.

@mmodestas
Copy link

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
Copy link
Contributor

DblD commented Nov 29, 2019

@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.

@blooby78
Copy link
Author

Thanks for you answer, i wait your new PR.

@voltage84
Copy link

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
Copy link

userMak commented Mar 29, 2020

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)
2. 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
Copy link

userMak commented Mar 29, 2020

@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)
2. 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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants