homeautomatisation:iobroker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| homeautomatisation:iobroker [2022/02/24 20:53] – illu | homeautomatisation:iobroker [2023/12/16 23:02] (current) – illu | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| its possible to run it on a raspberry pi, container or own pc. lots of plugins and possibilities. | its possible to run it on a raspberry pi, container or own pc. lots of plugins and possibilities. | ||
| - | like before, i just use docker | + | my docker-compose.yml |
| - | first i created a volume for iobrokers data | + | <code yml> |
| - | ^ name ^ path ^ | + | version: " |
| - | | broker_data | / | + | |
| - | {{:portainer_volume_iobroker.jpg? | + | services: |
| - | + | | |
| - | + | | |
| - | then the container | + | image: buanet/ |
| - | ^ type ^ config ^ extra ^ | + | |
| - | | image | buanet/ | + | |
| - | | volume container | /opt/iobroker | + | |
| - | | volume data | broker_data | look above| | + | |
| - | | working dir | / | + | - "80:80" |
| - | | network | host | due to node-red for echo need broadcast to detect new devices| | + | - "1880:1880" |
| - | | env USBDEVICES | / | + | - "1882:1882" |
| - | | runtime mode | privileged mode | for node-red listening on port 80| | + | - "1883:1883" |
| - | | runtime devices | container / | + | - "8091:8081" |
| - | + | - "8092:8082" | |
| - | {{:portainer_iobroker_1.jpg? | + | |
| - | + | | |
| - | {{: | + | - / |
| - | + | | |
| - | Port forwarding was a process of trying and finding the right adapters. You may not forward all those ports, just u need right now. | + | - IOB_STATESDB_HOST=127.0.0.1 |
| - | ^ host ^ container ^ service ^ | + | - IOB_STATESDB_PORT=6379 |
| - | | 80 | 80 | node-red listening for alexa detect new devices | | + | - IOB_STATESDB_TYPE=redis |
| - | | 1880 | 1880 | node-red | + | - SETGID=1200 |
| - | | 1882 | 1882 | mqtt shelly | + | - SETUID=1200 |
| - | | 1883 | 1883 | mqtt sonoff | + | volumes: |
| - | | 8081 | 8081 | iobroker admin | | + | - / |
| - | | 8082 | 8082 | iobroker web | | + | </ |
| - | | 8086 | 8086 | influx DB web | | + | |
| - | | 3001 | 3001 | grafana web | | + | |
| - | | 38835 | 38835 | alexa proxy | | + | |
| - | + | ||
| - | {{:portainer_iobroker_3.jpg?600|}} | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | {{:portainer_iobroker_5.jpg? | + | |
| - | + | ||
| - | {{:portainer_iobroker_6.jpg? | + | |
| - | + | ||
| - | when you are ready you can deploy the container. | + | |
| - | if you need to edit some specifications, | + | |
| + | i dont need to expose ports, but for own documentation its usefull. | ||
homeautomatisation/iobroker.1645732431.txt.gz · Last modified: 2022/02/24 20:53 by illu