services: # https://hub.docker.com/r/john30/ebusd
ebusd: #https://github.com/john30/ebusd/blob/master/contrib/docker/docker-compose.example.yaml
image: john30/ebusd
container_name: ebusd
restart: unless-stopped
ports:
- 8888:8888
- 8080:8080
devices:
- /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_6e4dcde89fdeea11b47832d299583cc7-if00-port0:/dev/ttyUSB0
networks:
network1:
ipv4_address: 192.168.178.212
volumes:
- ebusd_home:/home
- ebusd_etc:/etc/ebusd/
stdin_open: true
tty: true
environment:
EBUSD_DEVICE: "ens:/dev/ttyUSB0"
EBUSD_SCANCONFIG: ""
EBUSD_MQTTHOST: 192.168.178.211
EBUSD_MQTTPORT: 1883
EBUSD_MQTTCLIENTID: "ebusd"
EBUSD_MQTTUSER: "meinUser"
EBUSD_MQTTPASS: "meinPasswort"
EBUSD_MQTTTOPIC: "ebusd"
EBUSD_MQTTGLOBAL: "ebusd/global/"
#EBUSD_MQTTJSON: "s"
volumes:
ebusd_home:
ebusd_etc:
networks:
network1:
name: vlan-creation
external: true
#!/bin/bash
ebusctl read -c hmu EnergyIntegral
ebusctl read -c hmu State
ebusctl read -c hmu WaterThroughput
ebusctl read -c hmu Hours
ebusctl read -c hmu HoursHc
ebusctl read -c hmu EnergyHc
ebusctl read -c hmu CurrentYieldPower
ebusctl read -c hmu CurrentConsumedPower
echo "Script ReadValues.sh done." >> /var/log/ebusd.log
Zitat von: mediastudio am 12 November 2025, 20:38:17Das ,,pah"sind einfach meine Initialen
, weil ich dachte es bringt nix wenn ich in Win eh sehe das keine Verbindung besteht/zustande kommt.