|
Post by SDL on Jun 30, 2019 14:36:55 GMT -8
If you are a person that bought or received the SD card, then you need to update your software for SkyWeather. Here is the process: Change directory to SDL_Pi_SkyWeather cd SDL_Pi_SkyWeather
git pull and it will update the software. FYI, the software is located on: https://github.com/switchdoclabs/SDL_Pi_SkyWeather The link to the latest manual (as of 6.30.2019 - Version 1.3) is on here: shop.switchdoc.com/products/skyweather-raspberry-pi-based-weather-station-kit-for-the-cloudBP
|
|
|
Post by Powderjockey on Jun 30, 2019 19:12:13 GMT -8
Page 54 has a typo on it.
This will test the TSL2591 sensor. Type: sudo python test TSL2591.py
|
|
|
Post by SDL on Jul 2, 2019 18:45:48 GMT -8
Fixed.
BP
|
|
|
Post by Powderjockey on Jul 26, 2019 15:05:12 GMT -8
If you are a person that bought or received the SD card, then you need to update your software for SkyWeather. Here is the process: Change directory to SDL_Pi_SkyWeather cd SDL_Pi_SkyWeather
git pull and it will update the software. FYI, the software is located on: https://github.com/switchdoclabs/SDL_Pi_SkyWeather The link to the latest manual (as of 6.30.2019 - Version 1.3) is on here: shop.switchdoc.com/products/skyweather-raspberry-pi-based-weather-station-kit-for-the-cloudBP Is there an easy way to upgrade for those who are not a person that bought or received the SD card?
I tried the git pull with no success. Said it was not a valid repo. fatal: Not a git repository (or any of the parent directories): .git
|
|
|
Post by SDL on Jul 27, 2019 7:22:14 GMT -8
Powerjockey,
What have you done? Can you type "git status" in your program directory and see what is is going on?
Something has corrupted your git repository.
BP
|
|
|
Post by Powderjockey on Jul 28, 2019 18:28:16 GMT -8
Powerjockey, What have you done? Can you type "git status" in your program directory and see what is is going on? Something has corrupted your git repository. BP Same error message.
Is there suppose to be a folder named git on the drive?
|
|
|
Post by SDL on Jul 29, 2019 9:09:30 GMT -8
PowerJockey,
Do an "ls -a" in your SkyWeather directory and post the results. It is a hidden directory ".git"
BP
|
|
|
Post by Powderjockey on Jul 29, 2019 16:38:31 GMT -8
pi@raspberrypi:~ $ ls -a . .cups .nano SDL_Pi_ThunderBoard_IOT .. Desktop numlock.sh SDL_SkyWeather .bash_history Documents .oracle_jre_usage Templates .bash_logout Downloads Pictures Videos .bashrc .gnupg .pki .vnc .cache .local .profile .Xauthority .config MagPi Public .xsession-errors conflocal.py Music SDL_Pi_SkyWeather .xsession-errors.old
Nope, not there.
|
|
|
Post by Powderjockey on Jul 29, 2019 17:04:41 GMT -8
Installed git in the directory with "git init", then "git pull github.com/switchdoclabs/SDL_Pi_SkyWeather" and received the following: git pull https://github.com/switchdoclabs/SDL_Pi_SkyWeather remote: Enumerating objects: 14, done. remote: Counting objects: 100% (14/14), done. remote: Compressing objects: 100% (13/13), done. remote: Total 561 (delta 3), reused 3 (delta 1), pack-reused 547 Receiving objects: 100% (561/561), 18.45 MiB | 3.76 MiB/s, done. Resolving deltas: 100% (242/242), done. From https://github.com/switchdoclabs/SDL_Pi_SkyWeather * branch HEAD -> FETCH_HEAD error: The following untracked working tree files would be overwritten by merge: .gitignore Adafruit_I2C/Adafruit_I2C.py Adafruit_Python_BMP/.gitignore Adafruit_Python_BMP/Adafruit_BMP/BMP085.py Adafruit_Python_BMP/Adafruit_BMP/BMP280.py Adafruit_Python_BMP/Adafruit_BMP/__init__.py Adafruit_Python_BMP/LICENSE Adafruit_Python_BMP/README.md Adafruit_Python_BMP/examples/google_spreadsheet.py Adafruit_Python_BMP/examples/simpletest.py Adafruit_Python_BMP/examples/simpletest_280.py Adafruit_Python_BMP/ez_setup.py Adafruit_Python_BMP/munin/i2c_pressure Adafruit_Python_BMP/munin/i2c_temperature Adafruit_Python_BMP/setup.py Adafruit_Python_GPIO/..S*1145 Adafruit_Python_GPIO/.gitignore Adafruit_Python_GPIO/Adafruit_GPIO/FT232H.py Adafruit_Python_GPIO/Adafruit_GPIO/GPIO.py Adafruit_Python_GPIO/Adafruit_GPIO/I2C.py Adafruit_Python_GPIO/Adafruit_GPIO/MCP230xx.py Adafruit_Python_GPIO/Adafruit_GPIO/PCA95xx.py Adafruit_Python_GPIO/Adafruit_GPIO/PCF8574.py Adafruit_Python_GPIO/Adafruit_GPIO/PWM.py Adafruit_Python_GPIO/Adafruit_GPIO/Platform.py Adafruit_Python_GPIO/Adafruit_GPIO/SPI.py Adafruit_Python_GPIO/Adafruit_GPIO/__init__.py Adafruit_Python_GPIO/LICENSE Adafruit_Python_GPIO/README.md Adafruit_Python_GPIO/ez_setup.py Adafruit_Python_GPIO/setup.py Adafruit_Python_GPIO/tests/MockGPIO.py Adafruit_Python_GPIO/tests/__init__.py Adafruit_Python_GPIO/tests/test_GPIO.py Adafruit_Python_GPIO/tests/test_I2C.py Adafruit_Python_GPIO/tests/test_PWM.py Adafruit_Python_GPIO/tests/test_Platform.py Adafruit_Python_GPIO/tests/test_SPI.py Adafruit_Python_SSD1306/.github/ISSUE_TEMPLATE.md Adafruit_Python_SSD1306/.github/PULL_REQUEST_TEMPLATE.md Adafruit_Python_SSD1306/.gitignore Adafruit_Python_SSD1306/Adafruit_SSD1306/SSD1306.py Adafruit_Python_SSD1306/Adafruit_SSD1306/__init__.py Adafruit_Python_SSD1306/LICENSE Adafruit_Python_SSD1306/README.md Adafruit_Python_SSD1306/dist/Adafruit_SSD1306-1.6.0-py2.7.egg Adafruit_Python_SSD1306/examples/animate.py Adafruit_Python_SSD1306/examples/happycat_oled_32.ppm Adafruit_Python_SSD1306/examples/happycat_oled_64.ppm Adafruit_Python_SSD1306/examples/image.py Adafruit_Python_SSD1306/examples/shapes.py Adafruit_Python_SSD1306/ez_setup.py Adafruit_Python_SSD1306/setup.py BME680/LICENSE BME680/bme680.py BME680/constants.py BME680/indoor-air-quality.py BME680/read-all.py BME680/temp-offset.py BME680/temp-press-hum.py BME680_Functions.py DustSensor.py MySQLFiles/GroveWeatherPi.sql README.md RTC_SDL_DS3231/README.md RTC_SDL_DS3231/SDL_DS3231.py RTC_SDL_DS3231/testSDL_DS3231.py RaspberryPi-AS3935/.gitignore RaspberryPi-AS3935/.travis.yml RaspberryPi-AS3935/LICENSE RaspberryPi-AS3935/README.md RaspberryPi-AS3935/RPi_AS3935/RPi_AS3935.py RaspberryPi-AS3935/RPi_AS3935/__init__.py RaspberryPi-AS3935/demo.py RaspberryPi-AS3935/requirements.txt RaspberryPi-AS3935/requirements/base.txt RaspberryPi-AS3935/requirements/flake8.txt RaspberryPi-AS3935/requirements/pep8.txt RaspberryPi-AS3935/setup.cfg RaspberryPi-AS3935/setup.py RaspberryPi-AS3935/tests/conftest.py RaspberryPi-AS3935/tests/test_disp_lco.py RaspberryPi-AS3935/tests/test_disturbers.py RaspberryPi-AS3935/tests/test_indoors.py RaspberryPi-AS3935/tests/test_min_strikes.py RaspberryPi-AS3935/tests/test_noise_floor.py RaspberryPi-AS3935/tox.ini SDL_Adafruit_ADS1x15/Adafruit_I2C.py SDL_Adafruit_ADS1x15/SDL_Adafruit_ADS1x15.py SDL_Adafruit_ADS1x15/ads1x15_ex_comparator.py SDL_Adafruit_ADS1x15/ads1x15_ex_differential.py SDL_Adafruit_ADS1x15/ads1x15_ex_singleended.py SDL_Pi_8PixelStrip/.gitignore SDL_Pi_8PixelStrip/DEBIAN/control SDL_Pi_8PixelStrip/DEBIAN/postinst SDL_Pi_8PixelStrip/DEBIAN/postrm SDL_Pi_8PixelStrip/DEBIAN/prerm SDL_Pi_8PixelStrip/LICENSE SDL_Pi_8PixelStrip/README.md SDL_Pi_8PixelStrip/SConscript SDL_Pi_8PixelStrip/SConstruct SDL_Pi_8PixelStrip/clk.h SDL_Pi_8PixelStrip/dma.c SDL_Pi_8PixelStrip/dma.h SDL_Pi_8PixelStrip/golang/README.md SDL_Pi_8PixelStrip/golang/examples/basic.go SDL_Pi_8PixelStrip/golang/ws2811/ws2811.go SDL_Pi_8PixelStrip/golang/ws2811/ws2811.go.h SDL_Pi_8PixelStrip/gpio.h SDL_Pi_8PixelStrip/linux.py SDL_Pi_8PixelStrip/mailbox.c SDL_Pi_8PixelStrip/mailbox.h SDL_Pi_8PixelStrip/main.c SDL_Pi_8PixelStrip/pcm.c SDL_Pi_8PixelStrip/pcm.h SDL_Pi_8PixelStrip/pwm.c SDL_Pi_8PixelStrip/pwm.h SDL_Pi_8PixelStrip/python/.gitignore SDL_Pi_8PixelStrip/python/README.md SDL_Pi_8PixelStrip/python/examples/SK6812_lowlevel.py SDL_Pi_8PixelStrip/python/examples/SK6812_strandtest.py SDL_Pi_8PixelStrip/python/examples/SK6812_white_test.py SDL_Pi_8PixelStrip/python/examples/lowlevel.py SDL_Pi_8PixelStrip/python/examples/multistrandtest.py SDL_Pi_8PixelStrip/python/examples/neopixelclock.py SDL_Pi_8PixelStrip/python/examples/strandtest.py SDL_Pi_8PixelStrip/python/ez_setup.py SDL_Pi_8PixelStrip/python/neopixel.py SDL_Pi_8PixelStrip/python/rpi_ws281x.i SDL_Pi_8PixelStrip/python/setup.py SDL_Pi_8PixelStrip/rpihw.c SDL_Pi_8PixelStrip/rpihw.h SDL_Pi_8PixelStrip/version SDL_Pi_8PixelStrip/version.py SDL_Pi_8PixelStrip/ws2811.c SDL_Pi_8PixelStrip/ws2811.h SDL_Pi_AM2315/.gitignore SDL_Pi_AM2315/AM2315.py SDL_Pi_AM2315/LICENSE SDL_Pi_AM2315/README.md SDL_Pi_AM2315/testAM2315.py SDL_Pi_DustSensor/.gitignore SDL_Pi_DustSensor/README.md SDL_Pi_DustSensor/SDL_Pi_DustSensor.py SDL_Pi_DustSensor/testDust.py SDL_Pi_GrovePowerDrive/.gitignore SDL_Pi_GrovePowerDrive/README.md SDL_Pi_GrovePowerDrive/SDL_Pi_GrovePowerDrive.py SDL_Pi_GrovePowerDrive/example.py SDL_Pi_HDC1000/.gitignore SDL_Pi_HDC1000/README.md SDL_Pi_HDC1000/SDL_Pi_HDC1000.py SDL_Pi_HDC1000/testHDC1000.py SDL_Pi_INA3221/.gitignore SDL_Pi_INA3221/README.md SDL_Pi_INA3221/SDL_Pi_INA3221.py SDL_Pi_INA3221/testSDL_Pi_INA3221.py SDL_Pi_SI1145/.gitignore SDL_Pi_SI1145/I2C.py SDL_Pi_SI1145/Platform.py SDL_Pi_SI1145/README.md SDL_Pi_SI1145/SDL_Pi_SI1145.py SDL_Pi_SI1145/SI1145Lux.py SDL_Pi_SI1145/simpletest.py SDL_Pi_SSD1306/README.md SDL_Pi_SSD1306/SDL_animate.py SDL_Pi_SSD1306/SDL_image.py SDL_Pi_SSD1306/SDL_shapes.py SDL_Pi_SSD1306/happycat_oled_32.ppm SDL_Pi_SSD1306/happycat_oled_64.ppm SDL_Pi_TCA9545/.gitignore SDL_Pi_TCA9545/README.md SDL_Pi_TCA9545/SDL_Pi_TCA9545.py SDL_Pi_TCA9545/testSDL_Pi_TCA9545.py SDL_Pi_WeatherRack/.gitignore SDL_Pi_WeatherRack/NoWPAConfig.py SDL_Pi_WeatherRack/README.md SDL_Pi_WeatherRack/SDL_Pi_WeatherRack.py SDL_Pi_WeatherRack/SDL_Pi_WeatherRackTest.py Scroll_SSD1306.py SkyCamera.py SkyWeather.py SkyWeatherSQL/WeatherPiStructure.sql TSL2591/TSL2591.py TSL2591/testTSL2591.py WeatherUnderground.py config.py crcpython2.py doAllGraphs.py doWatchdogPat.py graphs/BarometerLightningGraph.py graphs/PowerCurrentGraph.py graphs/PowerVoltageGraph.py graphs/TemperatureHumidityGraph.py graphs/testTemp.py lowpower.sh pclogging.py pixelDriver.py pyRFM/LICENSE pyRFM/README.md pyRFM/examples/get_version.py pyRFM/examples/rf95_client.py pyRFM/examples/rf95_server.py pyRFM/lib/__init__.py pyRFM/lib/ll/__init__.py pyRFM/lib/ll/ll_rfm9x.py pyRFM/lib/pl/__init__.py pyRFM/lib/pl/pl_serial_seed.py readLoRa.py sendemail.py startserver.sh state.py state/SunAirPlusStats.txt state/WeatherCommand.txt state/WeatherStats.txt static/BarometerLightningGraph.png static/PowerCurrentGraph.png static/PowerVoltageGraph.png static/TemperatureHumidityGraph.png static/skycamera.jpg testAM2315.py testAS3935.py testBlynk.py testDust.py testFan.py testGraph.py testSDL_Pi_TCA9545.py testSI1145.py testTSL2591.py testWXLink.py testWeatherRack.py updateBlynk.py util.py Please move or remove them before you merge. Aborting
|
|
|
Post by SDL on Jul 30, 2019 6:58:31 GMT -8
Boy, something is hosed up badly. I think git init was not the right thing to do.
clone SkyWeather into another directory (or back up yours and then remove it). Can you do a merge of your changes by hand? You can just copy over your conflocal.py file.
BP
|
|
|
Post by doxidad on Jul 31, 2019 14:57:50 GMT -8
In the graphs directory BarometerLightning.py has an error that prevents the barometer values from displaying. for i in range(len(s)): s = s * 10
Causes the values to over range and not be displayed. Comment it out if you want the Barometer readings to be displayed.
Hmmmm... I thought I reported this a long time ago in the GWP code. Could you make the changes in this code base and also in the GWP (it's still has it in it).
Thanks
|
|
|
Post by Powderjockey on Aug 1, 2019 17:51:44 GMT -8
Boy, something is hosed up badly. I think git init was not the right thing to do. clone SkyWeather into another directory (or back up yours and then remove it). Can you do a merge of your changes by hand? You can just copy over your conflocal.py file. BP Did exactly that, deleted the directory, saved the conflocal.py, cloned the software back to the unit, copied the conflocal.py back into the directory and cranked things up and all seems to be up to date. Small problems were fixed, Barometric Pressure is reading correct now.
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Aug 20, 2019 14:20:55 GMT -8
Hi, not sure what happened but I updated the software using git pull and now the thunder board and AM2315 (temp/bar) sensor are not showing up. Everything else shows up and works properly, checked wiring, unplugged and plugged all wiring on both those sensors and boards to main board, still not showing up during test or after starting skyweather. I just get the message that those two devices are not present. I am going to reinstall the original software and see if it works (all sensors were recognized with it before the git pull). Any thoughts, when I did the git pull it didn't seem to pull very much stuff so not sure if it actually pulled everything as it had a message about committing before merging... Thanks for any help in advance
|
|
|
Post by SDL on Aug 21, 2019 12:50:43 GMT -8
Something went wrong. Copy your conflocal.py to another directory (say /home/pi) and then delete your entire SDL_Pi_SkyWeather directory.
then git clone the software.
BP
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Aug 21, 2019 15:45:37 GMT -8
So delete everything in the folder then type git clone within that folder? I'm still a noob in learning Linux so the exact commands in the interface would be great... Thanks
|
|