Comments: Photon Remote Water Level Sensor


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • There is a discrepancy between the telemetry code here and in GitHub. In the main loop, the first IF statement should look like this: if (waitForUpdate || millis() - bootupStartTime < communicationTimeout || batterySOC > 75.0 || pumpOn) The comparison operator is backwards in the code in the tutorial. This sends the Photon right to sleep in the "else" portion.

  • I would recommend a pressure based tank level transmitter. You can get one for around $40. I know that might be more expensive than some would like to spend but it will be a LOT more reliable.

    • Indeed, that's the plan, but I haven't had time to implement it. You can actually get pressure transducers for about $10 if you know where to look ;)

If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!