Yes, switching to USB connection made the program "stick". Attached is a snapshot of my M5-to-HC2 block:
M5toHC2.jpg
Posts made by tnesheim
-
RE: Upload program to M5
-
RE: Upload program to M5
Also, in respect of making my program "stick" it could be a problem that I use the web connection? I should probably make the USB-connection work with my desktop version of UIFlow?
-
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?
-
RE: HTTP request to Fibaro HC2
I made it work with the UIFlow. The problem for me was to include username and password in the header in the right format. I was saved by a online key-generator that based on my username and password made a long key which I put into the header.
-
HTTP request to Fibaro HC2
Hi
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.