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

Balancer Status missing one Byte #294

Closed
gallersd opened this issue Jul 16, 2024 · 9 comments
Closed

Balancer Status missing one Byte #294

gallersd opened this issue Jul 16, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@gallersd
Copy link

BalancingOne consists of only 30 characters where it should be 32.

I assume line
towerAttributes[towerNumber].balacing = data.slice(17,32).toString("hex");
must be changed to
towerAttributes[towerNumber].balacing = data.slice(17,33).toString("hex");

@gallersd
Copy link
Author

... of course same for tower 2:

towerAttributes[towerNumber].balacing_two = data.slice(17,32).toString("hex");

change to

towerAttributes[towerNumber].balacing_two = data.slice(17,33).toString("hex");

@christianh17
Copy link
Owner

should be solved in github, can you please check?

@christianh17 christianh17 self-assigned this Jul 16, 2024
@christianh17 christianh17 added the bug Something isn't working label Jul 16, 2024
@gallersd
Copy link
Author

I installed via IObroker from GitHub but version number did not change.
Shall I try in another way ?

Further problem is that I seldomly see balancing - but will report ASAP ...

@christianh17
Copy link
Owner

I did not change the version number, just changed the code. This should work as long as you install via URL.

@gallersd
Copy link
Author

My Balancer started today and for me the bug is fixed.
The additional BitCount value is great and my calculation results in the same value.
So I do not need my own calc anymore :-)

I only see a minor issue with the Object Name "tower state" to be identical for
BalancingCountOne
BalancingCountTwo
BalancingOne
BalancingTwo

@christianh17
Copy link
Owner

Thanks for the feedback :-) Till now the states are only used in very few installations, so I could change it easily without thinking about a migration strategy. Do you have a suggestion for the name and structure of the states? I thought about one value per module but didn't have a good idea how to name the states.
Any suggestions are welcome!

@gallersd
Copy link
Author

BalancingBitCountOne
BalancingBitCountTwo
BalancingStateOne
BalancingStateTwo

@zloe
Copy link

zloe commented Aug 1, 2024

Wouldn't "BalancingCellCountXXX" be a more appropriate name?
It is the number of Cells that are being balanced, right?

@christianh17
Copy link
Owner

siehe andere Kommentare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants