Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SkyCamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def takeSkyPicture():

camera.exposure_mode = "auto"
try:
camera.rotation = 180
camera.rotation = config.CAMERA_ROTATION
#camera.rotation = 270
camera.resolution = (1920, 1080)
# Camera warm-up time
Expand Down
4 changes: 2 additions & 2 deletions SkyWeather.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ def togglePower(GroveSavePin):

import SDL_Pi_GrovePowerDrive

TEMPFANTURNON = 37.0
TEMPFANTURNOFF = 34.0
TEMPFANTURNON = config.FAN_ON_TEMP
TEMPFANTURNOFF = config.FAN_OFF_TEMP

myPowerDrive = SDL_Pi_GrovePowerDrive.SDL_Pi_GrovePowerDrive(config.GPIO_Pin_PowerDrive_Sig1, config.GPIO_Pin_PowerDrive_Sig2, False, False)

Expand Down
4 changes: 4 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@

USEWEATHERSTEM = False
INTERVAL_CAM_PICS__SECONDS = 60
CAMERA_ROTATION = 180
STATIONMAC = MACADDRESS
STATIONKEY="XXXXYYYY"
STATIONHARDWARE=""

FAN_ON_TEMP = 37
FAN_OFF_TEMP = 34


# WeatherUnderground Station

Expand Down