Skip to content

Commit

Permalink
Update for wider compatibility
Browse files Browse the repository at this point in the history
Attempting to do an 8d00 command as the 'ping' packet fails on the 512/712 pumps.
Changing this command to 8000 (according to decocare, 'get history') produces correct functionality.
  • Loading branch information
Dave Acklam authored Dec 7, 2017
1 parent 22210e4 commit 2b7aa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmeowlink/mmtune.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def run_trial(self, var):
error_count = 0
rssi_readings = []
for i in xrange(sample_size):
self.send_packet("a7" + self.pumpserial + "8d00") # Get Model
self.send_packet("a7" + self.pumpserial + "8000") # DO not use 8d00 (get model), as it fails on 512/712. Use 8000 (get history).
try:
packet = self.get_packet(0.080)
success_count += 1
Expand Down

0 comments on commit 2b7aa6b

Please sign in to comment.