Skip to content

Commit

Permalink
add one sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Aug 15, 2024
1 parent edaaf48 commit 866af8f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions sp-sim/examples/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ capabilities = 0
presence = "Present"
serial_console = "[::1]:33312"

[[simulated_sps.gimlet.components]]
id = "dev-0"
device = "tmp117"
description = "FAKE Southwest temperature sensor"
capabilities = 2
presence = "Present"
sensors = [
{ name = "Southwest", kind = "Temperature", sensor_id = 0, last_data.value = 41.7890625, last_data.timestamp = 1234 },
]

[[simulated_sps.gimlet]]
multicast_addr = "ff15:0:1de::2"
bind_addrs = ["[::]:33320", "[::]:33321"]
Expand All @@ -39,6 +49,17 @@ capabilities = 0
presence = "Present"
serial_console = "[::1]:33322"

[[simulated_sps.gimlet.components]]
id = "dev-0"
device = "tmp117"
description = "FAKE Southwest temperature sensor"
capabilities = 2
presence = "Present"
sensors = [
{ name = "Southwest", kind = "Temperature", sensor_id = 0, last_data.value = 41.7890625, last_data.timestamp = 1234 },
]


[log]
# Show log messages of this level and more severe
level = "debug"
Expand Down

0 comments on commit 866af8f

Please sign in to comment.