28 lines
668 B
Python
28 lines
668 B
Python
# GrowSystem
|
|
# Author: Maik Müller (maik@muelleronlineorg)
|
|
|
|
# WIP!
|
|
# This file should do only:
|
|
# - provide constants for settings
|
|
# - eventually necessary system settings
|
|
# - Call base class, permitting the configured constants
|
|
from grow_system import GrowSystem
|
|
|
|
settings = {
|
|
'wlan_ssid': 'Oppa-95.lan',
|
|
'wlan_pw': '95%04-MM',
|
|
'led_pin_int': 15,
|
|
'moisture_sensor': {
|
|
'pin_int': 26
|
|
},
|
|
'pump_pin_int': 24
|
|
}
|
|
|
|
# Press the green button in the gutter to run the script.
|
|
if __name__ == '__main__':
|
|
print("Start grow system")
|
|
gs = GrowSystem(settings)
|
|
gs.start()
|
|
|
|
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
|