Privatecoder / seplos-mqtt-remote-rs485

fetch data from one or multiple Seplos battery packs via (a) (remote) RS485 connection(s)
12 stars 4 forks source link

auto discovery not working #11

Closed manznOnly closed 3 months ago

manznOnly commented 3 months ago

hy,

At first at all - thx for that nice peace of software :D

I have a problem with the discovery in HomeAssistant - i get all packs in the mqtt broker, but it will never register to the auto discovery in the homeassistant topic.

Here is my config as i created the docker: docker run -itd \ --restart unless-stopped \ -e RS485_MASTER_REMOTE_IP="10.15.130.197" \ -e RS485_MASTER_REMOTE_PORT="4196" \ -e RS485_SLAVES_REMOTE_IP="10.15.130.198" \ -e RS485_SLAVES_REMOTE_PORT="4196" \ -e FETCH_MASTER=true \ -e NUMBER_OF_SLAVES=5 \ -e MIN_CELL_VOLTAGE=2.500 \ -e MAX_CELL_VOLTAGE=3.650 \ -e MQTT_HOST=10.15.130.2 \ -e MQTT_PORT=1883 \ -e MQTT_USERNAME=** \ -e MQTT_PASSWORD='**' \ -e MQTT_TOPIC=seplos \ -e MQTT_UPDATE_INTERVAL=0 \ -e ENABLE_HA_DISCOVERY_CONFIG=true \ -e HA_DISCOVERY_PREFIX=homeassistant \ -e MASTER_SERIAL_INTERFACE="/tmp/vcom0" \ -e SLAVES_SERIAL_INTERFACE="/tmp/vcom1" \ -e LOGGING_LEVEL=debug \ --name seplos-mqtt-rs485 \ privatecoder/seplos-mqtt-remote-rs485:v2.0.7

other autodiscovery working like my powermeter

image

is it possible to trigger the script manually to create the autodiscovery entries?

br, Manzn

manznOnly commented 3 months ago

Plese close this issue - it take a realy long time - but now it publish the autodiscovery topics ....