Skip to content

Custom home assistant lovelace card showing how tilted the van is

Notifications You must be signed in to change notification settings

BikeAtor/van-tilt-sensor-custom-card

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

van-tilt-sensor-custom-card

Custom home assistant lovelace card showing how tilted the van is

To install the card, create a new folder in your "homeassistant/www/" directory called "van-tilt-card" and download the files to this directory. Then in Home Assistant go to Configuration - Lovelace Dashboards - Resources and click "Add Resource". Enter "/local/van-tilt-card/van-tilt-card.js" for the URL and "JavaScript Module" for the type and click create. Back in your main dashboard, you can now manually add the new card with the following code:

type: 'custom:van-tilt-card'<br>
entity_x: sensor.filtered_x_angle<br>
entity_y: sensor.filtered_y_angle<br>

alt text

type: custom:van-tilt-card-vario545
entity_x: sensor.panroll
entity_y: sensor.panpitch

Vario545

type: custom:van-tilt-card-bubble
title: Ausrichtung
# size in pixel
size: 350
# width in cm (should be tire to tire)
vehicleWidth: 240
# length in cm
vehicleLength: 400
entity_x: sensor.panroll
entity_y: sensor.panpitch

Bubble

About

Custom home assistant lovelace card showing how tilted the van is

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%