X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=r3-netstatus%2Fsockettoevent.go;h=f356482719d5bbc5626492d87c1538222960a055;hb=cd7b30c04615b0ac24fd70703362698e65aea927;hp=c49ad6f0af6310a30eb0bea292ac4ccc943654d8;hpb=a1f29138492d8dad21a41ad6c06fa36c6e324e69;p=svn42.git diff --git a/r3-netstatus/sockettoevent.go b/r3-netstatus/sockettoevent.go index c49ad6f..f356482 100644 --- a/r3-netstatus/sockettoevent.go +++ b/r3-netstatus/sockettoevent.go @@ -13,7 +13,7 @@ import ( var ( re_presence_ *regexp.Regexp = regexp.MustCompile("Presence: (yes|no)(?:, (opened|closed), (.+))?") re_status_ *regexp.Regexp = regexp.MustCompile("Status: (closed|opened), (opening|waiting|closing|idle), (ajar|shut).*") - re_command_ *regexp.Regexp = regexp.MustCompile("(open|close|toggle) (?:(Card|Phone) )?(.+)") + re_command_ *regexp.Regexp = regexp.MustCompile("(open|close|toggle) (?:(Card|Phone|SSH|ssh) )?(.+)") re_button_ *regexp.Regexp = regexp.MustCompile("PanicButton|button\\d?") re_temp_ *regexp.Regexp = regexp.MustCompile("temp0: (\\d+\\.\\d+)") re_photo_ *regexp.Regexp = regexp.MustCompile("photo0: (\\d+)")