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

RS485 Enable Pin - RS485 Max #5

Open
lugg8 opened this issue May 9, 2023 · 2 comments
Open

RS485 Enable Pin - RS485 Max #5

lugg8 opened this issue May 9, 2023 · 2 comments

Comments

@lugg8
Copy link

lugg8 commented May 9, 2023

Hey,
I am using the HW-097 Converter and I am wondering how to modify the code to get the RS485 communication working.
somewhere I must add the Enabler PIN (5) to the code.
may you assist here?

Many thanks in advance.

@14yannick
Copy link

I'm working on a rewrite of this code with the modbus implementation from this repository. https://github.com/kfroeschl/HCPBridgeHomeAssistant/tree/rewrite Kfroeschl use ModbusRTU where you can submit your enabler pin in the setup. Will publish an experimental branch im my repository as soon it's ready.

@14yannick
Copy link

Hey @lugg8 I pushed an experimental build here. https://github.com/14yannick/HCPBridgeMqtt/tree/development
There you can enter your enabler pin /src/hoermann.h line 216 put mb.begin(&RS485, 5);
Untested and without warranty.
Best regards

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