Skip to content

Commit

Permalink
tweak: configure for real location of sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
mewejo authored Mar 15, 2023
1 parent 7712dc3 commit 8092377
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/app/hardware.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,21 @@ func (app *App) configureHardware() {
app.zones = append(app.zones, model.NewZone(
"raised-bed-1",
"Raised Bed #1",
[]*model.MoistureSensor{moistureSensor1, moistureSensor2},
[]*model.MoistureSensor{moistureSensor3, moistureSensor6},
[]*model.WaterOutlet{waterOutlet1},
))

app.zones = append(app.zones, model.NewZone(
"raised-bed-2",
"Raised Bed #2",
[]*model.MoistureSensor{moistureSensor3, moistureSensor4},
[]*model.MoistureSensor{moistureSensor2, moistureSensor4},
[]*model.WaterOutlet{waterOutlet2},
))

app.zones = append(app.zones, model.NewZone(
"raised-bed-3",
"Raised Bed #3",
[]*model.MoistureSensor{moistureSensor5, moistureSensor6},
[]*model.MoistureSensor{moistureSensor1, moistureSensor5},
[]*model.WaterOutlet{waterOutlet3},
))
}

0 comments on commit 8092377

Please sign in to comment.