Giter Site home page Giter Site logo

hassio-addon-repository's Introduction

My Addon Repo

🔔 note this project is looking for a new maintainer: matt-FFFFFF/hassio-addon-teslamate#124

Some of my addons for Home Assistant.

Adding to Home Assistant

Use the following URL: https://github.com/matt-FFFFFF/hassio-addon-repository

See installing third party addons from the Home Assistant documentation.

Issues and PRs

Please raise addon specific issues on the respective repos linked above, not this one.

hassio-addon-repository's People

Contributors

matt-ffffff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hassio-addon-repository's Issues

Awesome work! (I just wish I'd found this sooner)

I was about to pull my hair out trying to get a Teslamate docker install on my QNAP NAS to talk to the HA MQTT broker add-on. They appeared connected, but none of my sensors would update. I've since disabled MQTT in Teslamate and was just about to give up, when I discovered this (it would be great to get this into HACS, so more people would know about it and use it!).

A couple questions before I try this out:

  1. Is it possible to run two instances of this add-on? My wife will soon be getting a Tesla on her own Tesla account; it would be nice to have all that data in HA. Understood if not possible, as I know Teslamate is not intended to support multiple accounts. Eventually, we may merge our accounts, but I wanted each of us to get the supercharging referral bonus.

  2. Do you know if I'd be able to backup my data from my existing Teslamate install (2+ years of data) and restore it in this add-on? I've done so before using this guide, but I'm not sure how I'd do it here (I stumbled a few times figuring out how to do it in the QNAP environment). Perhaps it would be possible through the Terminal & SSH add-on (I'd just have to figure out where docker-compose resides - assuming it actually exists)?

  3. BONUS QUESTION... do you have a place where I could donate? I've already donated to adriankumpf and would like to show my gratitude for your great work!!

Thanks... this is awesome stuff!

502: Bad Gateway

When pressing open Web UI from the add-on TeslaMate I get an 502: Bad Gateway, so I had to add port (4000) in the Network section and then I can access the TeslaMate by going to http://addresstomyhass:4000/

I get the same problem with the 502: Bad Gateway, when I enable show in sidebar

jq: error: Could not open file /data/options.json: Permission denied

After updating the HA supervisor, it seems that the options.json file is out of reached because the teslamate addon isn't run with the root user, as it is stated here : home-assistant/supervisor#2158

Here are the logs of my instance :

jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
jq: error: Could not open file /data/options.json: Permission denied
/ha-bootstrap.sh: line 24: [: ==: unary operator expected
waiting for postgres at 127.0.0.1:5432 (2sec)

Is it possible to set the user as root in https://github.com/matt-FFFFFF/hassio-addon-repository/blob/master/teslamate/Dockerfile#L40 to fix the issue ?

Add TeslaMate dashboards to existing Grafana environment

I already have Grafana set-up and would like TeslaMate to use this instance for the dashboards. Unfortunately, the guide says the env_vars need to be set before the first start of Grafana as they are only parsed on first start-up.

Is there any way to achieve this? Any way to set the variables manually on an existing installation? Or do I have to run an extra Grafana installation for TeslaMate?

MQTT messages not recieved by HA MQTT broker

Everything is working except for the MQTT topics which are being streamed to Home Assistant MQTT broker,

connection is established on the MQTT broker on the HA side, and the topics are being subscribed as per log

20-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tasmota/discovery/#, mid: 101
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/battery_level, mid: 102
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/charge_energy_added, mid: 103
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/charge_limit_soc, mid: 104
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/charge_port_door_open, mid: 105
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/charger_actual_current, mid: 106
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/charger_phases, mid: 107
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/charger_power, mid: 108
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/charger_voltage, mid: 109
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/display_name, mid: 110
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/est_battery_range_km, mid: 111
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/healthy, mid: 112
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/ideal_battery_range_km, mid: 113
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/inside_temp, mid: 114
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/latitude, mid: 115
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/locked, mid: 116
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/longitude, mid: 117
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/odometer, mid: 118
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/outside_temp, mid: 119
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/plugged_in, mid: 120
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/rated_battery_range_km, mid: 121
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/scheduled_charging_start_time, mid: 122
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/sentry_mode, mid: 123
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/shift_state, mid: 124
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/speed, mid: 125
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/state, mid: 126
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/time_to_full_charge, mid: 127
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/update_available, mid: 128
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/version, mid: 129
2020-12-09 13:29:03 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to teslamate/cars/1/windows_open, mid: 130

But im not receiving updates from Teslamate to update those MQTT sensors, log is not showing any MQTT messages recieved for those topics.

Teslamate Addon log shows :

13:28:56.610 [info] MQTT connection has been established

Ive uninstalled / re-installed the MQTT broker addon, deleted the database, tried different username/pwd combos. None of this has fixed it.

Are you able to point me in the right direction on how to get MQTT live stream from the Teslamate Addon ?

Cannot index string with string "title"

New install, I appear to have Grafana, Mosquito, Postgres configured as instructed. Getting the following error:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:29:49] INFO: Checking for Grafana folder: TeslaMate
jq: error (at :1): Cannot index string with string "title"
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

grafana-map-panel not available

This grafana plugin is not available on the "charging stats" page.

This is caused by the plugin being in a third part repo and the HA community addon not being able to add it.

Will submit a PR to the owner of the Grafana addon to add the capability of running customer grafana-cli commands.

Grafana Import not showing

Hi thanks for putting this addon together, I managed to install the addon and pass the authentication errors i was getting.

I have an error on Grafana when I try to access the different dashboards :
Example: accessing 'Charge Details':

Templating [temp_unit]
Error updating options: Datasource named TeslaMate was not found

any ideas on this ?

[EDIT: Fixed the issue by adding the PostGres database into Grafana as a data-source ]

ELF not found

Trying ro run this addon my hassio supervizor version 214. I am running it on Raspberry

default configuration nothing changed
Only thing in the log is ...

/opt/app/erts-10.7/bin/erlexec: line 1: �ELF����: not found
/opt/app/erts-10.7/bin/erlexec: line 2: syntax error: unexpected "("

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.