@Dmitriy does this send value instantly or is there a delay?
I'm thinking like after 1-2 seconds of the last button press -> value is updated to the server, this should at least be a setting, delayed send.
I could think of using this as a means of calibration for example a voltage dividing circuit for battery voltage. However having it send values on every press, I'm a bit worried of flooding the esp module.
But maybe it's just my lack of experience talking ^^