You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,14 +26,22 @@ be a complete solution.
26
26
27
27
## Installation
28
28
29
+
### Python module
30
+
29
31
```bash
30
32
$ pip3 install --user modbus4mqtt
31
33
$ modbus4mqtt --help
32
34
```
33
35
36
+
### Docker container
37
+
34
38
Alternatively you can run Modbus4MQTT in a Docker container. A [Dockerfile](./Dockerfile) example is provided.
35
39
36
-
You will need to provide the credentials to connect to your MQTT broker, as well as a path to a YAML file that defines the memory map of your Modbus device. You can download these YAML files from this project's github repo.
40
+
```bash
41
+
$ docker pull tjhowse/modbus4mqtt:latest
42
+
$ docker run modbus4mqtt --help
43
+
```
44
+
When launching inside the docker container you will either need to use one of the built-in YAMLs like `/modbus4mqtt/modbus4mqtt/Sungrow_SH5k_20.yaml`, or map your custom YAML into the container in a volume.
0 commit comments