Skip to content

Commit

Permalink
Adding configuration option for Dashboard file path.
Browse files Browse the repository at this point in the history
Adding option for htmltoimage to use --no-sandbox to see if that makes
it working in docker environment.
  • Loading branch information
loftux committed Apr 25, 2021
1 parent ef7200f commit c9c7f94
Show file tree
Hide file tree
Showing 5 changed files with 845 additions and 789 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Configure the homebridge-camera-ffmpeg with

This is a source setting I've seen working, improvement suggestions welcome.

You also need to add configuration option `dashboardImageFilePath` for the folder where you want the dashboard file to be created. If blank, no dashboard file is generated.

### Configuration in your Home app
Since Apple Homekit do not have Accessories that maps 1 to 1 with managing a car, implementation has to choose existing Homekit accessories. Thus, the charging level is set using a Light Bulb (!), because that adds a slider to use for changing charge level. It will always stay on.
What you can do is to exclude it from showing in "status". Long press the accessory, scroll down to the settings icon, choose status. Un-tick include in home status. This way you get a cleaner interface.
Expand Down
7 changes: 7 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@
"type": "string"
}
},
"dashboardImageFilePath": {
"title": "Dashboard Image File PAth",
"type": "string",
"required": false,
"default": "",
"description": "Path to a writable directory where to create the Dashboard image [Tesla Car Name]_dashboard.png. Use same path in homebridge ffmpeg to show in Camera. Leave blank if you do not want dashboard image."
},
"disableTeslaOnlineAccessory": {
"title": "Disable Online",
"type": "boolean"
Expand Down
Loading

0 comments on commit c9c7f94

Please sign in to comment.