-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve device compatibility with optional sensors/switches #106
Conversation
The register that indicates whether the unit is configured as "family" or "pro" is not available on older firmware versions. Let's focus on the units people actually own.
The logic may not be correct but it's the best I can come up with at the moment
We'll need to access it quite frequently to check the automation type, and we must not overload the Modbus bus
@juntta @ssalmela @JohanElmis @Ta802 @tomrosenback if you have time it would be great if you could test this branch. The goal is that features/sensors not supported by your particular device should appear as disabled sensors in Home Assistant. In my case, the "Eco" switch is disabled, as well as control panel temperature, supply/exhaust fan speed, and of course all optional analog sensors since I don't have those. |
Might be out of the original test scope, but I ran into this error when running
|
Run npm install again |
Thanks 😀
|
Okay, seems like those coils aren't readable either, even though they should be according to the register lists I have available. I'll push and update to make those optional as well, I'll let you know when there's something new to test! |
Thanks, I am also trying to solve the issue for my particular device but need to learn things while doing. Modbus is all new to me. I am currently trying to use mbpoll to figure out what is readable and how. Having issues reading pretty much any registers now so I need to understand the root cause and verify there is not something specially wrong with my environment. A source mentioned that there could be limitations in reading one vs reading many at the same time. Or for writing. A lot to test. @Jalle19 please note, I suspect a hardware issue in my setup as the version 2.5 no longer works either. |
Okay, if version 2.5.0 doesn't work either then something must be wrong with your setup. Perhaps you need to try a different RS-485 adapter? |
FWIW I moved the other "cooling/heating allowed" switches behind a feature flag as well, so feel free to try the latest version of this branch again. |
Perhaps, I will buy one next week to not keep hitting the head in the wall. Unplugging USB and rebooting Enervent fixed it. Now I get some data published to broker before (?) the read error for coil 18. The homeassistant/# topics don't get published so I guess the read error terminates the script before those. |
Try the latest commit, it should not be reading coil 18 anymore in your case ( |
It is possible we may need to also disable all the "write" functions for "Legacy EDA" v1.97 (unless it is just my device, waiting for reply from Enervent).
|
No, writing should definitely work even with that firmware version. |
That makes no sense, not sure what's going on :/ |
@Ta802 fixed in the latest commit |
Yep. That fixed it for me. |
Better backward-compatibility
7a0d040
to
04a2f8c
Compare
No description provided.