Battery Level %


#1

1) Give a description of the problem
I have a battery level piston that only works when tested

2) What is the expected behaviour?
The piston sends me a text and email with battery percentages

3) What is happening/not happening?
The piston only works when I test it, does not work running

**4) Post a Green Snapshot of the piston!

I have tried everything in my power to make this work. It will only work when I hit the test button, but when the time comes for it to run, nothing happens.

I got this piston from the example pistons, I haven’t used webcore for long, and trying to get into it. I have written quite a few smaller less complicated pistons that perform well.

Sorry for the jumbled green snapshot, that’s what I get when I hit the green screenshot button.


#2

Your only trigger (line 29) has no commands inside that block. So currently, once a day, the piston runs, but nothing is executed.

You can drag & drop your current code inside the “Every day at” block to get the rest of your code to execute.


#3

Thanks, that was exactly what was needed!