What this boils down to; would like to know if while sensing current (SCT-013) on my Nodemcu is it possible to launch IFTTT within an IF statement carrying out the push.
The simple incomplete code but works to this point of the project.
https://pastebin.com/vTMREeyw
Posts made by Goddur
-
How do I push Notification within Arduino IDE sketch?
-
Need settling time for sct-013-030 (Used w/Nodemcu)
My project involves sensing the current on my washing machine (115VAC). If statements will check for zero amps and 2.5 amps or greater up to 30 amps. Unfortunately during power-up or reset the com port displays some garbage current reading and need to figure out how to allow the readings to settle to close to zero before continuing to on. Here are the initial power-up or reset problematic reading:
Current ON
75.01
Current ON
16.88
Current ON
3.98After this settles the reading start to report steady current reading. The only problem if the current does not settle out close to zero from the start it will cause false "IF" statement triggers.
Here are the results after the current settles out. I turn the load on and off to show the current reading.
Current ON
2.51
Current ON
2.55
Current ON
2.52
Current ON
2.50
Current ON
2.55
Current ON
2.40
No Current
0.17
No Current
0.04Here is the unfinished code.
https://pastebin.com/kDjx5zQM