roomnames
authorBernhard Tittelbach <xro@realraum.at>
Wed, 16 Oct 2013 00:48:58 +0000 (00:48 +0000)
committerBernhard Tittelbach <xro@realraum.at>
Wed, 16 Oct 2013 00:48:58 +0000 (00:48 +0000)
go/r3-netstatus/webstatus.go

index 7bd292e..224fdc4 100644 (file)
@@ -98,15 +98,15 @@ func EventToWeb(ps *pubsub.PubSub) {
                 var tempsensorlocation string
                 switch event.Sensorindex {
                     case 0:
-                        tempsensorlocation = "HHL"
+                        tempsensorlocation = "LoTHR"
                     case 1:
-                        tempsensorlocation = "Gang"
+                        tempsensorlocation = "CX"
                     default:
                         tempsensorlocation = "Sonstwo"
                 }
                spaceapidata.MergeInSensor(spaceapi.MakeTempCSensor(fmt.Sprintf("Temp%d",event.Sensorindex),tempsensorlocation, event.Value))
             case r3events.IlluminationSensorUpdate:
-                spaceapidata.MergeInSensor(spaceapi.MakeIlluminationSensor("Photodiode","HHL","1024V/5V", event.Value))
+                spaceapidata.MergeInSensor(spaceapi.MakeIlluminationSensor("Photodiode","LoTHR","1024V/5V", event.Value))
         }
        }
 }