Code Monkey home page Code Monkey logo

eucwatch's Introduction

Notice: There are two problems one might face when buying a watch to use with this git.

  1. The p8 line is changing the CPU used, there is a model called GAM that no longer uses the NRF. P22A/P22B/P22C/P22C1/Pinetime are valid replacements. (P22D is NOT compatible yet). P22D and P22B1 are now compatible, but need loading extra core and handler files after installation is done for the display to work. For pinetime use the p22 step4 image, and load the pinetime core and handler files after installation is done to enable the side button.
  2. The antenna of the p8 might not be good enouph for a solid connection to the EUC. It will work but is a bit random, only 3 out of 10 that I got my hand on were good enough to not need an antenna change., if not perfect you may need to order another one or change the antenna. That requires opening up the watch, and if done carefully it barelly leaves any visible marks. P22C has a better signal than the p8.
  3. Some P8 watches, version TON5, are mising a crystal, that makes them currently incompatible with daFlasher. They can still be flashed, but that requires opening up the watch.. @fanoush made an TON5 compatible 1st step bootloader, use the file step1-TON5-xx at the first step. . Atc1441 made the 1st step file compatible with all models, so this is no longer an issue.

Espruino Installation on P8 - P22A/B/C/D/B1/C1 - pinetime how-to

Loader version:

Web loader for the P8 - P22A/B/C/D/B1/C1 - pinetime

Web loader for the DK08 (old)

Web loader for the DSD6 (old)

Manual scripts install:

Files for P8 watch are here. To be used with the flash enabled Espruino image build by @fanoush.

Enter this in left hand side (webide) to enable flash(one time only) before uploading. (the loader version will do this automatically when an install option from the installer tab is selected)

var spi=new SPI();spi.setup({sck:D2,mosi:D3,miso:D4,mode:0}); spi.send([0xab],D5); //wake

Credits

@ATC1441, who made over the air hacking of the P8 watch possible. He wrote the DaFlasher playstore app to make the proccess easy. He also made the adruino based ATCWatch custom firmware to run on the P8 watch. More info on DaFlasher here

@Fanoush, who makes the Espruino builds/bootloader and shares his knowledge. Among other things, he wrote the inline c screen/spi-flash shared bus driver used in this project, and made an sdk12 bootloader to support secure BLE connections. More info on the P8 watch here

@gfwilliams, who is the man behind Espruino. This project uses the Espruino app loader and many code snippets from bangle.js source code. More info on Espruino here

Links

https://www.youtube.com/watch?v=mjdcSiPKgE4

image

photo from TheDuke

Photos

eucwatch's People

Contributors

bill-kolokithas avatar dtn828 avatar enaon avatar kvazimoda24 avatar rkdover avatar ysfsvm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eucwatch's Issues

P8 Bluetooth Antenna Information?

The README mentions that it's extremely likely that the P8 watches will require antenna replacement. Can you provide any information on this? I've been searching off and on for the past couple of days and haven't found anything beyond instructions on opening it up.

Does anyone know where there's more information on this? I think it would be really good to get a link to a tutorial or something into the README

Some notes to help the frustrated

I love the watch so I hope this doesn't come off critical - I just want to provide tips based on my struggle with the instructions. I hope it saves others from wasted time.

I had a bit of a frustrating hour getting it to work, because I followed too many conflicting ways of doing it due to vague and scattered instructions, and did about 13 different obsolete dead end paths that didn't work before finding what did work. It now works, so I will tell my story.

Here's a link to a watch that'll work on Amazon. It's called P22.

  1. These are the instructions you follow, ignore all the others - https://enaon.github.io/eucWatch/tools/hackme/
  2. Do not use a PC/Mac. Use android, or you're wasting your time. PC chrome won't find it in scan.
  3. Do not use the web loader yet. I know the instructions imply that it comes first, but it never connects. You have to follow the "manual" instructions.
  4. Download the 4 files listed here to your android, not PC. Don't unzip anything.
  5. Get daflasher off the android Play Store.
  6. Click "i" in the watch menus to find the mac address.
  7. In daflasher, scan, and find that mac address.
  8. If anything fails, kill daflasher and start again. It's a waste of time trying to get it to work once it fails.
  9. Always leave the two checkboxes at the top checked. They will spontaneously uncheck, so re-check them when that happens.
  10. You'll flash files 1 thru 4 in order. Often you have to kill the app in between each file to get it to work on the next. When you finish, you're done with daflasher.
  11. The watch will be blank until the end, that's normal, don't try to fix it.
  12. Go to the web loader in chrome in android.
  13. DO NOT use https://enaon.github.io/eucWatch/ it will not work. It's outdated and doesn't install the right stuff. You'll waste so much time.
  14. https://enaon.github.io/eucWatch/p8 is correct. Yes, I know you have a p22, not a p8. Just use it. There's no p22 version.
  15. Install All Apps will fail about a dozen times. Keep the watch close, refresh the tab, and try again until it works.
  16. DO NOT install apps one-by-one. That will never work. The watch will never boot. You MUST use "Install All Apps" because it does something extra. Nowhere does it say this, and I know installing 1 by 1 seems more reliable due to the frequent BT failures, but it's the only way that will start the watch.
  17. Hooray, your watch should actually start now.
  18. Hold the side button to scan, swipe until you see your brand, click its button.
  19. You're all set.
  20. Hopefully these tips saved you from getting as stuck as me.

Kingsong s22 and begode master

Just wondering if anyone is working on the s22 and master comparability. Also is there somwhere people can donate to the cause as i put this onto watches for other people at no charge and each time i do it i feel like they should donate to the cause

eucWorld.js

I see that it asks for specific service thru uuid and checks for values, is "eucWorld.js" a bridge to EucWorld android app ?

Installed on new P8b variant, screen mirrored, wanna switch back to infinitime thx.

hi, i guess my new p8b is p8b-2, the mirrored one. i followed this and is on espurino but screen is inverted. may be infinitime support this variant. any idea how to get back to it? the watch is not bricked, in daflasher i can press start bootloader (what sdk12 i think) and can connect as dfuart? and flash the espurino system into it (but not bootloader anymore) thx. (i.e. step 4)
https://enaon.github.io/eucWatch/tools/hackme/

mine could be the mirrored one of P8b
https://github.com/StarGate01/p8b-infinitime/blob/master/HardwareVariants.md

thx

sensor p22

hello
I'm trying to use sensors of my P22.
which app can I use?

Thanks

Good work

P8 handler app "install failed, undefined"

Flashed new P8 with a previous (tested in the past) bootloader and espruino runtime (v8_200). Now can't install apps using web loader. P8 core installs ok (1/28), and handler app (2/28) install fails every time:

Install failed, undefined

Have no idea why, perhaps, it requires some new features of new espruino runtime (v9_200), but also have no idea how to update the runtime to the latest version on p8.

Can anybody help?

Question to enaon | InMotion Support for custom App

Hey Enaon,
as this seems the only way reaching you, I have choosen this way of communication.

For a custom app which I am developing right now I am trying to understand the way I can retrieve information from my EUC InMotion V11. I studied your source code as well as other repos to get an understanding. I established a BLE connection to the device and registered my client to get notifications on Service[0000ffe0-0000-1000-8000-00805f9b34fb] and Characteristic [0000ffe4-0000-1000-8000-00805f9b34fb], still I do not see any incoming data. If I understand it correctly from another repo, just be registering on the Characteristic is not enough. It seems I periodically need to write data to the write characteristic and ask for details, which I will then get back on the rx side, is that correct? Let's say I want constant updates every second, then I need to send requests every second is that right? Could you hint me to the place in your source code where I can see that happening as well what exactly I need to send? Cheers, awesome work by the way. Let me know if you prefer to switch to another communication channel.

P22(D) pinout

Where can I find the pinout info these watches use? Working on helping get Wasp-OS support for them (p8 is already supported) but need to provide pinout info. Not really a eucWatch issue but not sure how else to ask. The more options to make these cheap watches usable and supported by other projects as well, the better!

Bricked P8

I flashed DaFitBootloader23Hacked.bin, FitBootloaderDFU2.0.1.zip and ATCwatchP8.ino.zip. After that I flashed the "flash enabled" zip and now my watch is unresponsive with a black screen. Bluetooth is working with the name "P8 6194" but I can't connect to it with anything. Can you help me please?

P22B touch not working

Hello,
Done all in a P22B but the touch control not working, the button work ok.
Is normal in this model?

P8: Double tap too sensitive

EDIT#3: I forked it to a P8-specific repo.


Hi! First off, amazing work. Like seriously, this is awesome. I'd contribute, but I'm not sure I have enough spare time; my contributions might be outdated before I can finish them. We'll see.

I have some either issues or suggestions, though I'm not sure whether this one is a feature or bug. The interval that decides whether it's a double tap or not seems to be too long. When I'm using the calculator, for instance, the screen suddenly goes black, since it registered my inputs as a double tap. The same happens when I'm in the menu. I'm not sure if this happens to other people, though, so I guess it's just a preference/judgement call.

My suggestion is to either

  • make the interval shorter overall
  • make it shorter when the screen is on, so slow double taps when the screen is off still wakes the screen
  • make the interval shorter when in apps or the menu
  • add these as options to settings (probably messy with such a small screen)
  • add these as options when uploading Handler

If this isn't a high priority issue for you, it sounds like it should be a fairly (probably super) easy fix which might be a good introduction for me to the world of Espruino. It sounds like the easiest fix is to simply change a single variable. I'm a js developer, after all. I'll can take a look at it.

EDIT: If you prefer me to fork rather than contribute (I have little interest in the euc-part of your project, for instance), then let me know.

InMoution V12 support

Dear developer.
Could you please add InMoution V12 support to your eucWatch , that I love so much and used it with my old V5 euc.
But now i have new V12 wheel and want to continue use your eucWatch with it also.
Thanks for your work! It awesome!!!

Ready to provide any possible logs or anythink else from my v12 to support this.

P22 Drivers

Hello,

Thanks for all our amazing work on this! I successfully got it running on a P22 (P22B?)! However, touch (and possibly accel) are not quite working right.
The driver that works the best for touch is the 816 driver, but taps are not recognized, only swipes and long presses. It also wakes from a down swipe.
I think the touch controller IC may be the 716S or something like that? I took apart the watch to get a closer look at its components.
WIN_20210607_11_09_29_Pro
Raise to wake does not work for either BMA421 or SC7A20 driver. Maybe I am misunderstanding how that is supposed to work. I can take a closer look if the pinout is changed or something, let me know!
WIN_20210607_11_15_49_Pro
FCC also has some nice photos of the inside: https://fccid.io/2AGFWP22/Internal-Photos/Internal-Photos-4786333

Best,
Vincent

PineTime and howto

Hello
I received my pinetime today. I try to follow the howto but when I launch DaFlasher, I have the following message: "BLE Device was found in Nordic Bootloader mode you can flash it by clicking on "Do DFU Update""
I don't want to break the watch today so I'd rather ask for advice!
Thank you for your work and your help!

B.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.