Page 1 of 1

Radio buttons and http requests

Posted: Fri Mar 17, 2023 9:45 am
by petterah
Hi.

I have sucesssfuly used NEXA home on a Pi for a cupple of days. What a fun joy!.

Im thinking of making my own web-frontend using radio-buttons to switch of and on ligths. Using these ui-elements: http://www.bootstrap-switch.org/ its going to be sweet!

My plan is to use ajax to send http requests when pressing the buttons, but i have som trubble integrating it. Any ideas?

Re: Radio buttons and http requests

Posted: Fri Mar 17, 2023 9:45 am
by hekj
petterah wrote:I have sucesssfuly used NEXA home on a Pi for a cupple of days. What a fun joy!.

Im thinking of making my own web-frontend using radio-buttons to switch of and on ligths. Using these ui-elements: http://www.bootstrap-switch.org/ its going to be sweet!

My plan is to use ajax to send http requests when pressing the buttons, but i have som trubble integrating it. Any ideas?
Have you downloaded my image and looked at the pre-configured web server with house layout?
http://www.telldus.com/forum/viewtopic.php?f=15&t=3172