You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem you have/What new integration you would like
I have a solar battery powered esp32-c3 device that collects data from various sensors. Due to the variability of solar power availability, I need to manage the battery usage state.
When the battery voltage is very low, I use the deep_sleep component to preserve it. It works great, when the device goes into deep sleep mode, the state of the entities in Home Assistant retains the values.
Other times, when the battery voltage is low, but not nearly enough to shut down the device, to preserve the battery, I disable wifi with disable wifi action and then I can continue collecting data from sensors without losing filters and other time-based data, to then after a certain time, enable wifi and connect to home assistant.
That works fine, but Home Assistant shows the entities as unavailable (obvious thing while the device connection is not present).
So, this is the reason to submit a feature request, to implement an api.disconnet action that manually disconnects the device from the api just like the deep_sleep component does and that keeps the values of the entity states in home assistant until they are updated on the next connection.
Please describe your use case for this integration and alternatives you've tried:
The use I want to give it is to manually manage the connection to keep the battery charge status at values that allow collecting information from the sensors, from a mode of continuous updates, to a mode of very basic and periodic updates, passing through intermediate modes of variations in the periodicity of the updates.
Additional context
An example of the use I want to give it would be something similar to this:
Describe the problem you have/What new integration you would like
I have a solar battery powered esp32-c3 device that collects data from various sensors. Due to the variability of solar power availability, I need to manage the battery usage state.
When the battery voltage is very low, I use the deep_sleep component to preserve it. It works great, when the device goes into deep sleep mode, the state of the entities in Home Assistant retains the values.
Other times, when the battery voltage is low, but not nearly enough to shut down the device, to preserve the battery, I disable wifi with disable wifi action and then I can continue collecting data from sensors without losing filters and other time-based data, to then after a certain time, enable wifi and connect to home assistant.
That works fine, but Home Assistant shows the entities as unavailable (obvious thing while the device connection is not present).
So, this is the reason to submit a feature request, to implement an api.disconnet action that manually disconnects the device from the api just like the deep_sleep component does and that keeps the values of the entity states in home assistant until they are updated on the next connection.
Please describe your use case for this integration and alternatives you've tried:
The use I want to give it is to manually manage the connection to keep the battery charge status at values that allow collecting information from the sensors, from a mode of continuous updates, to a mode of very basic and periodic updates, passing through intermediate modes of variations in the periodicity of the updates.
Additional context
An example of the use I want to give it would be something similar to this:
The text was updated successfully, but these errors were encountered: