Smart BMS (Daly) into Domoticz
Posted: Monday 21 March 2022 6:22
This script will execute the 'daly-bms-cli -d $USBPORT --all' using UART and put the output to a file,
get the value's from the output file, show them on console if needed, and send them to Domoticz, this is super simple, easy to change.
Many thanks to Dreadnought https://github.com/dreadnought/python-daly-bms
Requirements : apt install python3-pip curl - pip3 install dalybms - pip3 install pyserial
For console use : $WORKINGDIR/dalybms.sh
For crontab use : $WORKINGDIR/dalybms.sh >> /dev/null 2>&1
View content output file : cat $WORKINGDIR/dalybms.output.txt
For all the info : daly-bms-cli -d /dev/ttyUSB0 --all
For the help info : daly-bms-cli --help
1. Change the serial port (/dev/ttyUSB0)
2. Change the Domoticz IP & Port & IDX
3. Optional : Change the working directory, where you wanna place the files
get the value's from the output file, show them on console if needed, and send them to Domoticz, this is super simple, easy to change.
Many thanks to Dreadnought https://github.com/dreadnought/python-daly-bms
Requirements : apt install python3-pip curl - pip3 install dalybms - pip3 install pyserial
For console use : $WORKINGDIR/dalybms.sh
For crontab use : $WORKINGDIR/dalybms.sh >> /dev/null 2>&1
View content output file : cat $WORKINGDIR/dalybms.output.txt
For all the info : daly-bms-cli -d /dev/ttyUSB0 --all
For the help info : daly-bms-cli --help
1. Change the serial port (/dev/ttyUSB0)
2. Change the Domoticz IP & Port & IDX
3. Optional : Change the working directory, where you wanna place the files