X axis of contact sensor not working in piston


#1

I’m getting the below error whenever I try to add a condition involving the X axis of a contact sensor. I’ve removed this element from a piston and it works perfectly, but once I add the X axis back in, the same error appears. Think this must be something behind the scenes!

2/21/2018, 9:37:24 AM +466ms
+0ms ╔Starting piston… (v0.2.102.20180116)
+248ms ║╔Subscribing to devices…
+279ms ║║Subscribing to Cat Flap.threeAxis…
+360ms ║║Subscribing to | Google Assistant Relay…
+361ms ║╚Finished subscribing (124ms)
+384ms ║An error occurred while executing the event: groovy.json.JsonException: A JSON payload should start with an openning curly brace ‘{’ or an openning square bracket ‘’. Instead, ‘4’ was found on line: 1, column: 1
+392ms ╚Piston successfully started (392ms)
2/21/2018, 9:36:29 AM +65ms
+1ms ╔Received event [Cat Flap].threeAxis = 4,-24,1019 with a delay of 668ms
+177ms ║Runtime (43859 bytes) successfully initialized in 42ms (v0.2.102.20180116) (175ms)
+178ms ║╔Execution stage started
+184ms ║║An error occurred while executing the event: groovy.json.JsonException: A JSON payload should start with an openning curly brace ‘{’ or an openning square bracket ‘’. Instead, ‘4’ was found on line: 1, column: 1
+185ms ║╚Execution stage complete. (7ms)
+186ms ╚Event processed successfully (186ms)

Thanks to anyone who can work this out!


#2

Seeing the same thing in my mood cube piston