Peristaltic Doser - Doser set amount over 24hr period

Alright, making some progress here, got the manual buttons working, as well as the calibrate buttons.

The next things will be the setting buttons and the refresh buttons. I presume for the refresh buttons I’ll need to use JSON for retrieving the settings, is that correct? Are there any examples with the newest SDK for particle.getVariable? I found this one, but its a bit old, does it still apply?