|
1 | | -# BatteryHub 🔋 |
2 | | - |
3 | | -**Universal Battery Management System Monitor** - Real-time monitoring for multiple BMS types! |
4 | | - |
5 | | -[](https://www.python.org/downloads/) |
6 | | -[](LICENSE) |
7 | | -[](https://github.com/driller442/BatteryHub) |
8 | | - |
9 | | -> 🎯 **Monitor your battery in real-time with a beautiful web dashboard!** |
10 | | -
|
11 | | -## ✨ Features |
12 | | - |
13 | | -- 🔌 **Multi-BMS Support** - JBD, Daly, ANT, Overkill Solar, Xiaoxiang |
14 | | -- 📊 **Real-Time Monitoring** - Voltage, Current, SOC, Temperature, Power |
15 | | -- 📱 **Cell Voltage Tracking** - Individual cell monitoring with delta calculation |
16 | | -- 🌐 **Web Dashboard** - Responsive interface at http://localhost:5000 |
17 | | -- 📈 **Historical Graphs** - Interactive 24-hour charts with Chart.js |
18 | | -- 💾 **CSV Data Logging** - Automatic logging for external analysis |
19 | | -- ⚡ **Efficient BLE Protocol** - Notification-based (low power, fast updates) |
20 | | - |
21 | | -## 🚀 Quick Start |
22 | | - |
23 | | -```bash |
24 | | -git clone https://github.com/driller442/BatteryHub.git |
25 | | -cd BatteryHub |
26 | | -pip install -r requirements.txt |
27 | | -python monitor.py |
28 | | -Open http://localhost:5000 in your browser! |
29 | | - |
30 | | -📋 Supported BMS Hardware |
31 | | -BrandModelsStatus |
32 | | -JBDDP04S007, SP04S028, etc.✅ Fully Tested |
33 | | -Overkill SolarAll JBD chipset models✅ Compatible |
34 | | -XiaoxiangSmart BMS series✅ Compatible |
35 | | -DalySmart BMS with Bluetooth⚠️ Experimental |
36 | | -ANTLifepo4 BMS⚠️ Experimental |
37 | | -Hardware Tested |
38 | | -✅ JBD BMS DP04S007L4S100A (4S 100A) - Confirmed Working |
39 | | - |
40 | | -🔧 Configuration |
41 | | -Edit config.json with your BMS MAC address: |
42 | | - |
43 | | -json |
44 | | -{ |
45 | | - "user_config": { |
46 | | - "mac_address": "A5:C2:37:3D:2D:93", |
47 | | - "selected_profile": "JBD_Standard" |
48 | | - } |
49 | | -} |
50 | | -🐛 Troubleshooting |
51 | | -BMS Not Found? |
52 | | - |
53 | | -Ensure BMS is powered on |
54 | | - |
55 | | -Connect a load to wake from sleep |
56 | | - |
57 | | -Check Bluetooth is enabled |
58 | | - |
59 | | -Getting Zeros? |
60 | | - |
61 | | -BMS in sleep mode - connect load/charger |
62 | | - |
63 | | -Power cycle the BMS |
64 | | - |
65 | | -🤝 Contributing |
66 | | -Contributions welcome! See CONTRIBUTING.md |
67 | | - |
68 | | -Report bugs |
69 | | - |
70 | | -Add BMS profiles |
71 | | - |
72 | | -Submit pull requests |
73 | | - |
74 | | -📄 License |
75 | | -MIT License - see LICENSE file for details. |
76 | | - |
77 | | -⭐ Support This Project |
78 | | -If BatteryHub is useful to you: |
79 | | - |
80 | | -⭐ Star this repository |
81 | | - |
82 | | -📣 Share with the DIY battery community |
83 | | - |
84 | | -🐛 Report bugs or suggest features |
85 | | - |
86 | | -🤝 Contribute code or documentation |
87 | | - |
| 1 | +# BatteryHub 🔋 |
| 2 | + |
| 3 | +**Universal Battery Management System Monitor** - Real-time monitoring for multiple BMS types! |
| 4 | + |
| 5 | +[](https://www.python.org/downloads/) |
| 6 | +[](LICENSE) |
| 7 | +[](https://github.com/driller44/batteryhub) |
| 8 | + |
| 9 | +> 🎯 **Monitor your battery in real-time with a beautiful web dashboard!** |
| 10 | +
|
| 11 | +## ✨ Features |
| 12 | + |
| 13 | +- 🔌 **Multi-BMS Support** - JBD, Daly, ANT, Overkill Solar, Xiaoxiang |
| 14 | +- 📊 **Real-Time Monitoring** - Voltage, Current, SOC, Temperature, Power |
| 15 | +- 📱 **Cell Voltage Tracking** - Individual cell monitoring with delta calculation |
| 16 | +- 🌐 **Web Dashboard** - Responsive interface at http://localhost:5000 |
| 17 | +- 📈 **Historical Graphs** - Interactive 24-hour charts with Chart.js |
| 18 | +- 💾 **CSV Data Logging** - Automatic logging for external analysis |
| 19 | +- ⚡ **Efficient BLE Protocol** - Notification-based (low power, fast updates) |
| 20 | + |
| 21 | +## 🚀 Quick Start |
| 22 | + |
| 23 | +```bash |
| 24 | +git clone https://github.com/driller44/batteryhub.git |
| 25 | +cd BatteryHub |
| 26 | +pip install -r requirements.txt |
| 27 | +python monitor.py |
| 28 | +Open http://localhost:5000 in your browser! |
| 29 | + |
| 30 | +📋 Supported BMS Hardware |
| 31 | +BrandModelsStatus |
| 32 | +JBDDP04S007, SP04S028, etc.✅ Fully Tested |
| 33 | +Overkill SolarAll JBD chipset models✅ Compatible |
| 34 | +XiaoxiangSmart BMS series✅ Compatible |
| 35 | +DalySmart BMS with Bluetooth⚠️ Experimental |
| 36 | +ANTLifepo4 BMS⚠️ Experimental |
| 37 | +Hardware Tested |
| 38 | +✅ JBD BMS DP04S007L4S100A (4S 100A) - Confirmed Working |
| 39 | + |
| 40 | +🔧 Configuration |
| 41 | +Edit config.json with your BMS MAC address: |
| 42 | + |
| 43 | +json |
| 44 | +{ |
| 45 | + "user_config": { |
| 46 | + "mac_address": "A5:C2:37:3D:2D:93", |
| 47 | + "selected_profile": "JBD_Standard" |
| 48 | + } |
| 49 | +} |
| 50 | +🐛 Troubleshooting |
| 51 | +BMS Not Found? |
| 52 | + |
| 53 | +Ensure BMS is powered on |
| 54 | + |
| 55 | +Connect a load to wake from sleep |
| 56 | + |
| 57 | +Check Bluetooth is enabled |
| 58 | + |
| 59 | +Getting Zeros? |
| 60 | + |
| 61 | +BMS in sleep mode - connect load/charger |
| 62 | + |
| 63 | +Power cycle the BMS |
| 64 | + |
| 65 | +🤝 Contributing |
| 66 | +Contributions welcome! See CONTRIBUTING.md |
| 67 | + |
| 68 | +Report bugs |
| 69 | + |
| 70 | +Add BMS profiles |
| 71 | + |
| 72 | +Submit pull requests |
| 73 | + |
| 74 | +📄 License |
| 75 | +MIT License - see LICENSE file for details. |
| 76 | + |
| 77 | +⭐ Support This Project |
| 78 | +If BatteryHub is useful to you: |
| 79 | + |
| 80 | +⭐ Star this repository |
| 81 | + |
| 82 | +📣 Share with the DIY battery community |
| 83 | + |
| 84 | +🐛 Report bugs or suggest features |
| 85 | + |
| 86 | +🤝 Contribute code or documentation |
| 87 | + |
88 | 88 | Made with ❤️ for the DIY solar and battery enthusiast community |
0 commit comments