Skip to content

UART sleep #48

@mat214

Description

@mat214

I use the script with node red to manage my battery.

After a while the command:
daly-bms-cli -d /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 --all

returns the same data inconsistently. For the correct data to come back I have to unplug and plug the USB-UART back in.

Here is the return of the command when it does not work correctly:

daly-bms-cli -d /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 --all { "soc": { "total_voltage": 0.0, "current": -3000.0, "soc_percent": 0.0 }, "cell_voltage_range": { "highest_voltage": 0.0, "highest_cell": 0, "lowest_voltage": 0.0, "lowest_cell": 0 }, "temperature_range": { "highest_temperature": -40, "highest_sensor": 0, "lowest_temperature": -40, "lowest_sensor": 0 }, "mosfet_status": { "mode": "stationary", "charging_mosfet": false, "discharging_mosfet": false, "capacity_ah": 0.0 }, "status": { "cells": 0, "temperature_sensors": 0, "charger_running": false, "load_running": false, "states": { "DI1": false }, "cycles": 0 }, "cell_voltages": null, "temperatures": null, "balancing_status": { "error": "not implemented" }, "errors": [] }

only the raspberry pi is connected to my battery. Daly returns me a consumption of 0 A while in charge I could clearly see 20A. I have in parallel a shunt and an ina226 which gives me a consumption of around 0.3 A.

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