Wrong data readout

Bug #759575 reported by T-Lo
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
PySleep
Fix Committed
High
Christian Hintze

Bug Description

The link reads as follows:

a=0:00&w=0&t=0:192&dt=192:4,0:30,20:0,0:8,6:15,0:0,192:0,5:57,188:5,0:52,1:9,1:25,1:56,2:43,2:53,3:35,3:54,4:16,4:57,5:20,5:43,6:13,6:39,7:3,7:17,7:41,7:47,192:0

a schould be 8:15
w should be 30
t should be 0:27
dt should be 0:52, 1:09, 1:25, ..., 7:47

Related branches

T-Lo (ausserirdischer)
Changed in pysleep:
assignee: nobody → hintze (hintze)
Revision history for this message
Christian Hintze (hintze) wrote :

fixed.

communications.py looks now for leading zeroes in the raw data . if there are some, they get deleted. the watch seems to send data w/ or w/o thes zeroes randomly. dunno why.. but maybe the answer on a question asking for the reason would be 42, who knows?

Changed in pysleep:
status: New → Fix Committed
milestone: none → graphical
Revision history for this message
T-Lo (ausserirdischer) wrote :

fixed the fix :p
the zero is now deleted, but the data string for the awakemoments is now too short :/

Changed in pysleep:
status: Fix Committed → Triaged
status: Triaged → In Progress
Revision history for this message
T-Lo (ausserirdischer) wrote :

fixed now :)

Changed in pysleep:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.