1) Give a description of the problem
I’m working on an end of cycle notification for my washing machine, using power consumption as a trigger. Trying to log my power use during a few cycles to establish a baseline. I created a basic piston to log to a fuel stream, but it errors out. I added a 2nd command to write to console with the info, which also errors out.
The device I’m trying to log is a Peanut Smart Plug, which has been updated to the current firmware for power monitoring, which works inside the ST app.
2) What is the expected behaviour?
Fuel Stream and log entries showing power use.
3) What is happening/not happening?
Errors out in both fuel stream and log.
**4) Post a Green Snapshot of the piston!
5) Attach logs after turning logging level to Full
9/10/2019, 1:53:32 PM +122ms
+1ms ╔Received event [Washing Machine Plug].power = 165.0877393647 with a delay of 44ms
+54ms ║RunTime Analysis CS > 13ms > PS > 30ms > PE > 11ms > CE
+56ms ║Runtime (36712 bytes) successfully initialized in 30ms (v0.3.10f.20190822) (55ms)
+57ms ║╔Execution stage started
+62ms ║║Cancelling statement #3’s schedules…
+69ms ║║Error executing virtual command .log: (1ms) groovy.lang.MissingMethodException: No signature of method: physicalgraph.sandbox.TruncatingLoggingListener.165.0877393647() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl, null) values: [║║ null, null]
+83ms ║║Executed virtual command writeToFuelStream (7ms)
+85ms ║╚Execution stage complete. (28ms)
+87ms ╚Event processed successfully (86ms)
9/10/2019, 1:53:24 PM +137ms
+2ms ╔Received event [Washing Machine Plug].power = 8.0848655929 with a delay of 72ms
+78ms ║RunTime Analysis CS > 18ms > PS > 42ms > PE > 18ms > CE
+80ms ║Runtime (36710 bytes) successfully initialized in 42ms (v0.3.10f.20190822) (77ms)
+81ms ║╔Execution stage started
+87ms ║║Cancelling statement #3’s schedules…
+94ms ║║Error executing virtual command .log: (2ms) groovy.lang.MissingMethodException: No signature of method: physicalgraph.sandbox.TruncatingLoggingListener.8.0848655929() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl, null) values: [║║ null, null]
+115ms ║║Executed virtual command writeToFuelStream (14ms)
+117ms ║╚Execution stage complete. (36ms)
+119ms ╚Event processed successfully (118ms)
9/10/2019, 1:53:19 PM +136ms
+1ms ╔Starting piston… (v0.3.10f.20190822)
+93ms ║╔Subscribing to devices…
+99ms ║║Subscribing to Washing Machine Plug.power…
+154ms ║╚Finished subscribing (64ms)
+176ms ╚Piston successfully started (176ms)