Launching Python Selenium script from Node Red

I am running a Windows 10 PC as home server, and have Node red installed on that. I noticed that my IP cameras change video coding once they loose power. On the one hand I have developed a flow that checks the Frigate API when the codec changes and can make trigger in Node red. On the other hand I have coded an automation using Python Selenium, to log in to the camera and change the coded. Can I connect the trigger from Node Red to run the Python Selenium automation? Or should I rather move everything to Python code, make it run every hour, scrape API and trigger the front end automation?

You should be able to do that. Try the exec node and let that run your python script

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.