kivancsikert / ugly-duckling

Firmware for FarmHub devices
0 stars 0 forks source link

Test mode #159

Open lptr opened 3 months ago

lptr commented 3 months ago

It would be great to have a "test mode" for two purposes:

Each peripheral could implement its own test modes. For example, a valve peripheral could open and close the valve in a cycle every 5 seconds or something.

Peripherals that supply input could use leds on the devices' PCB to show their status. A flow sensor could light up the led every time a pulse is counted. A temperature sensor could set the led light level based on the measured temperature.

Test mode can be engaged by holding down the "test 1" button, and is engaged while the button is held down.