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

Generator alternative to Grid #475

Closed
1 task done
tiaanv opened this issue Jun 4, 2024 · 10 comments
Closed
1 task done

Generator alternative to Grid #475

tiaanv opened this issue Jun 4, 2024 · 10 comments
Labels
type/feature A minor change

Comments

@tiaanv
Copy link

tiaanv commented Jun 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Card does not cater for generator input

Expected behaviour

My system is completely off-grid. Instead, I have a generator connected to my inverters. Would be great to be able to either add generator support, or simply for now make the Grid options cater for a different icon on the grid side.

Possible Solutions

Changeable Grid Icon.
Separate settings for Generator input.

Mode

Both

Context / Reason

This is probably only applicable to a very small subset of people, so not expecting too much effort/support for this. I could fork, and dive into this myself, but then it becomes a pain to maintain, if this does gain some favour, I am happy to do some potential dev as a starting point for a PR.

@tiaanv tiaanv added the type/feature A minor change label Jun 4, 2024
@slipx06
Copy link
Owner

slipx06 commented Jun 4, 2024

Hi. The card does support generator input. You should use the aux input.

image

@tiaanv
Copy link
Author

tiaanv commented Jun 4, 2024

Thx, for the feedback.
Yes, I know.
I really did not state my requirement well enough.

I prefer the "Lite" option for an overview, and in that mode the AUX is not shown. Grid however is.

Interestingly, I have come across an off-grid install, where the Grid input was used for the Generator, and the AUX/GEN input was used in smartload config.

I still appreciate, that this could be a silly requirement, but all it really boils down to, is being able to change the icon of the Grid.

@slipx06
Copy link
Owner

slipx06 commented Jun 4, 2024

Hi. Ok I understand the request. I'll take a look.

@slipx06 slipx06 closed this as completed in ae6eab5 Jun 5, 2024
@slipx06
Copy link
Owner

slipx06 commented Jun 5, 2024

@tiaanv Added to the latest release. Please test

grid:
  import_icon: mdi:generator-mobile
  export_icon: mdi:generator-mobile
  disconnected_icon: mdi:generator-mobile

@tiaanv
Copy link
Author

tiaanv commented Jun 6, 2024

I updated, it worked. Could even set the icons from the frontend, but then for some reason today, even though I have the yaml in there, it does not work, and the front-end options are reverted to the old one... Not sure if this has to do with HA updating...

Either way, It did work, and perfectly addressed my requirement. I really appreciate the change... Wanted to post some screenshots, but now it doesn't work. Will fiddle and report back when I can.

As a side note, but I could log another issue for that separately, the NAME is static, so when I enable Daily Import, it would say "Daily Grid Buy". Ideally this should use the NAME as provided in the Grid name?

@slipx06
Copy link
Owner

slipx06 commented Jun 6, 2024

Ok thanks for the feedback. It might be a caching issue. Not sure. Try clear your browser cache or incognito mode. Might be better to just change that to "Daily Import" and "Daily Export"

@tiaanv
Copy link
Author

tiaanv commented Jun 7, 2024

Got to be a caching issue. the "Daily Import" option is perfect.

@slipx06
Copy link
Owner

slipx06 commented Jun 8, 2024

@tiaanv
Copy link
Author

tiaanv commented Jun 8, 2024

image
Everything 100% I hoped for. Thank you!!! Enjoy the coffee! ;)

@slipx06
Copy link
Owner

slipx06 commented Jun 8, 2024

Thanks for the coffee 😄

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