diyBMS integration with teensy

Weighing communication options to transfer diyBMS data to a teensy homegrown monitoring system. My thoughts so far:

  • MQTT

    • Pros: already built into diyBMS
    • Cons: will require a local MQTT broker (no internet connectivity)
  • Influx dB

    • Pros: already built into diyBMS
    • Cons: no familiarity, unsure if any other hardware required
  • Serial

    • Pros: use Tx2/Rx2 on new (but not latest) diyBMS controller, no additional hardware required
    • Cons: will require code modifications, possibly branch
  • CANBUS

    • Pros: already built into diyBMS
    • Cons: will require CANBUS transceiver on teensy end, will have to reverse engineer Victron protocol
  • I2C Debug port

    • Pros: no additional hardware required
    • Cons: will require code modifications
  • Other options?

Comments/criticisms/brainstorming welcome!

Hi Billy, I’m controlling some old Outback gear using a teensy interface. For the DIYBMS info, I’ve just stuck Node-Red, with it’s builtin MQTT server, on an old Raspberry Pi and then forward what I need to the teensy via USB (serial). Might sound a bit long winded, but it’s been working reliably for the past 236 days, and gives you a lot of flexibility . I may move to direct canbus at some point, but as you say, it means implementing the reverse Victron/Pylontech protocol on the teensy plus adding the canbus transceiver hardware. So I probably won’t get around to it!