I did the original Kickstarter for the DIY weather on your Pi back in 2016 and then the Skyweather upgrade. I finally got round to start building it this month (Science teacher changing schools / moving, laziness etc!)
The lightning detector is the older version which looks different to the 1.7 build instructions. I’ve double checked the wiring as well...
The issue: when I run the AS3935 test script I get “AS3935 NOT detected at I2C port 0x02 on base Bus” I’ve also noticed that I’ve got an extra reading on the SDL_Pi_TCA9545 test script on buses 1,2 and 3 at 03
Any help would be useful!
(Trying to upload a picture of the lightning detector but getting an error message about size... it's only 300 kB?)
Last Edit: Oct 15, 2019 21:08:46 GMT -8 by tellwyn
Once installed, check whether is has been enabled: systemctl is-active mariadb systemctl is-enabled mariadb The first command should say “active”, the second should give a result of “enabled”.
If it doesn’t, then we will need to start it: systemctl enable mariadb systemctl start mariadb Now the basic install doesn’t complete the full set up so our next step is to configure MariaDB with a password etc…
sudo mysql_secure_installation This will ask you to a) set a root password b) remove anonymous users c) allow remote root login d) remove the test database e) reload privilege tables immediately (to allow a-d to take effect)
sudo apt-get install python-mysqldb This step installs the python to mysql bindings
Hope this helps some people! I'll add more later (and possibly make a new post with a more complete version) once I've finished the waterproofing of the box... I'm out of superglue and silicon caulking
Last Edit: Oct 15, 2019 21:10:58 GMT -8 by tellwyn