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

DSC PC1550 Clasic Series 6 digit code compile ok but keep rebooting #324

Open
pansament opened this issue Aug 19, 2023 Discussed in #323 · 2 comments
Open

DSC PC1550 Clasic Series 6 digit code compile ok but keep rebooting #324

pansament opened this issue Aug 19, 2023 Discussed in #323 · 2 comments

Comments

@pansament
Copy link

pansament commented Aug 19, 2023

Discussed in #323

Originally posted by pansament August 15, 2023
I have managed to determinate that whet i set in sketch "accesCode" my 6 digit arm/disarm code in serial monitor it keeps rebooting.

If code not set everything is ok.

Do i need to configure alarm to work with 4 digit code?
Or what can i modify in sketch to work with 6 digit code?

This is error code from serial monitor:

⸮����⸮n⸮�r⸮⸮n|⸮ l ⸮ l��b��� b�r��l⸮nb⸮n� l`�⸮�r�l⸮l�⸮ ⸮

Static IP Configured
WiFi........connected: 25.25.25.151
MQTT....connected: 25.25.25.50
DSC Keybus Interface is online.

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (4):
epc1=0x400005cb epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

stack>>>

ctx: cont
sp: 3ffffe00 end: 3fffffd0 offset: 0150
3fffff50: 3fffdad0 3fffff80 40205d66 3fffff80
3fffff60: 3fffdad0 00000000 3ffeedc0 40204b69
3fffff70: 3fffdad0 00000000 3ffeedc0 40201d5f
3fffff80: 3ffe9010 fffffffc 00000080 40208848
3fffff90: 40204e8c 3ffe900e 3ffef048 3ffef0f0
3fffffa0: 3fffdad0 0000001f 3ffef048 3ffef0f0
3fffffb0: 3fffdad0 00000000 3ffef0c4 40205efc
3fffffc0: feefeffe feefeffe 3fffdab0 401014e9
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00052840
~ld
`

Later Edit:

Alarm system is not configurable to work with 4 digits access code.

I managet to make this project with VirtualKeyPad-Web but same problem, if i set "accessCode" in sketch keeps rebooting.
If i set first 4 digits in sketch I can arm by presing Arm button and presing last 2 digits of access code.
So the project is working but I need this to work with 6 digits access code so I can control alarm system from Home Assistant.
If I don`t set access code in sketch I can see in Home Assistant Zones and state of system but i cannot control it.
I did not find a way to send code from Home Assistant.

@kricon
Copy link
Contributor

kricon commented Mar 8, 2024

Hi @pansament, sorry for late answer.
I took a look at code and you could try manually editing line 712 in dscKeybusInterface/src/dscClassic.cpp:
if (strlen(accessCodeStay) < 4) { Try increasing it from 4 to 6.

As I don't have any 6-digit ClassicSeries panels available to confirm I'm hoping to hear back from you, so we can implement AccessCode string lenght checking and automatically setting 4 or 6 digit Access Code for ClassicSeries.

@pansament
Copy link
Author

pansament commented Mar 8, 2024

Hi @pansament, sorry for late answer. I took a look at code and you could try manually editing line 712 in dscKeybusInterface/src/dscClassic.cpp: if (strlen(accessCodeStay) < 4) { Try increasing it from 4 to 6.

As I don't have any 6-digit ClassicSeries panels available to confirm I'm hoping to hear back from you, so we can implement AccessCode string lenght checking and automatically setting 4 or 6 digit Access Code for ClassicSeries.

Hi @kricon, Thanks for the answer!
I've tried now to increase to 6 and test it and I'm getting same behavior/error.

I'm searching to buy a PC1616 board to replace what I have now if I cannot work with this board.

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

2 participants