Early beta (0.1.0), not yet for critical processes. See the roadmap
PNeX logo

Temperature alerts with your own firmware

An AM2301 sensor on an ESP32-C6-Zero, a few lines of C++ written in the browser, a Python-like function and an alert on your phone, all self-hosted

Medium 1 h 30
#device#firmware#function#notifications

Also on Hackster.io

You will build a small climate sensor that reports the room temperature and humidity to your own PNeX server, and sends a notification to your phone when it gets too hot. No cloud account, no IoT subscription: the data stays at home.

Along the way you will use three PNeX features:

  • the custom firmware IDE: you write the board's code in the browser, PNeX compiles it and adds Wi-Fi, encryption and over-the-air updates for you;
  • a function written in Starlark, a sandboxed language with Python syntax;
  • a flow that reads the sensor, runs the function and sends the alert.