Unable to run programs off the hub #1373
-
Hi, I just started using Pybricks Block coding for a complicated bowling pinsetter build, that uses three technic hubs that communicate with each other. Now the problem. When I turn the hubs back on, they all just search for a bluetooth connection (rapid doubleblinking blue light). Pressing the green button once during this process does nothing. I expected the program to run and the light to fade in and out, but that's not the case. My expectation is based on this: https://pybricks.com/install/technic-boost-city/ Connecting them all from separate chrome tabs doesn't work either. When trying to run a program with more than one hub connected, it hangs when downloading to the hub at 48%. I also have the following error in the Chrome inspector, but idk if that has anything to do with this: "DOMException: GATT operation failed for unknown reason." I'm sure the Pybricks firmware is installed since the blue flashing doesn't stop after the same amount of time as the original firmware did when not touching it. Does anyone have a clue as to what could be going on? Hardware: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
To make sure it's not an issue with your program, can you try running something like the following? This should help you verify whether starting it with the button works or not. It's possible that the program stopped for another reason. For example, maybe one of your motors wasn't plugged in? It's often most practical to do this sort of test while you're still connected to your computer. That way, you can see that kind of errors when they occur. When using Hub to Hub communication, it's important to note that the |
Beta Was this translation helpful? Give feedback.
-
Tested the original program and commented-out the observe and broadcast statements. [EDIT] Added a link to here in #1357 (Thought those were made automagically) |
Beta Was this translation helpful? Give feedback.
We released a new beta version that should fix this. You can try it out with the new firmware at https://beta.pybricks.com/
If you've used that page before, it may take a few minutes for the latest version to load in the background. If you go to settings/about, you'll see 3.4.0b1 as the new version. When you do, you can go ahead and update the firmware or try new features.