Closed jakezp closed 5 years ago
The console output formatting looks messed up. Here is the output as an attachment - REDACTED
Can you please enable full debug (DEBUG, packet dumps and message dumps) and send the log?
I've emailed the log file to you. Thank you.
Thanks for the email. The relevant log is the following:
DEBUG - PAI.paradox.paradox - Handle Event: {'major': (30, 'Special arming'), 'minor': (3, 'Partial arming'), 'type': 'Special'}
DEBUG - PAI.paradox.paradox - PC -> A b'500080030000000000000000000000000000000000000000000000000000000000010000d4'
DEBUG - PAI.paradox.paradox - PC <- A b'e214120b15110e061b00000000000000000000000000000000000000000000000000000068'
ERROR - PAI.paradox.hardware.spectra_magellan - Parsing message
Traceback (most recent call last):
File "pai/paradox/hardware/spectra_magellan/__init__.py", line 146, in parse_message
return LiveEvent.parse(message)
...
File "pai/paradox/hardware/spectra_magellan/adapters.py", line 675, in _decode
'minor': (obj[1], subEventGroupMap[obj[0]][obj[1]]),
KeyError: 27
The bug is confirmed and happens because we do not know what is the event 27 (0x1b) of a Non Reportable Event (0x06)
Tested the change...
2018-11-21 19:08:16,938 - DEBUG - PAI.paradox.paradox - Handle Event: {'major': (6, 'Non-reportable event'), 'minor': (27, 'Armed with trouble(s)'), 'type': 'NonReportable'}
And looks like it's working.
Thanks!
Great! Thanks.
When I arm the system in stay mode, I get the following error in the console:
Currently I am still testing and familiarizing myself with everything. So it might very possibly be something I am doing wrong. It seem to still work, as the alarm is armed in stay mode.
I would publish either arm_stay or STAY_ARM (depending if I have MQTT_HOMEBRIDGE_ENABLE as True or False).
I experience the same when using the existing remote for the alarm.
Details: Panel MG5050 version 5.33 build 2 IP150 Module (downgraded to <4 firmware)
Current user.conf:
Test, disam the system, wait a few seconds and arm it again. Below is the console output with DEBUG switched on.
Console output: REDACTED