Jump to content

eucWatch - Standalone band/watch


Recommended Posts

46 minutes ago, BarrettJ said:

Edit: leaving the wheel off and unplugged seemed to clear up the bluetooth on the wheel.  I'll have more time to debug after running some errands.

thanks for all that. 

I have uploaded a version with some debug on testing, if you want to give a go, install the V11module from testing, and then open a chrome browser and connect the ide to the watch 

https://www.espruino.com/ide/

on the left hand side , the black one, you have real-time console. Press the button on the watch to connect to the V11, you can see there if the packets are dropped for some reason. 

Edited by enaon
Link to comment
Share on other sites

42 minutes ago, Techos78 said:

@BarrettJ : We do not have the same configuration :

Watch-configuration.JPG.7b70aaa27e8e2d5ebddbe38ad5f9cf33.JPG

it is ok, he has different touch type and also he has manually uploaded the handler file, but the espruino image version is correct. 

Link to comment
Share on other sites

1 hour ago, enaon said:

thanks for all that. 

I have uploaded a version with some debug on testing, if you want to give a go, install the V11module from testing, and then open a chrome browser and connect the ide to the watch 

https://www.espruino.com/ide/

on the left hand side , the black one, you have real-time console. Press the button on the watch to connect to the V11, you can see there if the packets are dropped for some reason. 

If I load up the p8-testing, the only module it lists for update is Clock.  

It does show that I have the V11 module installed (.3).

If I go to the V11 module (or v11 settings module) and tap the delete button, the watch will disconnect and leave bluetooth off (in that I need to swipe up and hit bluetooth, and then hit the right item that looks like a command prompt in order to be able to connect via the phone again) and not actually remove anything.  The phone will just say "Removing Inmotion V11" and sit there at 0% progress for as long as I've let it sit there (longer than I've been typing this).

 

Should I wipe it and just install "All" straight from p8-testing again?

Edited by BarrettJ
Link to comment
Share on other sites

 

3 minutes ago, BarrettJ said:

If I load up the p8-testing, the only module it lists for update is Clock.  

It does show that I have the V11 module installed (.3).

If I go to the V11 module (or v11 settings module) and tap the delete button, the watch will disconnect and leave bluetooth off and not actually remove anything.  The phone will just say "Removing Inmotion V11" and sit there at 0% progress for as long as I've let it sit there (longer than I've been typing this).

 

Should I wipe it and just install "All" straight from p8-testing again?

Nice, the bt turning off while you try to update: This happens if you enable the cli, but did not issue  a restart, it saves settings on restart. Enable bt cli, do a restart, and then upload from loader. 

Just the inmotion module.

 

Edited by enaon
Link to comment
Share on other sites

That trick with restarting worked for updating - thanks!

Here's some of the output from the console:

(Pasting from mobile)

 

LOADING ...
 
<- null
Found P8, 2v08.200
>
Connected to Web Bluetooth, eucWatch
EUC: Connected
Uncaught Error: Function "toFixed" not found!
 at line 41 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "show" called from line 2 col 14
      t.show();
             ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
Link to comment
Share on other sites

It displayed the interface more consistently, but it didn't appear to be updating speed live (it did seem to update trip distance after a bit) - when I'm testing speed I'm not riding it just moving it by hand at like a walking pace (not enough room to ride indoors).

It still had the one dropped packet message a bunch as well as some other errors. 

I noticed the user it was working for has kingsong wheels in his screens hots- I didn't install kingssong support as I don't have any of those wheels - would it be worth trying to download those modules?

Thanks again for all your help!

Ide console output:

LOADING ...
 
<- null
Welcome.
** Working mode **
Use devmode (Settings-Info-long press on Restart) for uploading files.
Found P8, 2v08.200
ERROR: Ctrl-C while processing interval - removing it.
Execution Interrupted during event processing.
New interpreter error: CALLBACK
>
Connected to Web Bluetooth, eucWatch
EUC: Connected
Uncaught Error: Function "toFixed" not found!
 at line 41 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "show" called from line 2 col 14
      t.show();
             ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 5 col 35
face.go(set.dash[set.def.dash],0);
                                  ^
in function called from line 1 col 371
...er[face.pageCurr](a,this.x,this.y);}}else if(this.do){if(tp[1]==5||tp[1]==12){this...
                                                    ^
in function "init" called from line 1 col 10
tfk.init();
         ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 5 col 35
face.go(set.dash[set.def.dash],0);
                                  ^
in function called from line 1 col 371
...er[face.pageCurr](a,this.x,this.y);}}else if(this.do){if(tp[1]==5||tp[1]==12){this...
                                                    ^
in function "init" called from line 1 col 10
tfk.init();
         ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 5 col 35
face.go(set.dash[set.def.dash],0);
                                  ^
in function called from line 1 col 371
...er[face.pageCurr](a,this.x,this.y);}}else if(this.do){if(tp[1]==5||tp[1]==12){this...
                                                    ^
in function "init" called from line 1 col 10
tfk.init();
         ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 5 col 35
face.go(set.dash[set.def.dash],0);
                                  ^
in function called from line 1 col 371
...er[face.pageCurr](a,this.x,this.y);}}else if(this.do){if(tp[1]==5||tp[1]==12){this...
                                                    ^
in function "init" called from line 1 col 10
tfk.init();
         ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 86 col 69
...aceSave[1],face.faceSave[2]);face.faceSave=-1;
                              ^
in function called from line 1 col 371
...er[face.pageCurr](a,this.x,this.y);}}else if(this.do){if(tp[1]==5||tp[1]==12){this...
                                                    ^
in function "init" called from line 1 col 10
tfk.init();
         ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 18 col 71
...go(set.dash[set.def.dash],0);
                              ^
in function called from system
Uncaught Error: Function "toFixed" not found!
 at line 24 col 36
...g.drawString(euc.dash.volt.toFixed(1),240-(this.g.stringWidt...
                              ^
in function "init" called from line 25 col 22
face[page].init(arg);
                     ^
in function "go" called from line 1 col 161
...go(set.dash[set.def.dash],0);else{if(face.appCurr=="main")face.go...
                                   ^
in function called from system
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet:  new Uint8Array([170, 170, 20, 51, 132, 24, 32, 238, 255, 245, 255, 102, 255, 0, 0, 0, 0, 0, 0, 25]).buffer
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
packet dropped:  51
EUC: OUT
Uncaught Error: Cannot read property 'disconnect' of undefined
 at line 1 col 25
global["\xFF"].BLE_GATTS.disconnect().catch(function(err)  {...
                        ^
in function called from system
> 
 

 
 
 
 
 
1
var  on = false;
2
 
setInterval(function() {
3
  on = !on;
4
  LED1.write(on);
5
}, 500);
 
 
 
 
CONNECTED TO WEB BLUETOOTH, EUCWATCH
EUCWATCH

 

Link to comment
Share on other sites

9 minutes ago, BarrettJ said:

I noticed the user it was working for has kingsong wheels in his screens hots- I didn't install kingssong support as I don't have any of those wheels - would it be worth trying to download those modules?

Kingsong works good, s18 since I own one, works excellent but no, it is irrelevant.

I can see the problem: packets fail crc check

 we will see why on your next run :)

Edited by enaon
Link to comment
Share on other sites

Here's the update:

LOADING ...
 
<- null
Welcome.
** Working mode **
Use devmode (Settings-Info-long press on Restart) for uploading files.
Found P8, 2v08.200
ERROR: Ctrl-C while processing interval - removing it.
Execution Interrupted during event processing.
New interpreter error: CALLBACK
>
Connected to Web Bluetooth, eucWatch
EUC: Restarting
reason : Disconnected
EUC: Restarting
reason : Disconnected
EUC: Connected
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 244, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 241, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 239, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 241, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 243, 255, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 243, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 243, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 241, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 243, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 241, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 239, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 241, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 247, 255, 0, 0, 61, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 247, 255, 0, 0, 122, 255, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 238, 255, 248, 255, 118, 254, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 14, 32, 12, 0, 173, 255, 91, 250, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 13, 32, 18, 0, 57, 255, 185, 251, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 255, 255, 254, 254, 58, 255, 0, 0, 5, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 252, 255, 243, 254, 80, 255, 253, 255, 5, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 255, 255, 252, 254, 25, 255, 0, 0, 6, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 229, 255, 5, 255, 226, 0, 234, 255, 250, 255, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 217, 255, 95, 255, 232, 2, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 238, 255, 219, 255, 62, 2, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 245, 255, 0, 0, 115, 2, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 246, 255, 108, 0, 249, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 245, 255, 134, 0, 128, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 240, 255, 143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 12, 32, 2, 0, 207, 0, 238, 2, 1, 0, 17, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 9, 32, 42, 0, 93, 1, 18, 4, 34, 0, 40, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 11, 32, 34, 0, 209, 1, 127, 2, 27, 0, 33, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 0, 0, 253, 1, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 21, 32, 158, 255, 96, 1, 247, 248, 176, 255, 186, 255, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 244, 255, 85, 0, 5, 248, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 6, 32, 76, 0, 113, 255, 89, 246, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 5, 32, 59, 0, 91, 254, 167, 251, 48, 0, 52, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 14, 32, 4, 0, 26, 254, 81, 255, 3, 0, 9, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 18, 32, 191, 255, 61, 254, 2, 2, 203, 255, 231, 255, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 19, 32, 192, 255, 32, 255, 209, 6, 204, 255, 213, 255, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 236, 255, 201, 255, 187, 1, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 13, 32, 6, 0, 0, 0, 196, 5, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 12, 32, 39, 0, 240, 0, 188, 4, 31, 0, 32, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 13, 32, 4, 0, 92, 1, 129, 1, 3, 0, 14, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 240, 255, 96, 1, 179, 255, 243, 255, 253, 255, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 205, 255, 239, 0, 12, 253, 215, 255, 236, 255, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 236, 255, 166, 0, 215, 254, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 244, 255, 93, 0, 65, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 233, 255, 74, 0, 89, 252, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 245, 255, 34, 0, 69, 253, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 248, 255, 158, 255, 214, 254, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 245, 255, 151, 255, 29, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 14, 32, 254, 255, 131, 255, 56, 253, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 1, 0, 66, 255, 146, 253, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 212, 255, 103, 255, 71, 4, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 14, 32, 3, 0, 231, 255, 206, 6, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 14, 32, 5, 0, 193, 0, 41, 3, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 14, 32, 253, 255, 242, 0, 128, 0, 254, 255, 3, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 18, 32, 200, 255, 193, 0, 240, 251, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 243, 255, 46, 0, 39, 254, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 242, 255, 0, 0, 28, 255, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 240, 255, 203, 255, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 243, 255, 203, 255, 253, 255, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 15, 32, 244, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 238, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 243, 255, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 243, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 242, 255, 0, 0, 254, 255, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 17, 32, 242, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 18, 32, 240, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
packet dropped:  51 new Uint8Array([170, 170, 20, 51, 132, 16, 32, 239, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246]).buffer
EUC: OUT
> 
 

 
 
 
 
 
1
var  on = false;
2
 
setInterval(function() {
3
  on = !on;
4
  LED1.write(on);
5
}, 500);
 
 
 
 
CONNECTED TO WEB BLUETOOTH, EUCWATCH
EUCWATCH

Link to comment
Share on other sites

nice, so the problem is with the image, not all 56 bytes are coming in, so we cannot do the crc check,

Lets undertand why :)

 

Is that a new install, or an older one that you placed image.200 over? 

Link to comment
Share on other sites

12 minutes ago, enaon said:

nice, so the problem is with the image, not all 56 bytes are coming in, so we cannot do the crc check,

Lets undertand why :)

 

Is that a new install, or an older one that you placed image.200 over? 

I don't understand that question - I have no idea what image.200 is - sorry.

If this answers it - this was an install of "EUC" from regular P8 (not testing) and then I added the V11 modules from the installer.  Since then (per a few posts ago) from P8-testing I deleted and then installed V11 and V11 Settings (and then once again after refreshing the page).

 

Edit: Additional info a few days ago I followed https://enaon.github.io/eucWatch/tools/hackme/ (I have the TON5 variant) and then I made my first post in this thread shortly after - so if you're referring to anything before going to P8 or P8-testing that was all done fresh on a watch straight from AliExpress purchased just for this purpose (I believe straight from the link in earlier posts)

Edited by BarrettJ
Link to comment
Share on other sites

Just now, BarrettJ said:

I don't understand that question - I have no idea what image.200 is - sorry.

My fault, I am refearng to the daflasher installation steps, the ones you did to install espruino, image .200 is the step 4 of that guide. 

Was that procedure done latelly, like last week, using all the files from my github? 

Link to comment
Share on other sites

Just now, enaon said:

My fault, I am refearng to the daflasher installation steps, the ones you did to install espruino, image .200 is the step 4 of that guide. 

Was that procedure done latelly, like last week, using all the files from my github? 

Yes - I was just updating my post with that info:

Additional info a few days ago I followed https://enaon.github.io/eucWatch/tools/hackme/ (I have the TON5 variant) and then I made my first post in this thread shortly after - so if you're referring to anything before going to P8 or P8-testing that was all done fresh on a watch straight from AliExpress purchased just for this purpose (I believe straight from the link in earlier posts)

Link to comment
Share on other sites

nice, this is it. Image .200 , step 4, was updated two weeks ago just for the v11, it is special, but the version is the same as before. Do step 4 from daflasher again, with the lastest image, and it will work :)

Edited by enaon
Link to comment
Share on other sites

to perform step 4:

1.scan for the watch from daflasher

2.select "start Bootloader"

3. select "do dfu update"

4. deselect "use nordic bootloader"

5.select file, and choose the step 4 file

 

Edited by enaon
Link to comment
Share on other sites

No problem - thanks for your work on the project and helping me get things fixed!

I had totally forgotten that I had downloaded the files a fair while ago (I had initially gotten a P8 from eBay as it arrived faster, but it wasn't a P8 at all despite the listing, it was like a GT168 or something that DaFlasher didn't know what to do with)

Edited by BarrettJ
  • Like 1
Link to comment
Share on other sites

14 hours ago, enaon said:

Also, 13km/h sounds strange, I think it is 20, so maybe you are on Mph, not Khm.  Long hold on the speed on the simple dash, toggles between miles and khm, just a quick hack for now. 

Yes, you're right, here is a comparison with a gps speed (IM-V11) :

Watch-mph-gps.JPG.7d2bc361be415fa9beae802a341c12a8.JPG

I'm going to rectify that ... I didn't expect to drive that fast, it's important to be aware of that.

About negative speed in backwards driving, it's a bad idea because there is not enough width with a large font :

703105542_Watch-v-ngative2.JPG.6000277e4bebb4d01f5c346ae9c8b878.JPG 1462245242_Watch-v-ngative.JPG.58d6c70b635d050ede5a11cfbb073e94.JPG

and the color change thresholds do not work. (between 12 and 14 mph)

Edited by Techos78
Link to comment
Share on other sites

I have pushed some changes, the digital dash is now new, mph/kph are displayed, and also I added 7-8 secs of amperage history, top bars are breaking, bottom ones are accel, they get bigger as the amperage gets higher. 

 

https://streamable.com/yizpuy

 

https://enaon.github.io/eucWatch/p8

Edited by enaon
  • Like 1
Link to comment
Share on other sites

Watch has been working out great!  I actually ordered a couple more to try various ideas for integrating them into my different safety gear.

I do have a feature request after using it for a bit - a way to see the current time without interacting with the screen (when connected to the wheel).  I know I can swipe to get back to the time, but my "touch screen gloves" don't always work that well - but I can always press (or even double press) the button.  Alternatively I don't really use the battery display on the "simple" screen (I think that's what it's called, it's the one that doesn't have trip at the bottom) that much on my V11 as it has the battery indicator at the top of the wheel itself (though I will for my getaway wheels, though I haven't been riding those as much) and I'm not entirely certain what the top left item is on that display (possibly top speed?  I tend to hit that early in my rides as my neighborhood is higher up than the rest of the town).

 

Thanks again for all your work on the project!

  • Like 2
Link to comment
Share on other sites

  • enaon changed the title to eucWatch - Standalone band/watch

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...