This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a POC that reads data from a Jiabaida BMS, as it is integrated | |
// in the Liontron battery that I have. | |
// It's basically the same information as it is displayed in the buggy app that | |
// comes with it. | |
const {createBluetooth} = require('node-ble') | |
const {bluetooth, destroy} = createBluetooth() | |
// BLE adress of the battery - this will be different from battery to battery | |
const DEVICE_ADRESS = "A4:C1:38:C5:96:C9"; |