-
Notifications
You must be signed in to change notification settings - Fork 35
No Zone Labels or Panel Control #29
Comments
Just a suspicion here, but is your password perhaps longer than 16 bytes -
this is a limitation of the script.
…On Mon, 7 May 2018 at 16:38 janneslr ***@***.***> wrote:
Hi all, firstly thank you enabling an integration between my Paradox and
MQTT. This is awesome!
I have a MG5050 running Firmware version 4.97.001 with a IP150 Firmware
version 3.01
I am having 2 issues, but they are definitely related.
The first one is when I start to run the script, it does not pull the
labels successfully. I only get:
INFO:root:Logging into alarm system...
*2018-05-07 16:29:53,224 INFO Logging into alarm system... INFO:root:Login
to alarm panel successful 2018-05-07 16:29:53,482 INFO Login to alarm panel
successful INFO:root:State02: Logged into IP modeule successfully
2018-05-07 16:29:55,493 INFO State02: Logged into IP modeule successfully
INFO:root:State03: Preading labels 2018-05-07 16:29:55,500 INFO State03:
Preading labels INFO:root:State03:Updating all labels from alarm 2018-05-07
16:29:55,506 INFO State03:Updating all labels from alarm INFO:root:Labels
detected for wirelessKeypadLabel: 2018-05-07 16:29:56,762 INFO Labels
detected for wirelessKeypadLabel: INFO:root:{1: '', 2: '', 3: '', 4: '', 5:
'', 6: '', 7: '', 8: ''} 2018-05-07 16:29:56,767 INFO {1: '', 2: '', 3: '',
4: '', 5: '', 6: '', 7: '', 8: ''} INFO:root:updateAllLabels: Topic being
published Paradox/Labels/WirelessKeypads1:;2:;3:;4:;5:;6:;7:;8: 2018-05-07
16:29:56,775 INFO updateAllLabels: Topic being published
Paradox/Labels/WirelessKeypads1:;2:;3:;4:;5:;6:;7:;8: INFO:root:Labels
detected for wirelessSirenLabel: 2018-05-07 16:29:57,280 INFO Labels
detected for wirelessSirenLabel: INFO:root:{1: '', 2: '', 3: '', 4: ''}
2018-05-07 16:29:57,286 INFO {1: '', 2: '', 3: '', 4: ''}
INFO:root:updateAllLabels: Topic being published
Paradox/Labels/WirelessSirens1:;2:;3:;4: 2018-05-07 16:29:57,293 INFO
updateAllLabels: Topic being published
Paradox/Labels/WirelessSirens1:;2:;3:;4: INFO:root:Labels detected for
siteNameLabel: 2018-05-07 16:29:57,549 INFO Labels detected for
siteNameLabel: INFO:root:{1: ''} 2018-05-07 16:29:57,556 INFO {1: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/SiteNames1:
2018-05-07 16:29:57,562 INFO updateAllLabels: Topic being published
Paradox/Labels/SiteNames1: INFO:root:Labels detected for partitionLabel:
2018-05-07 16:29:57,819 INFO Labels detected for partitionLabel:
INFO:root:{1: '', 2: ''} 2018-05-07 16:29:57,825 INFO {1: '', 2: ''}
INFO:root:updateAllLabels: Topic being published
Paradox/Labels/Partitions1:;2: 2018-05-07 16:29:57,832 INFO
updateAllLabels: Topic being published Paradox/Labels/Partitions1:;2:
INFO:root:Labels detected for wirelessRepeaterLabel: 2018-05-07
16:29:58,338 INFO Labels detected for wirelessRepeaterLabel: INFO:root:{1:
'', 2: ''} 2018-05-07 16:29:58,345 INFO {1: '', 2: ''}
INFO:root:updateAllLabels: Topic being published
Paradox/Labels/WirelessRepeaters1:;2: 2018-05-07 16:29:58,351 INFO
updateAllLabels: Topic being published
Paradox/Labels/WirelessRepeaters1:;2: INFO:root:Labels detected for
outputLabel: 2018-05-07 16:30:00,359 INFO Labels detected for outputLabel:
INFO:root:{1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '',
10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: ''} 2018-05-07
16:30:00,367 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '',
9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: ''}
INFO:root:updateAllLabels: Topic being published
Paradox/Labels/Outputs1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:
2018-05-07 16:30:00,372 INFO updateAllLabels: Topic being published
Paradox/Labels/Outputs1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:
INFO:root:Labels detected for zoneLabel: 2018-05-07 16:30:04,385 INFO
Labels detected for zoneLabel: INFO:root:{1: '', 2: '', 3: '', 4: '', 5:
'', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15:
'', 16: '', 17: '', 18: '', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '',
25: '', 26: '', 27: '', 28: '', 29: '', 30: '', 31: '', 32: '', 99: 'Any
zone'} 2018-05-07 16:30:04,392 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6:
'', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '',
16: '', 17: '', 18: '', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '', 25:
'', 26: '', 27: '', 28: '', 29: '', 30: '', 31: '', 32: '', 99: 'Any zone'}
INFO:root:updateAllLabels: Topic being published
Paradox/Labels/Zones1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:;99:Any
zone 2018-05-07 16:30:04,398 INFO updateAllLabels: Topic being published
Paradox/Labels/Zones1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:;99:Any
zone INFO:root:Labels detected for userLabel: 2018-05-07 16:30:08,410 INFO
Labels detected for userLabel: INFO:root:{1: '', 2: '', 3: '', 4: '', 5:
'', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15:
'', 16: '', 17: '', 18: '', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '',
25: '', 26: '', 27: '', 28: '', 29: '', 30: '', 31: '', 32: ''} 2018-05-07
16:30:08,417 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '',
9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: '', 17: '', 18:
'', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '', 25: '', 26: '', 27: '',
28: '', 29: '', 30: '', 31: '', 32: ''} INFO:root:updateAllLabels: Topic
being published
Paradox/Labels/Users1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:
2018-05-07 16:30:08,423 INFO updateAllLabels: Topic being published
Paradox/Labels/Users1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:
INFO:root:Labels detected for busModuleLabel: 2018-05-07 16:30:10,433 INFO
Labels detected for busModuleLabel: INFO:root:{1: '', 2: '', 3: '', 4: '',
5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '',
15: ''} 2018-05-07 16:30:10,440 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6:
'', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: ''}
INFO:root:updateAllLabels: Topic being published
Paradox/Labels/BusModules1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:
2018-05-07 16:30:10,446 INFO updateAllLabels: Topic being published
Paradox/Labels/BusModules1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:
INFO:root:State03:Updating zone and alarm status*
The second is I can't control the alarm. So no Arm/Disarm etc control. The
script replies with success, but nothing happens on the alarm side.
If I login and logout from the Paradox mobile app before starting the
script, I successfully receive all labels and can control the alarm. But,
after around 90 seconds, I get a Software Logout message, and then can't
control the alarm anymore.
*INFO:root:MQTT Message: Paradox/C/P2 Disarm 2018-05-07 16:36:57,503 INFO
MQTT Message: Paradox/C/P2 Disarm INFO:root:Alarm control partition: 2
2018-05-07 16:36:57,509 INFO Alarm control partition: 2 INFO:root:Alarm
control state: Disarm 2018-05-07 16:36:57,516 INFO Alarm control state:
Disarm INFO:root:State04: Alarm Control Action: Alarm loging and starting
events 2018-05-07 16:37:00,299 INFO State04: Alarm Control Action: Alarm
loging and starting events INFO:root:Logging into alarm system...
2018-05-07 16:37:00,305 INFO Logging into alarm system... INFO:root:Login
to alarm panel successful 2018-05-07 16:37:00,561 INFO Login to alarm panel
successful INFO:root:Sending generic Alarm Control: Partition: 2, State:
DISARM 2018-05-07 16:37:02,569 INFO Sending generic Alarm Control:
Partition: 2, State: DISARM INFO:root:State04:Listening for events...*
With all of this being said, I always receive Zone events when movement or
whatever is detected by a sensor.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#29>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALGOjC-lohNPqMsr501QSXGQwKhsuwylks5twFxegaJpZM4T1FZv>
.
|
No, for the tests, I have made my password 0000 |
@Tertiush any other ideas perhaps? |
No sorry. Maybe have a look in the other issues for a pin code (not your
normal keypad pin) used within Winload that's sometimes changed from the
default causing login issues with the script. Maybe yours has been
changed....?
…On Fri, May 11, 2018, 09:11 janneslr ***@***.***> wrote:
@Tertiush <https://github.com/Tertiush> any other ideas perhaps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALGOjF22s86nzqhCvIb_Bd-2DL_JSW9Fks5txTmGgaJpZM4T1FZv>
.
|
Thanks @Tertiush I found the issue. Looks like Panel ID and PC Password (IP Password) needs to be 0000. Think you so much for this code!!! |
is this the pincode in the config.ini that needs to be 0000? Where is the panel id set? |
its in the panel 910 and 911 register, the script needs to be changed and must pass the 911 register (PC Password) back to the panel after the initial Login request. If the password has been changed and is not sent you cannot control the panel. |
Hi @psyciknz , like maragelis said. Both 910 and 911 needs to be 0000 |
What is that in baby ware? The pc password and what else the ip password? |
910 is panel Id, when requesting 0x5f “panel logon” it returns that id, which in return you pass it back with the 0x00 message and in byte 10 and 11 you set the 911 register “pc password” then you are authenticated. |
In baby ware it’s the panel id and pc password |
So does that use some sort of encryption when being passed back that cant be figured out when it's not 0000? |
I've just done some dumps between winload and the panel, with teh wrong panel id (in winload) and the correct one. I can find very little difference between the script, and the two winload dumps. I've noticed the response after the IP password is the only real packet that wrong. |
Yes only pc password is wrong |
You can see the message protocol here SPXXXX-Serial-Port-Protocol.docx |
Have you tried resolving that to the dumps from the logs?
This is the login sequence for an sp6000 (maybe a 7000), the two lines underneath are the winload wireshark lines, with an incorrect panel Id and pc password. Where in the document are these lines (so I can start resolving positions). |
if i am reading the dump correctly the first one is a disconnect command, and the second is a 0x00 message |
Unless there’s data here we’re not seeing. And this is just the 32 bytes in the middle? Hence my confusion. As even the wire shark dumps I only looked at the data part of a psh packet, but they still don’t match any part of that spec. Without getting some sort of match I can’t start making changes (I have a fork I’m working on) |
Hi all, firstly thank you enabling an integration between my Paradox and MQTT. This is awesome!
I have a MG5050 running Firmware version 4.97.001 with a IP150 Firmware version 3.01
I am having 2 issues, but they are definitely related.
The first one is when I start to run the script, it does not pull the labels successfully. I only get:
INFO:root:Logging into alarm system...
2018-05-07 16:29:53,224 INFO Logging into alarm system...
INFO:root:Login to alarm panel successful
2018-05-07 16:29:53,482 INFO Login to alarm panel successful
INFO:root:State02: Logged into IP modeule successfully
2018-05-07 16:29:55,493 INFO State02: Logged into IP modeule successfully
INFO:root:State03: Preading labels
2018-05-07 16:29:55,500 INFO State03: Preading labels
INFO:root:State03:Updating all labels from alarm
2018-05-07 16:29:55,506 INFO State03:Updating all labels from alarm
INFO:root:Labels detected for wirelessKeypadLabel:
2018-05-07 16:29:56,762 INFO Labels detected for wirelessKeypadLabel:
INFO:root:{1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: ''}
2018-05-07 16:29:56,767 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/WirelessKeypads1:;2:;3:;4:;5:;6:;7:;8:
2018-05-07 16:29:56,775 INFO updateAllLabels: Topic being published Paradox/Labels/WirelessKeypads1:;2:;3:;4:;5:;6:;7:;8:
INFO:root:Labels detected for wirelessSirenLabel:
2018-05-07 16:29:57,280 INFO Labels detected for wirelessSirenLabel:
INFO:root:{1: '', 2: '', 3: '', 4: ''}
2018-05-07 16:29:57,286 INFO {1: '', 2: '', 3: '', 4: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/WirelessSirens1:;2:;3:;4:
2018-05-07 16:29:57,293 INFO updateAllLabels: Topic being published Paradox/Labels/WirelessSirens1:;2:;3:;4:
INFO:root:Labels detected for siteNameLabel:
2018-05-07 16:29:57,549 INFO Labels detected for siteNameLabel:
INFO:root:{1: ''}
2018-05-07 16:29:57,556 INFO {1: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/SiteNames1:
2018-05-07 16:29:57,562 INFO updateAllLabels: Topic being published Paradox/Labels/SiteNames1:
INFO:root:Labels detected for partitionLabel:
2018-05-07 16:29:57,819 INFO Labels detected for partitionLabel:
INFO:root:{1: '', 2: ''}
2018-05-07 16:29:57,825 INFO {1: '', 2: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/Partitions1:;2:
2018-05-07 16:29:57,832 INFO updateAllLabels: Topic being published Paradox/Labels/Partitions1:;2:
INFO:root:Labels detected for wirelessRepeaterLabel:
2018-05-07 16:29:58,338 INFO Labels detected for wirelessRepeaterLabel:
INFO:root:{1: '', 2: ''}
2018-05-07 16:29:58,345 INFO {1: '', 2: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/WirelessRepeaters1:;2:
2018-05-07 16:29:58,351 INFO updateAllLabels: Topic being published Paradox/Labels/WirelessRepeaters1:;2:
INFO:root:Labels detected for outputLabel:
2018-05-07 16:30:00,359 INFO Labels detected for outputLabel:
INFO:root:{1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: ''}
2018-05-07 16:30:00,367 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/Outputs1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:
2018-05-07 16:30:00,372 INFO updateAllLabels: Topic being published Paradox/Labels/Outputs1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:
INFO:root:Labels detected for zoneLabel:
2018-05-07 16:30:04,385 INFO Labels detected for zoneLabel:
INFO:root:{1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: '', 17: '', 18: '', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '', 25: '', 26: '', 27: '', 28: '', 29: '', 30: '', 31: '', 32: '', 99: 'Any zone'}
2018-05-07 16:30:04,392 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: '', 17: '', 18: '', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '', 25: '', 26: '', 27: '', 28: '', 29: '', 30: '', 31: '', 32: '', 99: 'Any zone'}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/Zones1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:;99:Any zone
2018-05-07 16:30:04,398 INFO updateAllLabels: Topic being published Paradox/Labels/Zones1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:;99:Any zone
INFO:root:Labels detected for userLabel:
2018-05-07 16:30:08,410 INFO Labels detected for userLabel:
INFO:root:{1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: '', 17: '', 18: '', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '', 25: '', 26: '', 27: '', 28: '', 29: '', 30: '', 31: '', 32: ''}
2018-05-07 16:30:08,417 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: '', 16: '', 17: '', 18: '', 19: '', 20: '', 21: '', 22: '', 23: '', 24: '', 25: '', 26: '', 27: '', 28: '', 29: '', 30: '', 31: '', 32: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/Users1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:
2018-05-07 16:30:08,423 INFO updateAllLabels: Topic being published Paradox/Labels/Users1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:;16:;17:;18:;19:;20:;21:;22:;23:;24:;25:;26:;27:;28:;29:;30:;31:;32:
INFO:root:Labels detected for busModuleLabel:
2018-05-07 16:30:10,433 INFO Labels detected for busModuleLabel:
INFO:root:{1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: ''}
2018-05-07 16:30:10,440 INFO {1: '', 2: '', 3: '', 4: '', 5: '', 6: '', 7: '', 8: '', 9: '', 10: '', 11: '', 12: '', 13: '', 14: '', 15: ''}
INFO:root:updateAllLabels: Topic being published Paradox/Labels/BusModules1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:
2018-05-07 16:30:10,446 INFO updateAllLabels: Topic being published Paradox/Labels/BusModules1:;2:;3:;4:;5:;6:;7:;8:;9:;10:;11:;12:;13:;14:;15:
INFO:root:State03:Updating zone and alarm status
The second is I can't control the alarm. So no Arm/Disarm etc control. The script replies with success, but nothing happens on the alarm side.
If I login and logout from the Paradox mobile app before starting the script, I successfully receive all labels and can control the alarm. But, after around 90 seconds, I get a Software Logout message, and then can't control the alarm anymore.
INFO:root:MQTT Message: Paradox/C/P2 Disarm
2018-05-07 16:36:57,503 INFO MQTT Message: Paradox/C/P2 Disarm
INFO:root:Alarm control partition: 2
2018-05-07 16:36:57,509 INFO Alarm control partition: 2
INFO:root:Alarm control state: Disarm
2018-05-07 16:36:57,516 INFO Alarm control state: Disarm
INFO:root:State04: Alarm Control Action: Alarm loging and starting events
2018-05-07 16:37:00,299 INFO State04: Alarm Control Action: Alarm loging and starting events
INFO:root:Logging into alarm system...
2018-05-07 16:37:00,305 INFO Logging into alarm system...
INFO:root:Login to alarm panel successful
2018-05-07 16:37:00,561 INFO Login to alarm panel successful
INFO:root:Sending generic Alarm Control: Partition: 2, State: DISARM
2018-05-07 16:37:02,569 INFO Sending generic Alarm Control: Partition: 2, State: DISARM
INFO:root:State04:Listening for events...
With all of this being said, I always receive Zone events when movement or whatever is detected by a sensor.
The text was updated successfully, but these errors were encountered: