-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update rules library version - 2nd attempt #153
Conversation
Thanks for reverting. I continue testing for now on https://github.com/IgorYbema/HeishaMon/actions/runs/12793342635 |
Have you pinpointed the troubling commit? |
I did not go further then this PR commit but to me it looks like the large f9aabd4 The other commits are just small ones and don't see the issue there. The large commit is probably a merge of commits of the rules library commits but you would know better where to look I hope |
Is it possible to further simplify the rules to trigger the bug. I've analyzed the bytecode output with the previous and current version of the rule lib, but that doesn't show any functional difference. |
And to help debug this you can also add a |
You could that that also right? Just get a normal ESP8266 and upload the firmware to it. Doesn't need to be a heishamon board and doesn't need to be connected to a heatpump. Just load the rules and notice that after 40 seconds when the timer starts that the global vars are changed |
A small update. If I change the ruleset to this it still fails (it overwrites global vars with random numbers). But if I remove the "&& $minute == 0" part it works fine. Does this give a clue @CurlyMoo ?
|
Even funkier. If I strip it down to below it still fails on overwriting some global vars. But if I remove "#stateBeforeDHW = 1;" from the systemboot, heishamon crashes. I am not at my test station now so can't see the crash report. But this PR is too buggy I am afraid :(
|
Somehow the rules lib outputs something different on the ESP8266 than on a amd64: ESP8266
amd64
I do not yet know why. |
Is there a good reason for this PR to be merged into v3.9? What does it improve? Or can it wait until the bug is found? |
It fixes one of the issues filed in the Egyras repo. |
I see, this issue Egyras#291 |
I believe @CurlyMoo meant to fix issues Egyras#573 and Egyras#557 . |
Ok thank you. Both are not blocking for a v3.9 release. And for now it doesn't seem to be that the issue with this PR is fixed soon |
What makes you think that? |
Or maybe not :-) |
Should be fixed. |
Just tried this PR build but get "FATAL: function call 'setTimer' failed" while loading the rules from the comment #153 (comment) Did you test this yourself also? |
Yes, here: CurlyMoo/rules@605a896 |
Hmm, i tested with an even more compact ruleset, which didn't contain |
Wierd, i indeed see that |
It also fails in my unittests when i change |
Fixed |
Great to see a lot of activities! Are there specific things I can help testing? |
I am running now on https://github.com/IgorYbema/HeishaMon/actions/runs/12837044720 |
I’m on that same version as well.Op 18 jan 2025 om 00:16 heeft stumbaumr ***@***.***> het volgende geschreven:
I am running now on https://github.com/IgorYbema/HeishaMon/actions/runs/12837044720
First tests look ok.
Will have to wait for a DHW production process to be sure though...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
I confirm it passed the test which I did also. Waiting for you @stumbaumr to call it ok after a DHW run |
I already, by mistake, merged this into the main release. Wanted to make a testbranch and merge it there but forgot to switch branches. Don't want to revert it as probably this is still needed anyway. But that means that https://github.com/IgorYbema/HeishaMon/actions/runs/12842473673 will containt this PR and all other new stuff from v3.9. Hopefully this will be the final v3.9 release. |
Works fine in my setup. My smelly teenage sons even triggered a second DHW production. All good now for me! |
I don't know what was wrong with DHW but this afternoon my rules did work as planned to produce DHW and a Sterilization run as well. |
This PR exists due to a revert of the merge of #144
A bug exists which is discussed in that PR. Need to discuss it further here.