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

Off-Grid mode display #590

Open
1 task done
Sn0w82 opened this issue Jan 4, 2025 · 9 comments
Open
1 task done

Off-Grid mode display #590

Sn0w82 opened this issue Jan 4, 2025 · 9 comments
Labels
type/feature A minor change

Comments

@Sn0w82
Copy link

Sn0w82 commented Jan 4, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

At this point if the grid is turned off or disconnects due to an outage, the card only stops showing the grid details and animation.

Expected behaviour

My suggestion will be that once grid is detected as not available card to display an X on the grid flow and display a off-grid small text message next to the X so it’s easier to spot and more nice as design.

added a picture as a reference for my proposal.
IMG_3118

Possible Solutions

No response

Mode

Both

Context / Reason

Design and executive look improvment.

@Sn0w82 Sn0w82 added the type/feature A minor change label Jan 4, 2025
@slipx06
Copy link
Owner

slipx06 commented Jan 10, 2025

Hi. You can set both the colour and the icon to be displayed when the grid is disconnected, See

disconnected_icon:
grid_off_colour:

{B2169CD7-71C6-4B59-8186-5A905D399732}

@Sn0w82
Copy link
Author

Sn0w82 commented Jan 10, 2025

Didn’t saw that. Thanks. Is doing the job.
Btw, everywhere i have the card flow card in swipe card mode, the grid import/export/disconnect pictures based on status is displayed in the top upper left corner. Picture attached.

where the flow card is deployed without any other cards in config, all is good and working as expected so i thibk it’s a bug from the swipe mix or something.
IMG_3268

@slipx06
Copy link
Owner

slipx06 commented Jan 11, 2025

Can you share your config and the custom cards you are using for the swiping?

@Sn0w82
Copy link
Author

Sn0w82 commented Jan 11, 2025

Config is here.
https://pastecode.io/s/56fbih0e

Cards used are:

  • custom:swipe-card --- as main type card
  • custom:sunsynk-power-flow-card --- for 1st card in the swipe
  • vertical-stack --- for 2nd card in the swipe

@slipx06
Copy link
Owner

slipx06 commented Jan 11, 2025

What browser are you using? There are some issues with Safari and foreign elements?
Try downloading the latest version 6.2.2. Its working for me in Chrome and Firefox

swipe

@Sn0w82
Copy link
Author

Sn0w82 commented Jan 11, 2025

I use chrome on my workstation and ios app on my phone and wife phone. All 3 show the same behavior in swipe card configuration and with different icons for grid status:

  disconnected_icon: mdi:transmission-tower-off
  export_icon: mdi:transmission-tower-import
  import_icon: mdi:transmission-tower-export

attaching also video with above icons not configured — all good.
Another one with above configured inside card config and issue being present.

ScreenRecording_01-11-2025.14-29-32_1.mp4
ScreenRecording_01-11-2025.14-30-56_1.mp4

@slipx06
Copy link
Owner

slipx06 commented Jan 11, 2025

I think it's related to issue #47 which I unfortunately do not have a fix for. The only workaround is to not use the custom icon. I don't think it has anything to do with the swipe card which seems to work fine on my end.

@Sn0w82
Copy link
Author

Sn0w82 commented Jan 11, 2025

It’s a posibility. Btw, on the flow card deployed alone same custom icons work without any problem.
IMG_3299

@Sn0w82
Copy link
Author

Sn0w82 commented Jan 13, 2025

Found a possible way for you to reproduce the issue it on your side:
Looks like when in swipe mode card, what you put as navigation target for grid icon acts as a solar navigation target too — that’s why grid icon is shown in same place with solar icon — as they basically take you to same target (the one setup for grid icon) even if you have different targets between solar and grid icons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature A minor change
Projects
None yet
Development

No branches or pull requests

2 participants