php help very simple for expert
Hi,
Sure thing – see FUNCTION HERE and PHP code below.
What I want to do is:
- When button is clicked, it also automatically closes the extra window opened on click and reloads page (to update status color etc. of button)
Website BUTTON7/BUTTON ie. SETUP and YON/YOFF looks like this[see attached image]:
- //Function returns true value if device is ON
function getShellyStatus($url,$

