Classes for turnouts
elperez77 opened this issue · 8 comments
Great job.
is it possible to implement the commands for turnouts?
LAN_X_GET_TURNOUT_INFO
LAN_X_SET_TURNOUT
Back when I last worked on this library, I'm pretty sure those weren't a part of the specification yet. I just checked the spec and it looks like it wouldn't be too hard to implement. However, I don't have my z21 set up at the moment, nor do I have any turnout decoders available, so I couldn't test it.
If you are willing to be a tester I can see what I can do about it.
i have implemented this features in my branch
Can you submit a PR? I don't currently have a z21 set up to test with, but I'd like to at least go through the code.
what is a PR, i am new on github. sorry
No worries. It's a pull request and you can check more about them here: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
Sorry,
I have already submitted a PR.
do you see the request?
Huh, my bad for not noticing it. I expected github to send me an email about a new PR, but it just didn't for some reason.
If your last comment on it (that it's not working) is no longer valid, I can take a look.
that message is about my first commit ([multiple broadcasts message).
i removed that code in the latest commit.
i implemented turnouts message to z21 and the response message (z21 send broadcast to each client) in order to change the turnouts status in my control panel