-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix issue in switchboxd boxtype manifest causing errors when toggling switchboxd relays #152
Fix issue in switchboxd boxtype manifest causing errors when toggling switchboxd relays #152
Conversation
Awesome PR. I will try it tomorrow and will back with feedback |
Note: I have also found data race when preserving latest state (thanks @shibby20 for testing it out so I could find the problem). This is now solved and there's pretty long code comment explaining the underlying problem. I have also updated boxtype manifests for all switchboxD devices with latest information from https://technical.blebox.eu/ |
@swistakm patch applied and looks good - no errors in log. Looks like NodeRed is working - i`m remote right now so ill check all when i back from work to home. But one is strange - i dont see PowerConsumption entities... meaning they appeared but are not available |
Uhh, turns out I made another mistake by swapping different API version variants in I've made a fix pushed it to this PR. I went a couple of times through it, and also double checked with specifications on https://technical.blebox.eu to make sure manifest is now aligned. Third time's the charm! Last but not least, there was yet another thing that got me confused. The example payload for If this PR works for you @shibby20 (I hope so) then we'll be most likely set. I've already messaged folks at BleBox regarding the release procedure for it. But if you will experience any more problems, then there is some information that would be extremely helpful in further investigating this:
|
@swistakm we are almost home. Power measurement units for switchBoxD have appeared but for switchBox it doesn't. So based on your commits i changed api_path and exteded_path in switchBox->20220114 to Thank you so much for your help |
Hi, I have the same problem. How to correct it in home assistant? |
8ff612c
to
d982d96
Compare
@slimek21 I just did a release of I'm going to submit a PR to homassistant in few minutes and will keep this thread updated. |
@shibby20 can you tell me how to update blebox integration in homeassistant?? |
@swistakm great job. I upgraded HA to latest version and force uniapi 2.2.1 - all works as intended, finally :) Thank you. @slimek21 you have to enter inside docker container with you HA instalation and edit file "/usr/src/homeassistant/homeassistant/components/blebox/manifest.json" - change blebox_uniapi from 2.2.0 to 2.2.1, save and restart you HA. Or just wait a little bit. I hope HA will accept new version of blebox_uniapi for next few days |
Works! |
This should resolve errors thrown when toggling relays as reported in #137