Yes, switching to USB connection made the program "stick". Attached is a snapshot of my M5-to-HC2 block:
Posts made by tnesheim
RE: Upload program to M5
I'll post a screen dump of my blocks/code tonight. I used the code generator; https://www.blitter.se/utils/basic-authentication-header-generator/ to generate a key to insert in the header instead of using explisit username/password.
Aha...of course, I need to set up the wifi in the program itself:-) I'll definitely try that when I get home.
Upload program to M5
Hi. I have successfully made a program on UIFlows using wifi connection and the API-key. I press the "play" button in the UIFlow and the program executes. But when I remove power and reboot the M5Stack the program is gone. I have tried the "download" in the UIFlow menu that makes the M5 screen say "upload", but I end up with the same and the M5 shows the API key and the QR-code. What should I do to make my program stick to the M5 and execute after inital bootup?
HTTP request to Fibaro HC2
I´m trying to connect to the Fibaro Home Center 2 API from my M5Stack using UIFlows. I´m trying to reach a variable at http://10.0.0.5/api/globalVariables/TellerPresence , but in addition to the URL, username/password are required. I cannot figure where to put this in the UIFLow. Please advice.