node-red-contrib-homematic icon indicating copy to clipboard operation
node-red-contrib-homematic copied to clipboard

Output homematic node

Open dirkzp opened this issue 7 years ago • 0 comments

Hallo, ich nutze node red um den Status von Fensterkontakten auszulesen. Inject --> homematic node --> http request --> msg.payload.

Als Rückgabe erhalte ich: "false<xml><exec>/tclrega.exe</exec><sessionId></sessionId><httpUserAgent></httpUserAgent><d>BidCos-RF.XXXXXX:1.STATE</d></xml>"

Das "false" wäre die eigentlich richtige Antwort. Kommt auch als Ergebnis, wenn man das Script direkt auf der CCU ausführt. Wie bekommt man den XML Teil weg?

Vielen Dank.

Mfg Dirk

dirkzp avatar Aug 07 '18 21:08 dirkzp