├── .github └── ISSUE_TEMPLATE │ └── bug-report.md ├── .gitignore ├── .idea ├── .gitignore ├── .name ├── batmon.iml ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── csv-plugin.xml ├── deployment.xml ├── dictionaries │ ├── Fabian.xml │ ├── fab.xml │ └── project.xml ├── encodings.xml ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── runConfigurations │ ├── block_compute.xml │ └── main.xml ├── sshConfigs.xml └── vcs.xml ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── LICENSE_BMS_BLE-HA ├── README.md ├── TODO.md ├── addon_main.sh ├── apparmor.txt ├── bmslib ├── __init__.py ├── algorithm.py ├── bms.py ├── bms_ble │ ├── __init__.py │ └── plugins │ │ ├── __init__.py │ │ └── cw20_bms.py ├── bt.py ├── cache │ ├── __init__.py │ ├── disk.py │ └── mem.py ├── group.py ├── models │ ├── BLE_BMS_wrap.py │ ├── __init__.py │ ├── ant.py │ ├── daly.py │ ├── daly2.py │ ├── dummy.py │ ├── jbd.py │ ├── jikong.py │ ├── litime.py │ ├── sok.py │ ├── supervolt.py │ └── victron.py ├── mqtt_util.py ├── pwmath.py ├── sampling.py ├── scan.py ├── sinks.py ├── store.py ├── test │ ├── data │ │ └── cw20_bms.json │ ├── group.py │ ├── test_cw20.py │ └── test_futures_pool.py ├── tracker.py ├── util.py └── wired │ ├── __init__.py │ └── transport.py ├── config.yaml ├── doc ├── Algorithms.md ├── BMSes.md ├── Battery Care.md ├── Calibration.md ├── Downgrade.md ├── Groups.md ├── HA Energy Dashboard.md ├── InfluxDB.md ├── LiFePo4.md ├── NOTES.md ├── Solar.md ├── Standalone.md ├── Telemetry.md └── dev │ ├── BT Sniffing.md │ ├── Cycle Logic.md │ ├── Impedance.md │ ├── ha bluetooth.md │ └── snooping.py ├── main.py ├── requirements.txt └── tools ├── bit_finder.py ├── bt_discovery.py ├── impedance ├── README.md ├── ac_impedance.py ├── block_compute.py ├── data.md ├── data.py ├── datasets.py ├── energy.py ├── imp.py ├── imp2.py ├── mppt_scan_I.csv ├── mppt_scan_V.csv ├── requirements.txt ├── stats.py └── test.py ├── old-data.md └── service_explorer.py /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | batmon -------------------------------------------------------------------------------- /.idea/batmon.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/batmon.iml -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/csv-plugin.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/csv-plugin.xml -------------------------------------------------------------------------------- /.idea/deployment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/deployment.xml -------------------------------------------------------------------------------- /.idea/dictionaries/Fabian.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/dictionaries/Fabian.xml -------------------------------------------------------------------------------- /.idea/dictionaries/fab.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/dictionaries/fab.xml -------------------------------------------------------------------------------- /.idea/dictionaries/project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/dictionaries/project.xml -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/encodings.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/block_compute.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/runConfigurations/block_compute.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/runConfigurations/main.xml -------------------------------------------------------------------------------- /.idea/sshConfigs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/sshConfigs.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE_BMS_BLE-HA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/LICENSE_BMS_BLE-HA -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/TODO.md -------------------------------------------------------------------------------- /addon_main.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/addon_main.sh -------------------------------------------------------------------------------- /apparmor.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/apparmor.txt -------------------------------------------------------------------------------- /bmslib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/__init__.py -------------------------------------------------------------------------------- /bmslib/algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/algorithm.py -------------------------------------------------------------------------------- /bmslib/bms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/bms.py -------------------------------------------------------------------------------- /bmslib/bms_ble/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bmslib/bms_ble/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bmslib/bms_ble/plugins/cw20_bms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/bms_ble/plugins/cw20_bms.py -------------------------------------------------------------------------------- /bmslib/bt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/bt.py -------------------------------------------------------------------------------- /bmslib/cache/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/cache/__init__.py -------------------------------------------------------------------------------- /bmslib/cache/disk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/cache/disk.py -------------------------------------------------------------------------------- /bmslib/cache/mem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/cache/mem.py -------------------------------------------------------------------------------- /bmslib/group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/group.py -------------------------------------------------------------------------------- /bmslib/models/BLE_BMS_wrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/BLE_BMS_wrap.py -------------------------------------------------------------------------------- /bmslib/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/__init__.py -------------------------------------------------------------------------------- /bmslib/models/ant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/ant.py -------------------------------------------------------------------------------- /bmslib/models/daly.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/daly.py -------------------------------------------------------------------------------- /bmslib/models/daly2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/daly2.py -------------------------------------------------------------------------------- /bmslib/models/dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/dummy.py -------------------------------------------------------------------------------- /bmslib/models/jbd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/jbd.py -------------------------------------------------------------------------------- /bmslib/models/jikong.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/jikong.py -------------------------------------------------------------------------------- /bmslib/models/litime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/litime.py -------------------------------------------------------------------------------- /bmslib/models/sok.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/sok.py -------------------------------------------------------------------------------- /bmslib/models/supervolt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/supervolt.py -------------------------------------------------------------------------------- /bmslib/models/victron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/models/victron.py -------------------------------------------------------------------------------- /bmslib/mqtt_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/mqtt_util.py -------------------------------------------------------------------------------- /bmslib/pwmath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/pwmath.py -------------------------------------------------------------------------------- /bmslib/sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/sampling.py -------------------------------------------------------------------------------- /bmslib/scan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/scan.py -------------------------------------------------------------------------------- /bmslib/sinks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/sinks.py -------------------------------------------------------------------------------- /bmslib/store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/store.py -------------------------------------------------------------------------------- /bmslib/test/data/cw20_bms.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/test/data/cw20_bms.json -------------------------------------------------------------------------------- /bmslib/test/group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/test/group.py -------------------------------------------------------------------------------- /bmslib/test/test_cw20.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/test/test_cw20.py -------------------------------------------------------------------------------- /bmslib/test/test_futures_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/test/test_futures_pool.py -------------------------------------------------------------------------------- /bmslib/tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/tracker.py -------------------------------------------------------------------------------- /bmslib/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/util.py -------------------------------------------------------------------------------- /bmslib/wired/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/wired/__init__.py -------------------------------------------------------------------------------- /bmslib/wired/transport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/bmslib/wired/transport.py -------------------------------------------------------------------------------- /config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/config.yaml -------------------------------------------------------------------------------- /doc/Algorithms.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/Algorithms.md -------------------------------------------------------------------------------- /doc/BMSes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/BMSes.md -------------------------------------------------------------------------------- /doc/Battery Care.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/Battery Care.md -------------------------------------------------------------------------------- /doc/Calibration.md: -------------------------------------------------------------------------------- 1 | # 2 | 3 | current_calibration: 1.025 2>1.053 -------------------------------------------------------------------------------- /doc/Downgrade.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/Downgrade.md -------------------------------------------------------------------------------- /doc/Groups.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/Groups.md -------------------------------------------------------------------------------- /doc/HA Energy Dashboard.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/HA Energy Dashboard.md -------------------------------------------------------------------------------- /doc/InfluxDB.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/InfluxDB.md -------------------------------------------------------------------------------- /doc/LiFePo4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/LiFePo4.md -------------------------------------------------------------------------------- /doc/NOTES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/NOTES.md -------------------------------------------------------------------------------- /doc/Solar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/Solar.md -------------------------------------------------------------------------------- /doc/Standalone.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/Standalone.md -------------------------------------------------------------------------------- /doc/Telemetry.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/Telemetry.md -------------------------------------------------------------------------------- /doc/dev/BT Sniffing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/dev/BT Sniffing.md -------------------------------------------------------------------------------- /doc/dev/Cycle Logic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/dev/Cycle Logic.md -------------------------------------------------------------------------------- /doc/dev/Impedance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/dev/Impedance.md -------------------------------------------------------------------------------- /doc/dev/ha bluetooth.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/dev/ha bluetooth.md -------------------------------------------------------------------------------- /doc/dev/snooping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/doc/dev/snooping.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/requirements.txt -------------------------------------------------------------------------------- /tools/bit_finder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/bit_finder.py -------------------------------------------------------------------------------- /tools/bt_discovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/bt_discovery.py -------------------------------------------------------------------------------- /tools/impedance/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/README.md -------------------------------------------------------------------------------- /tools/impedance/ac_impedance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/ac_impedance.py -------------------------------------------------------------------------------- /tools/impedance/block_compute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/block_compute.py -------------------------------------------------------------------------------- /tools/impedance/data.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/data.md -------------------------------------------------------------------------------- /tools/impedance/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/data.py -------------------------------------------------------------------------------- /tools/impedance/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/datasets.py -------------------------------------------------------------------------------- /tools/impedance/energy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/energy.py -------------------------------------------------------------------------------- /tools/impedance/imp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/imp.py -------------------------------------------------------------------------------- /tools/impedance/imp2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/imp2.py -------------------------------------------------------------------------------- /tools/impedance/mppt_scan_I.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/mppt_scan_I.csv -------------------------------------------------------------------------------- /tools/impedance/mppt_scan_V.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/mppt_scan_V.csv -------------------------------------------------------------------------------- /tools/impedance/requirements.txt: -------------------------------------------------------------------------------- 1 | matplotlib 2 | pandas -------------------------------------------------------------------------------- /tools/impedance/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/stats.py -------------------------------------------------------------------------------- /tools/impedance/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/impedance/test.py -------------------------------------------------------------------------------- /tools/old-data.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/old-data.md -------------------------------------------------------------------------------- /tools/service_explorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fl4p/batmon-ha/HEAD/tools/service_explorer.py --------------------------------------------------------------------------------