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
Last revisionBoth sides next revision
homeautomatisation:iobroker [2022/02/24 20:53] illuhomeautomatisation:iobroker [2023/12/16 09:30] 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|}} +      - "8099:8099"  #xterm 
- +        
-{{:portainer_iobroker_2.jpg?600|}} +    devices: 
- +      - /dev/ttyACM0:/dev/ttyACM0 
-Port forwarding was a process of trying and finding the right adapters. You may not forward all those ports, just u need right now. +    environment: 
-^ host ^ container ^ service ^ +      - IOB_STATESDB_HOST=127.0.0.1 
-| 80 | 80 | node-red listening for alexa detect new devices | +      - IOB_STATESDB_PORT=6379 
-1880 1880 node-red | +      - IOB_STATESDB_TYPE=redis 
-1882 1882 mqtt shelly | +      - SETGID=1200 
-1883 1883 mqtt sonoff | +      - SETUID=1200 
-8081 | 8081 | iobroker admin | +    volumes
-8082 | 8082 | iobroker web | +      - /opt/docker-iobroker-redis/iobroker-data:/opt/iobroker 
-| 8086 | 8086 | influx DB web |  +</code>
-| 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.txt · Last modified: 2023/12/16 23:02 by illu