User Tools

Site Tools


homeautomatisation:iobroker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
homeautomatisation:iobroker [2022/02/24 20:53] illuhomeautomatisation: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 formats.+my docker-compose.yml
  
-first i created a volume for iobrokers data  +<code yml> 
-^ name ^ path ^ +version: "2"
-| broker_data | /opt/iobroker |+
  
-{{:portainer_volume_iobroker.jpg?600|}} +services
- +  iobroker: 
- +    container_name: iobroker 
-then the container +    imagebuanet/iobroker:latest 
-^ type ^ config ^ extra ^  +    hostname: iobroker 
-image buanet/iobroker:latest | |  +    network_mode: host 
-| volume container | /opt/iobroker | look above| +    restart: unless-stopped 
-| volume data | broker_data | look above|  +    ports: 
-| working dir | /opt/iobroker |data i create, will be stored here |  +      "80:80"      #alexahub  
-| network | host | due to node-red for echo need broadcast to detect new devices| +      "1880:1880 #node-red 
-| env USBDEVICES | /dev/ttyACM0 | this is my zigbee | +      - "1882:1882 #mqtt shelly 
-| runtime mode | privileged mode | for node-red listening on port 80+      - "1883:1883 #mqtt tasmota/sonoff 
-| runtime devices | container /dev/ttyACM0 -> host /dev/ttyACM0 | passthrough usb device| +      - "8091:8081 #iobrokeradmin 
- +      - "8092:8082 #vis 
-{{:portainer_iobroker_1.jpg?600|}} +        
- +    devices: 
-{{:portainer_iobroker_2.jpg?600|}} +      - /dev/ttyACM0:/dev/ttyACM0 
- +    environment: 
-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 | +      - /opt/docker-iobroker-redis/iobroker-data:/opt/iobroker 
-8082 | 8082 | iobroker web | +</code>
-| 8086 | 8086 | influx DB web |  +
-| 3001 | 3001 | grafana web | +
-| 38835 | 38835 | alexa proxy | +
- +
-{{:portainer_iobroker_3.jpg?600|}} +
- +
-{{:portainer_iobroker_4.jpg?600|}} +
- +
-{{:portainer_iobroker_5.jpg?600|}} +
- +
-{{:portainer_iobroker_6.jpg?600|}} +
- +
-when you are ready you can deploy the container. +
-if you need to edit some specifications, just edit the container and redeploy it.+
  
 +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