I have installed Thinger VSCode extention. I’ve through Extension Configuration, leaving everything as was, but filling in the token I’ve created with full access. I can see the rocket icon at the bottom toolbar. When I click on it, a textbox opens on top toolbar with a gray text saying Select or search a device but no device is there to select and I get no response when I type Device Name or Device ID.
Reading some examples, I found out that Thinger requires thinger.start(); in setup() procedure. So, I’ve included it in the code. But, when trying to build, I get:
Now I found out that #define THINGER_FREE_RTOS is also required.
Including it in the code, now I can have it compiled and flashed. thing.start() gives no errors anymore.
Nevertheless, VSCode still doesn’t “find” the device. I mean:
Now I found out that there are two ways of getting Tokens. One of them works for selecting device and the other doesn’t.
I was trying to use the token I’ve got through the device’s configuration. In fact it was sounding me ok to have a specific token for each device. But not. The required token is a user’s token. It means that when I give or sell the device to someone, I’ve got to give a copy of my user’s token as well.
I’ve been working with some ESP32 without project board, none of them resets when gets the firmware by USB, should be reseted by hardware.
The device resets when gets the firmware by OTA, and even I’ve noticed when I upload the firmware by OTA and ethernet connection, I need to reset the device to get the firmware correctly installed, I have a thinger resource that resets the device , after that the new firmware runs without issues.
Every time I use ThingerESP32OTA ota(thing); to create the OTA instance, the FTP server doesn’t accept connections anymore.
I use HenrikSte / ESP32FTPServer in the code and Filezilla as FTP Client in the computer. They’ve been very dependable together, but when I use Thinger OTA, they hardly connect.
I’m quite sure we won’t find the reason. I guess I should look for an alternative for OTA.
I dont use any FTP server at the uC, nor FTP client at the computer, do you use it for a particular reason or exclusively for the OTA? Note that the OTA does not need that connection, the example does not invoques any other connection than the thinger native.