-
Notifications
You must be signed in to change notification settings - Fork 638
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
Relay not switching from Domoticz #2034
Milestone
Comments
This is a double whammy of not properly adjusting Domoticz stuff and pushing Tuya changes after 3 months. Also noticed in the mcspr/espurna-nightly-builder#7
You are correct that the check is completely unnecessary and does not even work because of the way vector is used. And it probably needs to be replaced with `std::bitset<RELAYS_MAX>` (and no need to resize) anyway to save a bit of code size and avoid pulling `vector<bool>` at all.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the new 1.14.0 on a SONOFF BASIC. Noticed that a) on/off commands from domoticz are not being executed despite them showing up in the DEBUG window and b) only transitions from off to on are being reported to domoticz.
Looked at which changes were implemented between functioning 1.13.5 and 1.14.0 and narrowed it down to this:
Commenting out the two if statements above as shown makes everything work smoothly again. I am not quite sure what those are supposed to do, maybe ">" instead of ">="? With only one relay, size() and id are both 0.
The text was updated successfully, but these errors were encountered: