-
Notifications
You must be signed in to change notification settings - Fork 117
Error message if bt-mqtt-gateway is started as home assistant addon #260
Comments
I have the same issue as @Micha70 |
@antoniomolram: Have a look on FaserF/hassio-addons#86. You can have a quick fix it by modifying start.h. |
I am checking this, but I don't know where this repo is located, and you mean start.sh, right? How looks your |
@antoniomolram the repo is located at /usr/share/hassio/addons/git/605cee21/bt-mqtt-gateway. Here I modified the start.sh and added the line After restart is working. I'm not sure if pressing the button "Rebuild" (the right one) is necessary. I did it. now log file looks like this: I hope I could help you and you get it running as well! |
Hi, thank you for the info, now I get other error.... xD
any idea about this new one? I tried to find it on internet but not too much info about it |
Looks like you have a problem with your bt-mqtt-gateway.yaml.... Did you ever used the bt-mqtt-gateway standalone? Or do you start directly using it as HA add-on? |
I was doing it with the HA add-on directly. I will try the standalone option. |
thank you for your comments Micha70, it was as you said a bt-mqtt-gateway.yaml error, some whitespaces issue. |
Describe the bug
Following error message appears if bt-mqtt-gateway is started as homeassistant addon (https://github.com/FaserF/hassio-addons/tree/master/bt-mqtt-gateway):
Found config file at /share/bt-mqtt-gateway.yaml . Copying it now. Starting bt-mqtt gateway in normal mode If there are any bugs occurring below this line, please report it to the bt-mqtt-gateway developer and not to @FaserF - thanks. Traceback (most recent call last): File "./gateway.py", line 63, in from config import settings File "/application/config.py", line 4, in with open(os.path.join(os.path.dirname(os.path.realpath(file)), "config.yaml"), "r") as f: IsADirectoryError: [Errno 21] Is a directory: '/application/config.yaml'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Addon can be started, and addon is working
Server (please complete the following information):
Additional context
running the bt-mqtt-gateway in an virtual environment since several month works very well.
Created also a issue on addon (FaserF/hassio-addons#86), however error message above refers to this developer of bt-mqtt-gateway.
The text was updated successfully, but these errors were encountered: