Editing W6NOAP

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
 
== pi shield build ==
 
== pi shield build ==
  
=== Python Test ===
 
 
bashland garage M.V.P. 2020.10.03
 
bashland garage M.V.P. 2020.10.03
  
Line 28: Line 27:
 
36.73362625401162
 
36.73362625401162
 
</pre>
 
</pre>
 
=== Python WX Report ===
 
<pre>
 
#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
 
</pre>
 
 
Output:
 
<pre>
 
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
 
</pre>
 
 
 
<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?)
 
replicant floating (272 w/pi?)
Line 65: Line 32:
 
*https://github.com/TEConnectivity/piweathershield-python
 
*https://github.com/TEConnectivity/piweathershield-python
 
*https://www.te.com/usa-en/models/6/30/082/390/CAT-DCS0036.html#mdp-tabs-content
 
*https://www.te.com/usa-en/models/6/30/082/390/CAT-DCS0036.html#mdp-tabs-content
 
== Node-RED/MQTT ==
 
 
*Dashboard: http://199.188.195.72:1880/ui/
 
*Flow edit: http://199.188.195.72:1880/
 
 
*Article: http://www.yoctopuce.com/EN/article/a-weather-station-with-mqtt-and-node-red
 
*"flow" https://www.yoctopuce.com/pubarchive/2018-11/Node-Red_WeatherStationFlow_1.json
 
*mqtt test: https://stackoverflow.com/questions/38733589/publishing-mqtt-messages-from-a-python-script-on-a-raspberry-pi
 

Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Noisebridge:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)