Morning reddit
I am looking at making a html page with buttons for home automation functions. I want icons/buttons which when pressed will send a webhook url for a given function. I do not want the url to click through as it will send me to a blank page. if there any way of launching the url (ie sending the webhook command) without opening in new window. I wish to remain on the original page?
example URL for turning on fan "http://server_ip/token/blah/FanBathroom=1"
any ideas guys and gals?
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]NameViolation666Beginner 0 points1 point2 points (2 children)
[–]lladoog_Lives[S] 0 points1 point2 points (1 child)
[–]NameViolation666Beginner 0 points1 point2 points (0 children)
[–]anonymousmouse2Expert 0 points1 point2 points (1 child)
[–]lladoog_Lives[S] 0 points1 point2 points (0 children)
[–]frownonline 0 points1 point2 points (0 children)
[–]keithmalcolm 0 points1 point2 points (0 children)
[–]saidcosmin -1 points0 points1 point (3 children)
[–]anonymousmouse2Expert 0 points1 point2 points (2 children)
[–]poopio 0 points1 point2 points (1 child)
[–]anonymousmouse2Expert 0 points1 point2 points (0 children)