Skip to content

Commit

Permalink
A few changes to REAL_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabix-1311 committed Sep 7, 2024
1 parent 8962d43 commit ca8c3fa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions aquaPi/machineroom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def create_default_nodes(self):

# ... and history for a diagram
history = History('Licht',
[light_schedule.id, light_c.id, light_pwm.id])
[light_schedule.id, light_c.id) #, light_pwm.id])
history.plugin(self.bus)

# single water temp sensor, switched relay
Expand All @@ -156,7 +156,8 @@ def create_default_nodes(self):
wasser_o.plugin(self.bus)

# air temperature, just for the diagram
wasser_i2 = AnalogInput('Wasser 2', 'DS1820 x7A71E', 25.0, '°C')
wasser_i2 = AnalogInput('Wasser 2', 'DS1820 x7A71E', 25.0, '°C',
avg=2, interval=60)
wasser_i2.plugin(self.bus)

# fancy: if water temp >26 a cooling fan spins dynamically up
Expand All @@ -171,8 +172,8 @@ def create_default_nodes(self):
# ... and history for a diagram
t_history = History('Temperaturen',
[wasser_i.id, wasser_i2.id,
wasser.id, wasser_o.id,
coolspeed.id, cool.id])
wasser.id, #wasser_o.id,
coolspeed.id) #, cool.id])
t_history.plugin(self.bus)

adc_ph = AnalogInput('pH Sonde', 'ADC #1 in 3', 2.49, 'V',
Expand Down

0 comments on commit ca8c3fa

Please sign in to comment.