I’m trying to create a function on the Photon that access’ a local website (IP Webcam) that has no web API i can call, so i would like my photon to press a button on that local webpage called “Record” and when the photon does not record more motion in the room through the PIR sensor press the “Stop Recording” button.
Might be dead simple but im fresh out of ideas, any tips ?
Try to right click the button and see if your browser has an “Inspect” option.
It may just be a simple form submit, which can be emulated perhaps with basic http auth aswell.
Yes it is a form, but no submit, there are many different buttons with unique outcomes, and the one i would like to use is single record and then stop it manually, is it possible to emulate html id tag execution with basic http on the photon ?