Skip to content

Commit

Permalink
Added instructions on how to access the docker container (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyleta authored Mar 23, 2024
1 parent 9bfc5f5 commit 05dad5e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ebusd/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ The following example will force a reading of all messages from loaded csv confi
```ebusctl -s X.X.X.X f -l "*" -a|awk '{print $2}' | xargs -L1 -t ebusctl -s X.X.X.X r```
Where ```X.X.X.X``` is the address of the ebusd add-on.

## Running ebusd and ebusctl directly

To run ebusctl and/or ebusd directly (as suggested on other forums for debugging purposses) you need to SSH into the Docker container. For this you need the [**Advanced** SSH & Web Terminal](https://github.com/hassio-addons/addon-ssh) (not the standard one).

After getting the addon, you need to set a password in the configuration of the SSH addon otherwise it will not start.

Last step in preparing the addon is to disable the 'Protection mode' on the *Info* page of the addon.

Afterwards, in the SSH you can type in

```docker exec -it `docker ps | grep ebusd | awk '{print $1}'` /bin/bash```

and you are inside the docker container, where you can easily run `ebusctl` or `ebusd`.

## Custom command line options

Expand Down

0 comments on commit 05dad5e

Please sign in to comment.