Skip to content

Commit a7e3c1e

Browse files
Update README.md
1 parent 43ce33e commit a7e3c1e

File tree

1 file changed

+10
-22
lines changed

1 file changed

+10
-22
lines changed

README.md

+10-22
Original file line numberDiff line numberDiff line change
@@ -79,28 +79,6 @@ $ python -m aiocomfoconnect get-property --host 192.168.1.213 1 1 8 9 # Unit 0x
7979
- `async cmd_rpdo_request(pdid, type, zone, timeout)`: Send a RPDO request.
8080
- `async cmd_keepalive()`: Send a keepalive message.
8181

82-
## Docker
83-
84-
### Description
85-
Docker with aiocomfoconnect allow to experiment and develop on local machine using same image and same environment on any platform where we can run container.
86-
This allow us to skip some platform issues and work on similar things and python version by easly swapping them in Dockerfile.
87-
88-
### Building
89-
90-
Build the image command
91-
```
92-
make build
93-
```
94-
95-
### Running
96-
Now after we build our images is called `aiocomfoconnect`
97-
98-
To run aiocomfoconnect we can use bellow command in this case with `--help` arg.
99-
```
100-
docker run aiocomfoconnect --help
101-
```
102-
Any args from `aiocomfoconnect` can be passed into this image run just like for `python3 -m aiocomfoconnect` command in local build.
103-
10482
## Examples
10583

10684
### Discovery of ComfoConnect LAN C Bridges
@@ -187,3 +165,13 @@ pip3 install grpcio-tools
187165
python3 -m grpc_tools.protoc -Iprotobuf protobuf/nanopb.proto --python_out=aiocomfoconnect/protobuf
188166
python3 -m grpc_tools.protoc -Iprotobuf protobuf/zehnder.proto --python_out=aiocomfoconnect/protobuf
189167
```
168+
169+
### Docker
170+
171+
You can build a Docker image to make it easier to develop and experiment on your local machine. You can use the `docker build -t aiocomfoconnect .` or the shortcut `make build` command to create a docker image.
172+
173+
Next, you can run this image by running `docker run aiocomfoconnect`. Any args from `aiocomfoconnect` can be passed into this command, just like the `python3 -m aiocomfoconnect` command.
174+
175+
## Interesting 3th party repositories
176+
177+
* https://github.com/oysteing/comfoconnect-mqtt-bridge

0 commit comments

Comments
 (0)