Open taras-sereda opened 4 months ago
Hi @taras-sereda , Unfortunately there is no BLE API documented for the device, or at least, I'm not aware of any in open access. Initially I sniffed a couple of requests between Delta 2 and a mobile app which were most stable but now it can be out of date.
Packet structure seems to change from time to time so looking at your logs it seems that some of data items shifted to another place in packet, on instance even these below. MAX definitely should be > MIN but it is not.
StateField.CHARGE_TH_MIN = 89
StateField.CHARGE_TH_MAX = 61
Moreover in recent firmware updates the way of communication establishment was changed so currently I cannot execute any command for my Delta 2 and I do not know an easy way of figuring out how to establish connection.
Hi @anton-ptashnik, thank you for the reply,
Looks like there is no easy way to talk to the power station :( It's what it's, thank you for sharing the details.
Hi and thanks for this tiny lib!
I'm interested at the moment in the
REMAINING_TIME
attribute only and observed very noisy estimates for that value. Could it be a bug?Another question, can you elaborate more on how parsing of the packets work? Is there any specification I can consult?
Here is a code I'm running:
The output is as bellow: