Use "write_line('humppaa')" instead of "humppaa()".
In /usr/bin/puavo-autopilot-session do read /etc/puavo/device.json
to figure out if anything should be done.  Pick up the mode
from there if it has been set up (only "stress" is supported
thus far), and then do the work.