I'd like to make a webpage interactive and include a button or link in my chicken cam webpage http://chookcam.com so that users can click to activate a chicken feeder in the cameras view.
I have the hardware set up so that if I enter url = server adress/axis-cgi/io/output.cgi?action=1:/1000\ in my browser or via a link a 12volt io relay will turn on for 1000ms then turn off ( / =on, 1000 = time, \ =off )
I will use the relay to control a solenoid to dispense bird seed.
Problem is the hardware server http request opens a new blank page which I am unable to edit , closing the page gets me back to chickencam.com but I simply want users to push a button & the relay activates without any fuss
best i can do so far is http://www.chookcam.com/test.html which opens a popup window that must be closed by the user, rest assured the hardware side is good as I have a buzzer connected & everytime I activate the request the buzzer goes off !!
As you can tell I'm new to this & only know basic html / css have tried searching in vain for a few days to no avail.