I am to the point in the instructions where I add the soil sensors, but I can't get the scan to run.
It errors out on line 15 "<<<<<<< HEAD", with: "SyntaxError: Invalid Syntax" and points to the second <
I tried deleting one, and it gave me the same error. I've tried removing them one-at-a-time until there was only one left. No change
I tried commenting out the whole line to see what would happen, and the same thing happened on Line 20 "=======", so I commented that out and it hung on line 27 ">>>>>>>>> 97d4c...", so I commented that out.
Now I can get it to launch, but until I hit [ctrl]+[c] it says:
Starting Bluetooth Reset
Starting Bluetooth Reset
Starting Scan for new Bluetooth Sensors
After I stop it, the traceback:
File "scanBluetooth.py", line 134, in <module>
src, line = q.get(timeout = 1)
File "/usr/lib/python3.7/queue.py", line 179, in get
File "/usr/lib/python3.7/threading.py", line 300, in wait
I have completely started the software install again and got to the same point with the hang in the same spot, and the same traceback contents.
A little feedback: This system (and the hydroponic set) has been amazing to play with, and get to know. Great job! Congratulations to you and your team! I have been playing with the rest of it while I try to work out the Bluetooth issue, IT'S SO FUN!Even though this part has hung, I have been getting plenty of other successes. The instructions are easy to follow, the interfaces have been easy to access and use, and the flexibility in both hardware and software is tremendous. It has been easy to work with this on the same RPi that has already been running my SkyWeather system (with several versioned backups, of course).
Thank you for your assistance and for making this, ~S
What do you mean by traceback contents? If it hangs, there isn't a traceback unless you interrupt it.
It can take up to 15 or 20 minutes to pick up your Bluetooth sensor. Make sure it is not toooooo close. Put it a meter away from your Pi.
Now, I know from experience that there are two kinds of hangs. 1) The computer isn't frozen and just takes a long time to find the Bluetooth Sensor or 2) The whole computer is hung. This second one has to do some routers and a weird interaction with lots of Sonos speakers. Not sure what is going on there.
Thank you fro the fine compliments! We think this is the best engineered product we have ever put out!
I was definitely putting them too close. I have moved them (I have 5 BT soil sensors) farther a way, and ran it for 4 hours. It still says: "Starting scan for new Bluetooth Sensors" and does not appear to be hung, but no sensors. No Sonos speakers though. Thank you, ~S
It's not quite the screenshot you meant, but it was the easiest way to get it cropped and attached. If you need a better one, just let me know and I'll send a larger one.There isn't much information about the pause, it just stops where you see above, and will stay just like that until I kill the process.
Everything I try seems to respond with no delays, so cache, mem and cpu seem to be unburdened. Everything else also seems to work fine, I now have everything assembled and running. Last night was the first night running unattended; it ran perfectly.
I will need to get another base station for the outside plants, which is where I intend to use the BT Sensors, once the rains have stopped for the summer; which gives tons of time to figure this out.
I LOVED seeing my quote on the hydroponics page!
I am beginning to stage my installation locations, so that I can get a series of pics that shows my entire setup. I want to get Watchdog setup as well, for an "under the hood" set of shots. I will post those in the "My Projects" section as soon as I can, so that other apartment-dwellers (like myself), can get ideas.