-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Bar chart does not update on "always on" Android tablet #250
Comments
Interesting, can you try changing to "refresh_interval: auto"? |
I'll try auto, thanks! The "now" line and rightmost, orange bar ( |
Got it. There may be an issue with the part of the caching system that removes duplicates, but I can't be sure |
Im having the same issue. you can see all values flatline after a minute or so. then I have to reload the page. happens on all devices, all browsers. setting it to :auto seems to resolve it, but it is nice having granular control over update time. some graphs you really want more realtime info, other can go hours before you need an update. |
Note that |
Quick update: |
That's super odd!
|
Auto works great. I changed all my graphs to use that.
… On Feb 16, 2023, at 1:50 PM, David Buezas ***@***.***> wrote:
other can go hours before you need an update
Note that auto does exactly that automatically. It receives updates pushed directly from home assistant. The only reason I left the update_interval option is for compatibility with the standard history card. I'll look into it when I have time, but don't be afraid of using auto :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
--
This message may contain confidential and/or privileged information. If
you are not the addressee or are not authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based on
this message or any information herein. If you have received this message
in error, please advise the sender immediately by reply email and delete
this message.
|
Android 12
I'm using the HA app. I'll try using Wallpanel today and see if anything changes.
It seems to only happen to the statistics entity - entity: sensor.kaifa_active_power_import
name: Forbruk
yaxis: 'y'
marker:
color: '#FF4560'
xperiod: 3600000
statistic: mean
period: hour
type: bar
unit_of_measurement: kWh
filters:
- map_y_numbers: y/1000.0
Yes, it's been happening since I created the plot about two weeks ago. |
Ok, I see. I have a hunch then. The API for statistics behaves somewhat different than the normal history one. |
(note that |
Describe the bug
I have an Android tablet that I use do display my Home Assistant dashboard. I've checked "keep screen on" option in the HA companion app.
The red bars ("Forbruk") in the attached screenshot does not seem to update correctly when the screen is left on, and I have to manually close and reopen the app to fix this. I have highlighted the area with missing bars in the screenshot.
This might appear on other devices/interfaces other than Android tablets, but it's the only device I have that is kept on and not interacted with for long periods :)
Screenshots
yaml
The full config is pretty complex, but the config for the red bars is pretty standard
The only thing I can think of that might be causing an issue is
xperiod: 3600000
, which I've used to align the bars in the center between full hours, instead of on each hour.Full config:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: