X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=go%2Fr3-netstatus%2Fwebstatus.go;h=224fdc417d52c8258fcb15c7c15fe26ec3eec5a3;hp=7bd292eadda609b94c35659b68aee277aa1f2969;hb=50d8b89aad9fc4349fb277de9e5620ba27724057;hpb=b8c1c0323be494dadbe8316322d3d818db32531a diff --git a/go/r3-netstatus/webstatus.go b/go/r3-netstatus/webstatus.go index 7bd292e..224fdc4 100644 --- a/go/r3-netstatus/webstatus.go +++ b/go/r3-netstatus/webstatus.go @@ -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)) } } }