rich
New Member
Posts: 27
|
Post by rich on Jun 16, 2021 15:27:54 GMT -8
I posted this on the Kickstarter page, but not sure is that is still being monitored so I am posting below.
Rich
I am assembling the AQ sensor for WeatherSense and I am using the SD card supplied by you. I wired up the boards and started the raspberry Pi then started through the steps in the assembly and test manual for the AQ. Since I have the SDL SD card, I skipped to Step 4 of the manual (page 19). When trying to perform the 'git pull' command I get the following.
pi@SwitchDocLabs:~ $ cd
pi@SwitchDocLabs:~ $ cd SDL_Pi_WeatherSense
pi@SwitchDocLabs:~/SDL_Pi_WeatherSense $ git pull
fatal: unable to access 'https://github.com/switchdoclabs/SDL_Pi_WeatherSense.git/': Could not resolve host: github.com
pi@SwitchDocLabs:~/SDL_Pi_WeatherSense $
I tried the access github.com directly through browser and am unable to. I have an IP address . I can see it on a network scan plus I can VNC into the Pi. I've replaced the SDL SD card with another SD card with just the Raspberry Pi OS on it only (clean install) and I'm able to access GitHub and other sites. Any ideas?
Rich
|
|
|
Post by SDL on Jun 16, 2021 15:30:22 GMT -8
You have an DNS problem. Everybody's router and network environment is different. Not sure what it is but there is some great help to understand what is going on here: pimylifeup.com/raspberry-pi-dns-settings/BP
|
|
dow4hurst
Full Member
SkyWeather2 Newbie
Posts: 117
|
Post by dow4hurst on Jun 17, 2021 3:36:20 GMT -8
try this command in the raspberry pi terminal: ping www.google.comyou can use Cntrl-C to get out of that. If it works then you can look up DNS names to get an IP and also reach out with an ICMP packet and get a reply. If it doesn't work, then BP's advice is on the money. Dow
|
|
rich
New Member
Posts: 27
|
Post by rich on Jun 17, 2021 6:36:20 GMT -8
Was able to correct my issue. I removed dnsmasq as mention in another post 'SDL Card has no DNS service when using Wired Ethernet'. Can now access websites and perform a 'git pull', this brought up other issues.
After performing a software update, I ran WeatherSenseMonitor.py with the following response:
----------------- WeatherSense Monitoring Software Software Version V005 ----------------- Pending jobs: readSensors (trigger: date[2021-06-17 07:13:41 PDT], pending) -----------------
###### Scheduled Jobs Read Wireless Sensors ###### ----------------- Jobstore default: No scheduled jobs ----------------- starting 433MHz scanning ###### processing Generic Data This is the raw data: [30] Generic Remote SC226x EV1527
processing Generic Data This is the raw data: [38] Generic temperature sensor 1
processing Generic Data This is the raw data: [87] Generic wireless motion sensor
Job "readSensors (trigger: date[2021-06-17 07:13:41 PDT], next run at: 2021-06-17 07:13:41 PDT)" raised an exception Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/home/pi/SDL_Pi_WeatherSense/wirelessSensors.py", line 612, in readSensors processWeatherSenseTB(sLine) File "/home/pi/SDL_Pi_WeatherSense/wirelessSensors.py", line 358, in processWeatherSenseTB state = json.loads(sLine) File "/usr/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/lib/python3.7/json/decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 12 (char 11) Extra data: line 1 column 12 (char 11) File "/usr/local/lib/python3.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/home/pi/SDL_Pi_WeatherSense/wirelessSensors.py", line 612, in readSensors processWeatherSenseTB(sLine) File "/home/pi/SDL_Pi_WeatherSense/wirelessSensors.py", line 358, in processWeatherSenseTB state = json.loads(sLine) File "/usr/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/lib/python3.7/json/decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end)
I ran this prior to the software update and had no problem. Could there be an issue with the update?
|
|
|
Post by richie on Jul 2, 2021 19:17:38 GMT -8
Had this issue until I re read the directions. Seems the database will need to be update here as well.
|
|