Skip to content

Commit

Permalink
jk ble check for correct record type
Browse files Browse the repository at this point in the history
  • Loading branch information
jblance committed May 9, 2022
1 parent 7f77892 commit e66b5b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MPP-Solar Device Python Package #

__Note: python earlier than version 3.6 is not supported__

__Note 2: BREAKING CHANGE - command separator changed to `#`__

Python package with reference library of commands (and responses)
designed to get information from inverters and other solar inverters and power devices
Expand Down
2 changes: 1 addition & 1 deletion mppsolar/inout/jkbledelegate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def handleNotification(self, handle, data):
log.debug(
f"Not expected type of record - wiping data {self.notificationData}"
)
# self.notificationData = bytearray()
self.notificationData = bytearray()
if self._protocol.is_record_complete(self.notificationData):
self._jkbleio.record = self.notificationData
log.debug("record complete")
Expand Down
4 changes: 2 additions & 2 deletions mppsolar/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.12.2"
__version_comment__ = "influx_mqtt remove blank units"
__version__ = "0.12.3"
__version_comment__ = "jk ble check for correct record type"
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mppsolar"
version = "0.9.13"
version = "0.12.2"
description = "Package to communicate with Solar inverters and BMSs"
authors = ["John Blance"]

Expand All @@ -9,6 +9,7 @@ python = "^3.6"
pyserial = "*"
paho-mqtt = "*"
bluepy = "*"
pymongo = "*"

[tool.poetry.dev-dependencies]
check-manifest = "*"
Expand Down

0 comments on commit e66b5b6

Please sign in to comment.