Radio buttons and http requests

Moderators: hekj, Telldus

Post Reply
petterah
Posts: 1
Joined: Thu Jan 18, 2018 11:08 am

Radio buttons and http requests

Post by petterah » Thu Jan 18, 2018 11:08 am

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?

hekj
Posts: 990
Joined: Thu Jan 18, 2018 11:08 am
Location: Stockholm
Contact:

Re: Radio buttons and http requests

Post by hekj » Thu Jan 18, 2018 11:08 am

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

Post Reply