gy21
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2024-12-04 12:49:49 +01:00
parent c3dce9faab
commit 95831d5e47
2 changed files with 58 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import (
"udi/handlers/ttn/models/draginoLsn50"
"udi/handlers/ttn/models/rawPayloadPrinter"
"udi/handlers/ttn/models/hottisScd30"
"udi/handlers/ttn/models/hottisGy21
"udi/handlers/ttn/models/hottisThreeWayThermometer"
"udi/database"
)
@ -153,6 +154,8 @@ func (self *TTNHandler) Handle(message handler.MessageT) {
parser = rawPayloadPrinter.Parse
case "hottis-scd30":
parser = hottisScd30.Parse
case "hottis-gy21":
parser = hottisGy21.Parse
case "hottis-threeway-thermometer":
parser = hottisThreeWayThermometer.Parse
default: