I have a NodeMCU monitoring a EDM machine. Cayenne works great. I record the time machine is running and I receive warnings on my email about faults and etc. However, I connected a flame sensor on my A0 channel where it activates a fire extinguisher. The problem is that it doesn’t work without WIFI, even though this piece of code is outside “Cayenne.loop()”.
Is there any way I can isolate this logic from the internet and allow my NodeMCU to work only as a microcontroller? But I still want to keep my other triggers through Cayenne.