W6NOAP

From Noisebridge
Jump to: navigation, search

Weather Station[edit]

2169 Roof Unit (decommissioned mmxx)[edit]

Currently dormant on #fort rack shelf.


pi shield build[edit]

Python Test[edit]

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[edit]

#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

Output:

Location:               272 Capp Street, S.F. Earth  
Date & Time:             Sat Oct 31 15:43:58 2020    
Humidity:                    18.6238708496 %         
Pressure:                    1016.93 mBar            
Object Temperature:          22.3973064849 Celcius   
Ambient Temperature:         30.8398327111 Celcius


<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[edit]