Skip to content

--mqtt-hass option do not send any messages to the mqtt broker #49

@byte4geek

Description

@byte4geek

Hi,

i'm trying to send data to home assistant but when i run the script nothing are send to the mqtt broker, what i wrong?
This is the command i run:

root@dockers-deb12:~/daly/python-daly-bms# daly-bms-cli -d /dev/ttyUSB0 --soc --mqtt-hass --mqtt-broker 192.168.1.2 --mqtt-user mqttuser --mqtt-password xxxxxxx
{
  "total_voltage": 54.0,
  "current": 47.3,
  "soc_percent": 35.7
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions