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

Dots jumping on Safari based UIs #82

Closed
SparkyDan555 opened this issue Jul 3, 2022 · 9 comments
Closed

Dots jumping on Safari based UIs #82

SparkyDan555 opened this issue Jul 3, 2022 · 9 comments
Labels
bug Something isn't working released

Comments

@SparkyDan555
Copy link

My entities update every second and when they do, the dots traversing the lines jump positions. They don't flow smoothly along the lines. To make matters worse, the entity for solar production doesn't always update at the same time as the entity for grid import/export so the dots jump around ver half a second or so. I think a fix needs to be implemented so the speed of the dots changes when the entities change in real-time, not just by calculating the time to travel along the line at the start of its path. i.e. if the power increases midway through the dot's travel, it speeds up right there and then.

@ulic75
Copy link
Owner

ulic75 commented Jul 5, 2022

This functionality should exist already as it was an initial issue I had to overcome when designing the card. I'd have to build some kind of custom setup to try to update multiple values every 0.5-1s to try to simulate what you describe.

@SparkyDan555
Copy link
Author

See the following screen recording as an example. When the values update, the dots kind of glitch and don't flow smoothly:

Screen.Recording.2022-07-05.at.7.45.38.pm.mov

@ulic75
Copy link
Owner

ulic75 commented Jul 5, 2022

Have you tried other browsers? Can you provide me your browser specifics?

@SparkyDan555
Copy link
Author

Just tried it in Chrome and it works okay. It seems to glitch in the Home Assistant companion app (2022.358) on iPhone, in Safari 15.5 on Mac and the companion app on Mac.

@ulic75
Copy link
Owner

ulic75 commented Jul 5, 2022

I was able to reproduce it in Safari. So at least I have something to test against.

@ulic75 ulic75 added the bug Something isn't working label Jul 5, 2022
@ulic75 ulic75 changed the title Dots jumping with high refresh rates Dots jumping on Safari based UIs Jul 5, 2022
@ulic75 ulic75 closed this as completed in 3ce9ebf Jul 5, 2022
github-actions bot pushed a commit that referenced this issue Jul 5, 2022
### [2.5.1](v2.5.0...v2.5.1) (2022-07-05)

### Bug Fixes

* smooth out flow dots on safari based guis ([#85](#85)) ([3ce9ebf](3ce9ebf)), closes [#82](#82)
@github-actions
Copy link

github-actions bot commented Jul 5, 2022

🎉 This issue has been resolved in version 2.5.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ulic75
Copy link
Owner

ulic75 commented Jul 5, 2022

Could be a little janky still, but should be an improvement.

@SparkyDan555
Copy link
Author

That looks much smoother, great work!

github-actions bot pushed a commit to timbrueggenthies/power-flow-card that referenced this issue Sep 8, 2022
## 1.0.0 (2022-09-08)

### ⚠ BREAKING CHANGES

* card name

card type will need to be changed from `custom:power-distribution-card` to `custom:power-flow-card`

### Features

* add new `dashboard_link` option (see readme) ([ulic75#46](https://github.com/timbrueggenthies/power-flow-card/issues/46)) ([e979053](e979053))
* add new `inverted_entities` option (see readme) ([ulic75#43](https://github.com/timbrueggenthies/power-flow-card/issues/43)) ([53200bb](53200bb))
* add new option `kw_decimals` ([ulic75#32](https://github.com/timbrueggenthies/power-flow-card/issues/32)) ([a2af9d0](a2af9d0))
* **flow:** add optional rate configuration ([ulic75#5](https://github.com/timbrueggenthies/power-flow-card/issues/5)) ([f258f49](f258f49))
* initial release ([ulic75#2](https://github.com/timbrueggenthies/power-flow-card/issues/2)) ([93e9da1](93e9da1))
* log unavailable/misconfigured entities to browser console ([ulic75#61](https://github.com/timbrueggenthies/power-flow-card/issues/61)) ([f32576a](f32576a))
* make power-flow-card available from the ui picker ([ulic75#38](https://github.com/timbrueggenthies/power-flow-card/issues/38)) ([fa16d3d](fa16d3d))
* off grid support ([ulic75#63](https://github.com/timbrueggenthies/power-flow-card/issues/63)) ([7676356](7676356))
* support grid<>battery flow ([ulic75#53](https://github.com/timbrueggenthies/power-flow-card/issues/53)) ([cf4b7b9](cf4b7b9))
* support split consumption/production entities ([ulic75#12](https://github.com/timbrueggenthies/power-flow-card/issues/12)) ([da78757](da78757)), closes [ulic75#8](https://github.com/timbrueggenthies/power-flow-card/issues/8)
* support watts and kilowats ([ulic75#18](https://github.com/timbrueggenthies/power-flow-card/issues/18)) ([9596eeb](9596eeb))
* watt decimals can be configured via w_decimals option ([ulic75#52](https://github.com/timbrueggenthies/power-flow-card/issues/52)) ([c15a375](c15a375)), closes [ulic75#45](https://github.com/timbrueggenthies/power-flow-card/issues/45)

### Bug Fixes

* always show solar value for consistency ([ulic75#9](https://github.com/timbrueggenthies/power-flow-card/issues/9)) ([adf4d15](adf4d15))
* debounce error logging ([ulic75#62](https://github.com/timbrueggenthies/power-flow-card/issues/62)) ([de73d05](de73d05))
* detection of grid return ([ulic75#13](https://github.com/timbrueggenthies/power-flow-card/issues/13)) ([adeee30](adeee30))
* display issue without battery_charge entity ([ulic75#11](https://github.com/timbrueggenthies/power-flow-card/issues/11)) ([79f84ca](79f84ca))
* prevent negative solar state ([ulic75#25](https://github.com/timbrueggenthies/power-flow-card/issues/25)) ([162376b](162376b)), closes [ulic75#23](https://github.com/timbrueggenthies/power-flow-card/issues/23)
* rename card to power-distribution-card ([6678525](6678525))
* round watts to 1 decimal place ([ulic75#22](https://github.com/timbrueggenthies/power-flow-card/issues/22)) ([2606dbd](2606dbd))
* smooth out flow dots on safari based guis ([ulic75#85](https://github.com/timbrueggenthies/power-flow-card/issues/85)) ([3ce9ebf](3ce9ebf)), closes [ulic75#82](https://github.com/timbrueggenthies/power-flow-card/issues/82)

### Miscellaneous Chores

* rename to power-flow-card ([ulic75#17](https://github.com/timbrueggenthies/power-flow-card/issues/17)) ([bb26ad7](bb26ad7)), closes [ulic75#15](https://github.com/timbrueggenthies/power-flow-card/issues/15)
@emign
Copy link

emign commented Sep 22, 2022

Hi. I use v 2.5.1 and I encounter the same problem. Its not as bad as the recording above but still noticeable. Especially if you use an iPad as Home dashboard. Can we maybe add a setting, which lets the card only update every x seconds?

Bildschirmaufnahme.2022-09-22.um.19.48.42.mov

flyrmyr pushed a commit to flyrmyr/system-flow-card that referenced this issue Feb 17, 2023
### [2.5.1](ulic75/power-flow-card@v2.5.0...v2.5.1) (2022-07-05)

### Bug Fixes

* smooth out flow dots on safari based guis ([#85](ulic75/power-flow-card#85)) ([3ce9ebf](ulic75/power-flow-card@3ce9ebf)), closes [#82](ulic75/power-flow-card#82)
github-actions bot pushed a commit to dbartokthomas/power-flow-card that referenced this issue Mar 15, 2023
## 1.0.0 (2023-03-15)

### ⚠ BREAKING CHANGES

* card name

card type will need to be changed from `custom:power-distribution-card` to `custom:power-flow-card`

### Features

* add new `dashboard_link` option (see readme) ([ulic75#46](https://github.com/japanfred/power-flow-card/issues/46)) ([e979053](e979053))
* add new `inverted_entities` option (see readme) ([ulic75#43](https://github.com/japanfred/power-flow-card/issues/43)) ([53200bb](53200bb))
* add new option `kw_decimals` ([ulic75#32](https://github.com/japanfred/power-flow-card/issues/32)) ([a2af9d0](a2af9d0))
* add support for display of gas and water ([ulic75#110](https://github.com/japanfred/power-flow-card/issues/110)) ([270b3e6](270b3e6))
* **flow:** add optional rate configuration ([ulic75#5](https://github.com/japanfred/power-flow-card/issues/5)) ([f258f49](f258f49))
* initial release ([ulic75#2](https://github.com/japanfred/power-flow-card/issues/2)) ([93e9da1](93e9da1))
* log unavailable/misconfigured entities to browser console ([ulic75#61](https://github.com/japanfred/power-flow-card/issues/61)) ([f32576a](f32576a))
* make power-flow-card available from the ui picker ([ulic75#38](https://github.com/japanfred/power-flow-card/issues/38)) ([fa16d3d](fa16d3d))
* off grid support ([ulic75#63](https://github.com/japanfred/power-flow-card/issues/63)) ([7676356](7676356))
* support grid<>battery flow ([ulic75#53](https://github.com/japanfred/power-flow-card/issues/53)) ([cf4b7b9](cf4b7b9))
* support split consumption/production entities ([ulic75#12](https://github.com/japanfred/power-flow-card/issues/12)) ([da78757](da78757)), closes [ulic75#8](https://github.com/japanfred/power-flow-card/issues/8)
* support watts and kilowats ([ulic75#18](https://github.com/japanfred/power-flow-card/issues/18)) ([9596eeb](9596eeb))
* watt decimals can be configured via w_decimals option ([ulic75#52](https://github.com/japanfred/power-flow-card/issues/52)) ([c15a375](c15a375)), closes [ulic75#45](https://github.com/japanfred/power-flow-card/issues/45)

### Bug Fixes

* always show solar value for consistency ([ulic75#9](https://github.com/japanfred/power-flow-card/issues/9)) ([adf4d15](adf4d15))
* debounce error logging ([ulic75#62](https://github.com/japanfred/power-flow-card/issues/62)) ([de73d05](de73d05))
* detection of grid return ([ulic75#13](https://github.com/japanfred/power-flow-card/issues/13)) ([adeee30](adeee30))
* display issue without battery_charge entity ([ulic75#11](https://github.com/japanfred/power-flow-card/issues/11)) ([79f84ca](79f84ca))
* **entity:** allowed for background again ([ulic75#116](https://github.com/japanfred/power-flow-card/issues/116)) ([84335be](84335be))
* prevent negative solar state ([ulic75#25](https://github.com/japanfred/power-flow-card/issues/25)) ([162376b](162376b)), closes [ulic75#23](https://github.com/japanfred/power-flow-card/issues/23)
* rename card to power-distribution-card ([6678525](6678525))
* round watts to 1 decimal place ([ulic75#22](https://github.com/japanfred/power-flow-card/issues/22)) ([2606dbd](2606dbd))
* smooth out flow dots on safari based guis ([ulic75#85](https://github.com/japanfred/power-flow-card/issues/85)) ([3ce9ebf](3ce9ebf)), closes [ulic75#82](https://github.com/japanfred/power-flow-card/issues/82)
* **solar:** text color to match energy-distribution-card ([ulic75#111](https://github.com/japanfred/power-flow-card/issues/111)) ([efab88f](efab88f))

### Miscellaneous Chores

* rename to power-flow-card ([ulic75#17](https://github.com/japanfred/power-flow-card/issues/17)) ([bb26ad7](bb26ad7)), closes [ulic75#15](https://github.com/japanfred/power-flow-card/issues/15)
github-actions bot pushed a commit to DBT85/DBT85PFC that referenced this issue Mar 15, 2023
## 1.0.0 (2023-03-15)

### ⚠ BREAKING CHANGES

* card name

card type will need to be changed from `custom:power-distribution-card` to `custom:power-flow-card`

### Features

* add new `dashboard_link` option (see readme) ([ulic75#46](https://github.com/DBT85/DBT85PFC/issues/46)) ([e979053](e979053))
* add new `inverted_entities` option (see readme) ([ulic75#43](https://github.com/DBT85/DBT85PFC/issues/43)) ([53200bb](53200bb))
* add new option `kw_decimals` ([ulic75#32](https://github.com/DBT85/DBT85PFC/issues/32)) ([a2af9d0](a2af9d0))
* add support for display of gas and water ([ulic75#110](https://github.com/DBT85/DBT85PFC/issues/110)) ([270b3e6](270b3e6))
* **flow:** add optional rate configuration ([ulic75#5](https://github.com/DBT85/DBT85PFC/issues/5)) ([f258f49](f258f49))
* initial release ([ulic75#2](https://github.com/DBT85/DBT85PFC/issues/2)) ([93e9da1](93e9da1))
* log unavailable/misconfigured entities to browser console ([ulic75#61](https://github.com/DBT85/DBT85PFC/issues/61)) ([f32576a](f32576a))
* make power-flow-card available from the ui picker ([ulic75#38](https://github.com/DBT85/DBT85PFC/issues/38)) ([fa16d3d](fa16d3d))
* off grid support ([ulic75#63](https://github.com/DBT85/DBT85PFC/issues/63)) ([7676356](7676356))
* support grid<>battery flow ([ulic75#53](https://github.com/DBT85/DBT85PFC/issues/53)) ([cf4b7b9](cf4b7b9))
* support split consumption/production entities ([ulic75#12](https://github.com/DBT85/DBT85PFC/issues/12)) ([da78757](da78757)), closes [ulic75#8](https://github.com/DBT85/DBT85PFC/issues/8)
* support watts and kilowats ([ulic75#18](https://github.com/DBT85/DBT85PFC/issues/18)) ([9596eeb](9596eeb))
* watt decimals can be configured via w_decimals option ([ulic75#52](https://github.com/DBT85/DBT85PFC/issues/52)) ([c15a375](c15a375)), closes [ulic75#45](https://github.com/DBT85/DBT85PFC/issues/45)

### Bug Fixes

* always show solar value for consistency ([ulic75#9](https://github.com/DBT85/DBT85PFC/issues/9)) ([adf4d15](adf4d15))
* debounce error logging ([ulic75#62](https://github.com/DBT85/DBT85PFC/issues/62)) ([de73d05](de73d05))
* detection of grid return ([ulic75#13](https://github.com/DBT85/DBT85PFC/issues/13)) ([adeee30](adeee30))
* display issue without battery_charge entity ([ulic75#11](https://github.com/DBT85/DBT85PFC/issues/11)) ([79f84ca](79f84ca))
* **entity:** allowed for background again ([ulic75#116](https://github.com/DBT85/DBT85PFC/issues/116)) ([84335be](84335be))
* prevent negative solar state ([ulic75#25](https://github.com/DBT85/DBT85PFC/issues/25)) ([162376b](162376b)), closes [ulic75#23](https://github.com/DBT85/DBT85PFC/issues/23)
* rename card to power-distribution-card ([6678525](6678525))
* round watts to 1 decimal place ([ulic75#22](https://github.com/DBT85/DBT85PFC/issues/22)) ([2606dbd](2606dbd))
* smooth out flow dots on safari based guis ([ulic75#85](https://github.com/DBT85/DBT85PFC/issues/85)) ([3ce9ebf](3ce9ebf)), closes [ulic75#82](https://github.com/DBT85/DBT85PFC/issues/82)
* **solar:** text color to match energy-distribution-card ([ulic75#111](https://github.com/DBT85/DBT85PFC/issues/111)) ([efab88f](efab88f))

### Miscellaneous Chores

* rename to power-flow-card ([ulic75#17](https://github.com/DBT85/DBT85PFC/issues/17)) ([bb26ad7](bb26ad7)), closes [ulic75#15](https://github.com/DBT85/DBT85PFC/issues/15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

3 participants