X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=go%2Fr3-netstatus%2Fsockettoevent.go;h=463838ce4ea0865343e5e3310964f592ca7828dd;hp=d3ffd22e1b4904752042445950f71c8cf9b3be9c;hb=b7182b7f1d5dae86d81310beaa6ce6d693696572;hpb=0d2bd96d2c019a7c0e0282898809fb03962ca701 diff --git a/go/r3-netstatus/sockettoevent.go b/go/r3-netstatus/sockettoevent.go index d3ffd22..463838c 100644 --- a/go/r3-netstatus/sockettoevent.go +++ b/go/r3-netstatus/sockettoevent.go @@ -9,12 +9,11 @@ import ( //~ "./brain" //~ "net" "encoding/json" - "log" r3events "svn.spreadspace.org/realraum/go.svn/r3-eventbroker_zmq/r3events" ) func ParseZMQr3Event(lines [][]byte, ps *pubsub.PubSub) { //, brn *brain.Brain) { - //log.Printf("ParseZMQr3Event: len: %d lines: %s", len(lines), lines) + //Debug_.Printf("ParseZMQr3Event: len: %d lines: %s", len(lines), lines) if len(lines) != 2 { return } @@ -40,7 +39,6 @@ func ParseZMQr3Event(lines [][]byte, ps *pubsub.PubSub) { //, brn *brain.Brain) err := json.Unmarshal(lines[1],evnt) if err == nil {ps.Pub(*evnt, "buttons")} case "DoorLockUpdate" : - log.Print("DoorLockUpdate received") evnt := new(r3events.DoorLockUpdate) err := json.Unmarshal(lines[1],evnt) if err == nil {ps.Pub(*evnt, "door")}