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

Wait for a clear to send message? #53

Open
KBlixt opened this issue Jun 9, 2023 · 3 comments
Open

Wait for a clear to send message? #53

KBlixt opened this issue Jun 9, 2023 · 3 comments

Comments

@KBlixt
Copy link

KBlixt commented Jun 9, 2023

Hello, I'm considering using this module for some automation and was reviewing the client.

According to the wiki a client need to keep track of which channel the client have and wait for a "clear to send" message that contain the channel code of the client. And then send the message? Otherwise we could accidentally send our command while the main board sends a status update or whatnot.

It should be fairly easy to implement and I can do it myself but maybe I've misunderstood something here? So before I start I'd like to check with you if there is a reason for not waiting for the signal to send?

@natekspencer
Copy link
Collaborator

I believe the wiki is referring to the physical layer implementation and that the Wi-Fi module handles and filters out most of that.

@natekspencer
Copy link
Collaborator

@KBlixt this would be needed to support an RS-485 solution. But I don't have anything to test/debug that so would have to rely on someone else's work.

@KBlixt
Copy link
Author

KBlixt commented Jun 22, 2023

Ok, I have some plans to try to connect my spa to a raspberry pi through a RS-485 card and then control it through python on the raspberry pi. I'd have to alter the code to listen to these ready to send messages and replace the tcp layer with a serial port layer.

we just moved in so might be a while before I get to this but I hope to get to it before winter.

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