Open drunkscientist opened 3 years ago
I had the same problem and never got a successful connection with the WConfigurator. But the connection from https://my-ttgo-watch.co.uk/ did work. Therefore, I decided to develope my own small app for configuring the IRController, but I basically had the same strange connection problems from my phone and from my laptop with BL support. I observed the strange behavior, that the Web/JS Bluetooth API sometimes cuts/crops messages, which makes the JSON invalid. But for whatever reason, at least a few connection attempts were successful. After a lot of hours I managed to get at least one successfully created button out of it. So I decided to continue by editing the JSON file manually, which worked flawless. You just need to make sure it gets read after you edited it, for example by restarting the Watch.
Whoever needs a starting point for the structure of the JSON without trying to get it reverse engineered through the code or fiddling around with connection problems, here is an example I prepared. Hopefully it helps at least someone: https://github.com/d03n3rfr1tz3/TTGO.T-Watch.2020/blob/master/conf/ir-remote.json.example
i cannot get wconfigurator to connect anymore. it did for a bit, and now it wont. but i still want to use the IR remote. i was able to get the one button i had added when it still worked by editing the json file over the webserver. therefore it would seem like the simplest soloution would be to add an offline or 'demonstration' mode to wconfigurator. something that would allow the generation of either the whole json or even just the string to be copied, without having to actually connect