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
Rotate North. Keep arrow up. Optional secondary arrow. #155
Comments
What an excellent idea! Thanks for taking the time to help make this card even better. You're right, the N indicator can not be made dynamic with a sensor. I'll add this, and add E, S and W indicators as well. Multiple arrows are already possible. I'll whip up an example and post it here. |
TOM! Thanks for considering the feature, |
In v1.2.0 the background and e/s/w indicators are added. The dynamic N (and the other new ones ofc) will have to wait till v1.3.0 |
Don't worry tom! |
Good point! Looks like a lazy implementation from my side ;-) |
@tomvanswam, firstly thanks for great work. Just so I don't go down a rabbit hole someone's been to already, does using a template for a calculated offset to dynamically smoothly rotate the entire circle currently work? |
Unfortunately not het, thanks for asking and reminding me ;-) |
Heya! Wonder if you ever got to dynamic rotation (for boat heading) Thanks for your efforts - love your work! |
I'm halfway there, but time is slipping through my fingers lately. |
Hello! Sorry for may be stupid question, but how to include second stnsor into the compass? I want wind direction (arrow inward) and sun (when above horizon), with values of wind speed and azimuth, and house outline behind. So far I managed only wind and wind speed. |
With a config something like this type: 'custom:compass-card'
indicator_sensors:
- sensor: sensor.wind_direction
indicator:
type: inward
- sensor: sensor.sun_angle
indicator:
type: circle
value_sensors:
- sensor: sensor.wind_speed
- sensor: sensor.wind_sazimuth
compass:
circle:
background_image: /local/compass-card/house.png
background_opacity: 0.5 See example in the readme |
Is your feature request related to a problem? Please describe.
Used as a compass for a car, boat, or any moving vehicle.
Describe the solution you'd like
I would like to have a arrow pointing up, instead of the north, a north rotating, and if possible a second arrow pointing to the wind
Describe alternatives you've considered
I have tried to mess with the offset option, but couldn't make it work. Offset only allows values, not sensors, and I am neither sure if this would fix it.
Additional context
I have a wind direction sensor, a boat course, and a boat speed sensor, three sensors.
I would like to have it behave (Not look) like the two following:
Or if possible like this (arrow up, wind arrow, north rotating):
The text was updated successfully, but these errors were encountered: