Some devices, like the Atom, require you to hold a button down while powering on to put them in connection mode. While holding the button, at least on Atom Matrix, some UI type signal, like led colors, will cycle to the various states, let go of the button when it is in the state you want. For Atom Matrix it's blue leds.
Posts made by braddo
RE: UIFLOW Device not Connected
RE: UIFlow Github project?
I just wanted to make sure this question/request pops up periodically. I was super excited about the M5Stack family of products, especially the little ones like Atom Matrix, but ran into so many simple bugs right away. On the forum, none of those bugs has been responded to by any dev - this is not atypical as the best place to put a bug report is in the git. But, ... there is no git. So, not git, no response in the forum makes it hard to keep coming back to this forum and hard to decide to buy more of these high potential products.
UIFlow Github project?
Is UI Flow itself open source? I have seen the Github account for M5Stack : https://github.com/m5stack ... there are a ton of projects up there!
but it's not obvious to me which would be the repo to look at. There is one called UIFlow-Code, but, looking through, it almost seems like a way to use VS Code as the REPL for an attached device, not necessarily for a way to build new operators or look at why certain operators may not function the way you expect.
There are several issues I've posted about to which there has been no response and I thought it might be fun to look into some that might have easy fixes.
How long should the moderation process take?
I confirmed my email address and posted multiple questions/comments last week.
However, none are appearing in the forum.
I think a moderator must approve me to post, any ideas how long that will take and/or if there's someone to ask?
in UIflow with Atom Matrix, Button longPress executed after wasPressed
I have two different button events, a wasPressed and a longPressed. I'm finding that the long press actions happen after the regular press. This is unexpected... Long press is a distinct action that should be taken care by the button handler.
BTW also have noticed one cannot get a long press action to happen without first triggering the regular press actions. Also not expected and bad.
Also would like to know if the duration of long press and double click are editable somehow? Double click is too short, I would guess less than 200ms
In UIflow, save remembers the last name
This seems pretty basic, but, most programs have the name of the current file in the window header and, when the user chooses to save, the application defaults to saving with the same name as the active.
Then there would be an option to "save as" if the user wants to save a copy of the current into some other file name.
It's annoying to have to save, click the existing file to get the right name (or type it again) before saving progress.
"Subroutines" in UIflow?
Sorry if this is a dumb question, but I haven't done much programming in Blockly/UIflow. Is there a way to set up some blocks as a subroutine and then call those blocks from another set of blocks? I have some animations that are long and was thinking it should be possible to set those aside and, depending on conditions in the main program, call an animation or other.
WIFI connection failed (partially solved)
Hello all, I'm new here, and have been trying to get the basics going. Couldn't get my Atom Matrix connected to wifi. I'm using Unifi products from Ubiquiti by the way, multiple APs with WPA personal etc. Typical setup.
I put my SSID and pwd into the burner software and it would not connect. I put the device in AP mode and connected with my phone and entered the SSID pwd that way, also failed to connect.
I searched the forum and saw a variety of issues, including, especially that esp based things can't connect to SSIDs with spaces so I tried both of the above using %20 instead of spaces, but that also didn't work.
I created a new network with no spaces and tried to connect to that one using both of the above methods and, again, fail...
So, then, in UIflow, I just put a wifi connect block into my "sketch"/"M5" (?) after the setup block and lo and behold it connected.
I'm not sure why the block can connect while other methods cannot, but anyway this will work for me because I plan to use this device in deep sleep, waking on button press and sending a REST call to open my wifi garage door either directly to a Shelly1 which is controlling the door or to HomeAssistant that is controlling the Shelly1. Haven't done any of the latter steps but thought others might appreciate what worked for me so far.
If anyone knows why the wifi connection won't work otherwise, I would love to hear as I plan to buy a few more of these cool devices and some will likely be always powered and would benefit from connecting to wifi outside of the sketch.
RE: How to change color for RGB "Set Atom Matrix"?
I have the same problem using beta 1.6.6
For a bit more detail, if you create a new RGB matrix flow step it works - you can check the matrix color box and then choose the color picker and then color the pixels how you like.
But, if you copy a matrix flow step, the matrix color box will revert to white, and if you attempt to choose a new color for the matrix color box, it will not work, reverts to white.
So the way to create an animation is to choose a new matrix flow step each time.
But, it would be good to fix the bug, as creating animations, one always wants to start from the previous frame and then only adjust the pixels to change in that frame to the next.