Mount Synology on Raspberry

  1. create a user on Synology nas: pinas
  2. On raspberry mkdir a directory: NAS2
  3. mount:
sudo mount -t cifs //192.168.178.25/home /home/pi/NAS2 -o user=pinas,pass=xxxx,uid=1000,gid=1000,dir_mode=0700,file_mode=0600,vers=1.0

or add to /etc/fstab:

//192.168.178.25/home /home/pi/NAS2 cifs user=pinas,pass=xxxx,uid=1000,gid=1000
,dir_mode=0700,file_mode=0600,nounix,vers=1.0 0 0

ioBroker with docker, docker-compose, Homematic, grafana some hints

some hints which helped me:

docker-compose.yml, some ports

version: '2'

services:
iobroker:
restart: always
image: buanet/iobroker:latest
container_name: iobroker
hostname: iobroker
ports:
- "8081:8081"
- "1880:1880" #node-red
- "1883:1883" #mqtt
- "2001:2001" #homematic
- "2010:2010" #homematic
- "8082:8082" #iobroker admin
- "8282:8282" #flot
- "8088:8088" #terminal
- "8284:8284" #socketIO
- "33980:33980" #Alexa
- "37325:37325" #Alexa
volumes:
- ./iobrokerdata:/opt/iobroker

Adapter alexa 2.0

Externer Container: IP docker container
Proxy-Port choose at free will and add it to the docker ports

Grafana

to use grafana with docker-compose and to share a panel in vis in ioBroker I used this in docker-compose.yml:

grafana:
image: grafana/grafana:latest
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
- "3306:3306"
volumes:
- ./grafanadata:/grafana
- /var/lib/grafana:/var/lib/grafana
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_SECURITY_ALLOW_EMBEDDING=true