reinhard-brandstaedter / solarflow-control

A tool to automatically control Zendure's Solarflow hub with more flexibility to match home power demand
71 stars 12 forks source link

Bypass switch not available in HA anymore #254

Closed mavo closed 5 months ago

mavo commented 5 months ago

Hellow @reinhard-brandstaedter (and maybe @ricariel as I think you did the most for the HA integrations),

for some reason, since 3 days (shown by HA in the entity state) the switch for BP mode is not available anymore. image

This used to work fine, and I was able to flip it which also worked, but now its gone. I did not update the app (until yesterday, in a desperate attempt of fixing it by updating the app). Do you have any idea what could be the cause of this? Only thing I know that happened was a firmware update of the NAS where I run the containers. But as everything else works, I do not really consider this as the direct cause.

What kind of data / logs can I provide to investigate this?

Thanks in advance, MaVo

reinhard-brandstaedter commented 5 months ago

You should have “Bypass Mode” and “Bypass State” available, can you check?

image
mavo commented 5 months ago

Ahhh, I have no Idea why I did not see this, but yeah. You're right, that exists.

The only downside of it, its not populated with its current state -> it shows an empty selection (like in your screenshot). The older version did indicate its current value and updated it when the value changed in MQTT.

The "Bypass state" (from your 2nd screenshot) is something which (at least for me) never shows "true", even if the BP is on. But this might be still the issue with the BP state on hub2k. Thats why the older switch was slightly better, as I had an indication of what state it (should) have.

reinhard-brandstaedter commented 5 months ago

I actually just fixed a bug in the HA template for that selector. It should now be properly updated and propagated!

mavo commented 5 months ago

Awesome, I'll give it a try and close when it works, thank you!

mavo commented 5 months ago

Hello @reinhard-brandstaedter,

I now pulled latest dev build and I can see in the container, that the template is updated. However, HA still shows

image

Anything I can do?

MaVo

mavo commented 5 months ago

Any update, anything I can do?

reinhard-brandstaedter commented 5 months ago

I added the passMode to sensors now to get the current state. The select switch is not updating but works for changing/setting the passMode

image
mavo commented 5 months ago

Thank you. I can see the new entity in HA 🙇