I'm trying to build mobile web app (mobile webpage) that would allow control of Home Automation system (including lightning, HVAC, media, security...).
Anyway, I have used form/slider to control dimmable lights. While it basically functionally works I'm not satisfied with sliders jerky behavior (tested on iPhone 3GS and Android 2 phones).
PROBLEM:
jQuery Mobile slider is sending data constantly as long as I'm sliding it. This results in jerky and laggy movement (cellphone <-> web server <-> python scripts <-> automation system).
QUESTION:
Would it be possible to make the slider send data only on finger release?
Am I doing something wrong or am I missing something obvious here?
Answer to this would help me alot.
Thanks,
V.