Hello everyone, I wrote a program for my Sense in which I send data to a web server in my own WiFi via fetch URL (via http, not https). This works wonderfully in the simulator. But when I transfer the program to the clock, nothing arrives on the server. What could be the reason? Greetings Pfeiffy
Best Answerhttp will only work to localhost or equivalent. If your server is on a different device to that on which the Fitbit mobile app is running, it will need non-self-signed https.
I found it easier (but messier) to run a server on the phone.
Best AnswerHello, thank you very much for the answer. That's what I thought. But I thought that a web server would work in your own WiFi network. How did you implement your web server for Android, I've been looking for something like this for a long time - do you have an example project here?
Greetings Pfeiffy
Best AnswerAlas, http has to be localhost or equivalent; not any other device on LAN.
I think there are a couple of Fitbit Android servers here (Python and Java). I also managed to do it using node.js on Android, but didn't like the environment (dory).
Best Answer