User Tools

Site Tools


homeautomatisation:iobroker

Differences

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

Link to this comparison view

Next revision
Previous revision
homeautomatisation:iobroker [2022/02/24 20:38] – created illuhomeautomatisation:iobroker [2023/12/16 23:02] (current) illu
Line 1: Line 1:
 ====== ioBroker ====== ====== ioBroker ======
  
-first i created a volume for iobrokers data  +iobroker ([[homeautomatisation:https://www.iobroker.net/|homeautomatisation:https://www.iobroker.net/]]) is a free javascript based internet of things and homeautomatisation software. 
-^ name ^ path ^ +its possible to run it on a raspberry pi, container or own pc. lots of plugins and possibilities. 
-| broker_data | /opt/iobroker |+
  
-{{:portainer_volume_iobroker.jpg?600|}}+my docker-compose.yml
  
 +<code yml>
 +version: "2"
  
-then the container +services: 
-^ type ^ config ^ extra ^  +  iobroker: 
-image buanet/iobroker:latest | |  +    container_name: iobroker 
-| volume container | /opt/iobroker | look above| +    imagebuanet/iobroker:latest 
-| volume data | broker_data | look above|  +    hostname: iobroker 
-| working dir | /opt/iobroker |data i create, will be stored here |  +    network_mode: host 
-| network | host | due to node-red for echo need broadcast to detect new devices| +    restart: unless-stopped 
-| env USBDEVICES | /dev/ttyACM0 | this is my zigbee | +    ports: 
-| runtime mode | privileged mode | for node-red listening on port 80+      "80:80"      #alexahub  
-| runtime devices | container /dev/ttyACM0 -> host /dev/ttyACM0 | passthrough usb device| +      "1880:1880 #node-red 
- +      - "1882:1882 #mqtt shelly 
-{{:portainer_iobroker_1.jpg?600|}} +      - "1883:1883 #mqtt tasmota/sonoff 
- +      - "8091:8081 #iobrokeradmin 
-{{:portainer_iobroker_2.jpg?600|}} +      - "8092:8082 #vis 
- +        
-Port forwarding was a process of trying and finding the right adapters. You may not forward all those ports, just u need right now. +    devices: 
-^ host ^ container ^ service ^ +      - /dev/ttyACM0:/dev/ttyACM0 
-| 80 | 80 | node-red listening for alexa detect new devices | +    environment: 
-1880 1880 node-red | +      - IOB_STATESDB_HOST=127.0.0.1 
-1882 1882 mqtt shelly | +      - IOB_STATESDB_PORT=6379 
-1883 1883 mqtt sonoff | +      - IOB_STATESDB_TYPE=redis 
-8081 | 8081 | iobroker admin | +      - SETGID=1200 
-8082 | 8082 | iobroker web | +      - SETUID=1200 
-| 8086 | 8086 | influx DB web |  +    volumes
-| 3001 | 3001 | grafana web | +      - /opt/docker-iobroker-redis/iobroker-data:/opt/iobroker 
-| 38835 | 38835 | alexa proxy | +</code>
- +
-{{: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.1645731513.txt.gz · Last modified: 2022/02/24 20:38 by illu