W6NOAP

From Noisebridge
Revision as of 15:49, 31 October 2020 by (talk | contribs) (+ Relay pi/py tweeks)
Jump to navigation Jump to search

Weather Station

2169 Roof Unit (decommissioned mmxx)

Currently dormant on #fort rack shelf.


pi shield build

Python Test

bashland garage M.V.P. 2020.10.03

pi@phreak:~ $ python
Python 2.7.16 (default, Oct 10 2019, 22:02:15) 
[GCC 8.3.0] on linux2
>>> from piweathershield import PiWeatherShield
>>> ws = PiWeatherShield()
>>> ws.htu21d.read_humidity()
22.835296630859375
>>> ws.htu21d.read_temperature()
38.4145263671875
>>> ws.ms5637.read_temperature_and_pressure()
(39.89, 1012.41)
>>> ws.tsd305.read_temperature_and_object_temperature()
(36.662845611572266, 22.8941942454943)
>>> ws.tsys01.read_temperature()
36.73362625401162

Python WX Report

#cat NoisebridgeWeatherReport.py 
from piweathershield import PiWeatherShield
from time import sleep
import time
print("Weather Stats for Noisebridge")
while True:
	ws = PiWeatherShield()
	print("")
	print("Location:               272 Capp Street, S.F. Earth")
	print("Date & Time:             " + time.asctime())
	print("Humidity:                    " + str(ws.htu21d.read_humidity()) + " %") 
	print("Pressure:                    " + str(ws.ms5637.read_temperature_and_pressure()[1]) + " mBar")
	print("Object Temperature:          " + str(ws.tsd305.read_temperature_and_object_temperature()[1]) + " Celcius")
	print("Ambient Temperature:         " + str(ws.tsys01.read_temperature()) + " Celcius")
	sleep(20) #moved to end so prints before 1st sleep


<quote>Observations for the evening of October 3rd in the garage behind the Amburlance and Pomegranate/Raspberry of Ashland California are; humidity 22.835%, 1,012.41 milibars, 36.73 degrees sell-shee-us, and thermocouple object reading for the ceiling of 22.894194245494... tree (72 fr33d'm nuggets).</quote>

replicant floating (272 w/pi?)

Node-RED/MQTT