Open GemKosan opened 1 month ago
@GemKosan thank you for your interest in this project! The problem is that Mongo was partially implemented as I worked to create a WebUI to track the environmental variables. I should not have added that to the production branch. I have decided that due to Mongo RPi install issues/complexities, I would revert to sqlite for database transactions.
I have updated the code here in git so if you wouldn't mind please repull the code and test once more to see if you have any issues.
The readme was put together somewhat haphazardly so if there are opportunities to enhance it I can most certainly do that.
I'll leave this open pending confirmation.
@kholbrook1303 Hmmm... I'm still getting that same pymongo ServerSelectionTimeoutError
. I did a fresh install of Dexter's Rasperian for Robots and a fresh clone of this repo. I even did a git pull
and was told I'm already up to date. Maybe I'm pulling from the wrong branch or commit. My git skills are kinda rusty.
PS: I've been using pip3 and Python 3. Should I be using pip and Python 2?
@GemKosan I was able to reproduce what you were seeing. That was strange indeed. I went ahead and redid the commit and push so it should now be good. You can either reclone or in the directory you cloned just run git pull
and it should update removing the old MongoDB code.
@kholbrook1303 Thanks for your help. I was able to get it up and running after messing with my dependencies a bit. Just FYI, I was using the latest Rasperian from Dexter Industries, and I had to run their update_grovepi
bash script, then pip install smbus
and certifi
, also uninstall the pip version of numpy
as it was conflicting with the globally installed version.
I'm going to play around a bit with the config and look at the code now. This weekend, I intend to hook this up to a mushroom grow box with a humidifier, fan, and lamp.
PS: I might eventually try again to get the dependencies working to run on the latest Raspberry Pi OS instead of the Dexter version, cuz that one seems old, and I can't update apt on it. Which version of the OS are you using?
As a Rasp Pi & Grove noob, I'm having trouble getting this project to run without errors. I do have coding experience though not much in Python. Could you provide some advice on this error please? Looks like maybe I need to configure the mongodb, but not sure how to do that. Thanks in advance for your help with this!
CONTEXT
ERROR Stack trace