Just got my WeatherPiArduino and WeatherRack. I hope to set up a Citizens Weather Observer Program station. Soldering in the DS3231 blocks the data and clock pins for the I2C. I installed it along with an AM2302 in a proto shield instead. The Arduino with instruments overloads my Raspberry Pi USB bus locking up the keyboard and mouse. The Arduino required an external power supply. I am having problems with the Sketch. Libraries time.h and elapsedMillis.h were missing. Defines are for interrupts on pins 18 and 2. Connections are on pins 2 and 3 in your wiring diagram.
I would like to know where you put your code after designing a RasPiConnect screen. Where is the command file called from to get the button responses?
I see you use a command file, where does the commands come from? Does the RasConnect send them to the command file?
I see that the SunAIRPlus is out of stock on Amazon, any idea when it may be back in stock. I’m trying to build a solar project and want the monitoring capabilities of the plus.
There are 7 more heading to Amazon and they should be there on or about March 28th. We got caught with a big order from back east. We have ordered more and the next batch of 100 should be here in about 3 weeks.
The 7 coming up to Amazon are the new Grove connector units. They are 100% compatible and they now include the Grove Adaptor to Male Headers cable.
I previously contacted you about a switch bounce problem with my rain tipper. I had another problem of rain indication when there was no rain. After months of experimentation I found that the phantom rain was being caused by USB power noise. It appeared on every computer I tried, but was minimal on a laptop. Searching the internet I found this post: https://andybrown.me.uk/2015/07/24/usb-filtering/. I modified a USB adapter for my Pi 3 using his circuit. For a few cents worth of parts the phantom rain went away. Now I was able to see a reliable 3 triggers per tip which I corrected in software. This noise was probably affecting wind speed as well. Now I can calibrate my rain gauge against a tube gauge and recalibrate my anemometer.
My station software is written in Python and runs on Windows, Linux and Mac. It post a local web page, ftps a web page to a web server, and telnets the data to the National Weather Service via the Citizens Weather Observer Program. With the addition of an AM2302 for humidity, the quality control analysis of my data by CWOP has shown it to be accurate and reliable except for rainfall.
I just set up my SmartPlantPi kit (that I got as a KickStarter reward) by following the ‘AssemblyAndUsageManual 1.0’ and now am looking for the Advanced Manual to hook it up to Freeboard. Where can I find it?
Kind regards, Ted
It’s not quite out yet. We are hoping to publish it on June 1st. Stay tuned. If you want to do it yourself, you can really do it by following the SunIOT tutorial on switchdoc.com. It will be very similar to that flow. 🙂
Received my WeatherPi bundle last week. Currently without Solar option. I’ve had a heck of a time following the tutorials trying to get this thing to work. Have been following the GroveWeatherPi setup and using the github files. I’ve reached a point that Google can’t get me past.
When I run GroveWeatherPi.py I get the following error:
pi@raspberrypi:~/SDL_Pi_GroveWeatherPi $ sudo python GroveWeatherPi.py
Traceback (most recent call last):
File “GroveWeatherPi.py”, line 52, in
from apscheduler.schedulers.background import BackgroundScheduler
File “/usr/local/lib/python2.7/dist-packages/APScheduler-3.3.1.post6-py2.7.egg/apscheduler/schedulers/background.py”, line 5, in
from apscheduler.schedulers.base import BaseScheduler
File “/usr/local/lib/python2.7/dist-packages/APScheduler-3.3.1.post6-py2.7.egg/apscheduler/schedulers/base.py”, line 17, in
from apscheduler.executors.pool import ThreadPoolExecutor
File “/usr/local/lib/python2.7/dist-packages/APScheduler-3.3.1.post6-py2.7.egg/apscheduler/executors/pool.py”, line 2, in
import concurrent.futures
ImportError: No module named concurrent.futures
pi@raspberrypi:~/SDL_Pi_GroveWeatherPi $
I cannot find a solution around the ImportError. Everything seems to be working except my apscheduler setup. I have Python 2.7 installed, both apscheduler 2.1.2 and 3.3.1. If I comment out the import call on line 52 for apscheduler, I get the initial display showing sensor status. after that I get an error once again for apscheduler.
Please any help would be great. Hope this is an acceptable place to post this request.
BTW – I’m working with a RPi 3 until my Zero arrives.
Just got my WeatherPiArduino and WeatherRack. I hope to set up a Citizens Weather Observer Program station. Soldering in the DS3231 blocks the data and clock pins for the I2C. I installed it along with an AM2302 in a proto shield instead. The Arduino with instruments overloads my Raspberry Pi USB bus locking up the keyboard and mouse. The Arduino required an external power supply. I am having problems with the Sketch. Libraries time.h and elapsedMillis.h were missing. Defines are for interrupts on pins 18 and 2. Connections are on pins 2 and 3 in your wiring diagram.
Hi John,
Something is wrong with your shield or your wiring. The WeatherPiArduino doesn’t draw much current at all.
Time.h can be found at https://playground.arduino.cc/code/time and elapsedMillis.h can be found at https://playground.arduino.cc/Code/ElapsedMillis
Don’t confuse Interrupt numbers with Pin numbers. And they vary depending on the type of Arduino. Check them very carefully. Guidance: https://www.arduino.cc/en/Reference/AttachInterrupt
Hope that helps!
SDL
I would like to know where you put your code after designing a RasPiConnect screen. Where is the command file called from to get the button responses?
I see you use a command file, where does the commands come from? Does the RasConnect send them to the command file?
Thank you
Good question. There are two sets of tutorials on the web.
First, on our site, https://www.switchdoc.com/2014/07/build-control-panels-tutorial-raspiconnect/
Then on the Milocreek site, there is a full tutorial: http://www.milocreek.com/wiki
SDL
how do you integrate your command.txt in your MouseAir program into RasPiConnect Local.py file. Where do the command = f.read() come from?
I see that the SunAIRPlus is out of stock on Amazon, any idea when it may be back in stock. I’m trying to build a solar project and want the monitoring capabilities of the plus.
Thanks,
Geoff
Geoff,
There are 7 more heading to Amazon and they should be there on or about March 28th. We got caught with a big order from back east. We have ordered more and the next batch of 100 should be here in about 3 weeks.
The 7 coming up to Amazon are the new Grove connector units. They are 100% compatible and they now include the Grove Adaptor to Male Headers cable.
Best,
SDL
I previously contacted you about a switch bounce problem with my rain tipper. I had another problem of rain indication when there was no rain. After months of experimentation I found that the phantom rain was being caused by USB power noise. It appeared on every computer I tried, but was minimal on a laptop. Searching the internet I found this post: https://andybrown.me.uk/2015/07/24/usb-filtering/. I modified a USB adapter for my Pi 3 using his circuit. For a few cents worth of parts the phantom rain went away. Now I was able to see a reliable 3 triggers per tip which I corrected in software. This noise was probably affecting wind speed as well. Now I can calibrate my rain gauge against a tube gauge and recalibrate my anemometer.
My station software is written in Python and runs on Windows, Linux and Mac. It post a local web page, ftps a web page to a web server, and telnets the data to the National Weather Service via the Citizens Weather Observer Program. With the addition of an AM2302 for humidity, the quality control analysis of my data by CWOP has shown it to be accurate and reliable except for rainfall.
Excellent find. I have repeated this in the forums for others.
SDL
Where can I find the instructions for the pre grove weather station build ?
Here is the previous non-grove instructable:
https://www.instructables.com/id/Create-Your-Own-Solar-Powered-Raspberry-Pi-Weather/
SDL
I just set up my SmartPlantPi kit (that I got as a KickStarter reward) by following the ‘AssemblyAndUsageManual 1.0’ and now am looking for the Advanced Manual to hook it up to Freeboard. Where can I find it?
Kind regards, Ted
It’s not quite out yet. We are hoping to publish it on June 1st. Stay tuned. If you want to do it yourself, you can really do it by following the SunIOT tutorial on switchdoc.com. It will be very similar to that flow. 🙂
HELP PLEASE!
Received my WeatherPi bundle last week. Currently without Solar option. I’ve had a heck of a time following the tutorials trying to get this thing to work. Have been following the GroveWeatherPi setup and using the github files. I’ve reached a point that Google can’t get me past.
When I run GroveWeatherPi.py I get the following error:
pi@raspberrypi:~/SDL_Pi_GroveWeatherPi $ sudo python GroveWeatherPi.py
Traceback (most recent call last):
File “GroveWeatherPi.py”, line 52, in
from apscheduler.schedulers.background import BackgroundScheduler
File “/usr/local/lib/python2.7/dist-packages/APScheduler-3.3.1.post6-py2.7.egg/apscheduler/schedulers/background.py”, line 5, in
from apscheduler.schedulers.base import BaseScheduler
File “/usr/local/lib/python2.7/dist-packages/APScheduler-3.3.1.post6-py2.7.egg/apscheduler/schedulers/base.py”, line 17, in
from apscheduler.executors.pool import ThreadPoolExecutor
File “/usr/local/lib/python2.7/dist-packages/APScheduler-3.3.1.post6-py2.7.egg/apscheduler/executors/pool.py”, line 2, in
import concurrent.futures
ImportError: No module named concurrent.futures
pi@raspberrypi:~/SDL_Pi_GroveWeatherPi $
I cannot find a solution around the ImportError. Everything seems to be working except my apscheduler setup. I have Python 2.7 installed, both apscheduler 2.1.2 and 3.3.1. If I comment out the import call on line 52 for apscheduler, I get the initial display showing sensor status. after that I get an error once again for apscheduler.
Please any help would be great. Hope this is an acceptable place to post this request.
BTW – I’m working with a RPi 3 until my Zero arrives.
The Support Forums on the Main Page (under Support) is a better place to post this. You will get better and faster responses there!
Sounds like you have an installation problem. Check in the forums. Someone had the same problem there.
Do this and post the results:
sudo pip uninstall apscheduler
sudo pip install apscheduler
SDL