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

Fixes to SEC1.0 when no DIGITAL wall panel connected #208

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

mitchjs
Copy link
Contributor

@mitchjs mitchjs commented Jun 27, 2024

  • changed transmit of sec1 byte (affected digital wall panel emulation)
  • changed rules for packet (command) transmit when in wall panel emulation
  • tweaked log to console for wall plate emulation

@dkerr64
Copy link
Collaborator

dkerr64 commented Jun 28, 2024

Could you squash the two commits into one, then we can merge into main. Thanks.

src/comms.cpp Outdated
@@ -174,29 +174,31 @@ void wallPlate_Emulation() {
// wait up to 15 seconds to look for an existing wallplate or it could be booting, so need to wait
if (currentMillis - serialDetected < 15000 || wallplateBooting == true) {
if (currentMillis - lastRequestMillis > 1000) {
Serial.println("Looking for security+ 1.0 wall panel...");
Serial.println("Looking for security+ 1.0 DIGITAL wall panel...");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These log messages won't log over the network. Should consider using the macros instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea i know... could change, but it was that way before i touched the code for the sec 1 fix
let me change it, then @dkerr64 figure out how to squash commits :)

tweaked log to console for wall plate emulation
changed transmit of sec1 byte
changed logging method for wall panel detection
changed "ok to send" rules for xmit of  commands
@jgstroud
Copy link
Collaborator

Is this ready for merge?

@mitchjs
Copy link
Contributor Author

mitchjs commented Jun 29, 2024

@dkerr64, @jgstroud
should be good to go.... i was hoping more would test it, but it looks like just me and 1 other... oh well

@jgstroud
Copy link
Collaborator

Most of the users seem to have Sec+2 and most won't test until there is a new official release published. I'll merge it and do a 1.5.1 build.

@mitchjs
Copy link
Contributor Author

mitchjs commented Jun 29, 2024

ok, i assume you mean 1.6.1
im in debate to replace my old ass GDO, with a new Jackshaft one.... nothing really wrong with what i got
its just old :)

@jgstroud
Copy link
Collaborator

Yes, 1.6.1. The lift master jackshaft opener appears to use the same wall panel that I have, so this firmware should work with those as well.

@jgstroud jgstroud merged commit 784b313 into ratgdo:main Jun 29, 2024
@jgstroud
Copy link
Collaborator

I have a small PR I was working on. I'll do a build when I'm done with that.

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

Successfully merging this pull request may close these issues.

3 participants