This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

PollingSensor with Proxy Support

Hi all,
I need to create a PollingSensor to query a remote API once per hour and then action on the results of that API call.

Any suggestions on how to get the sensor working through a proxy server?
Is the Python Requests module used for http calls? Can I just add the proxy details?
Thanks,

Sure, you absolutely can do that.
Because Sensor Sensors and Triggers — StackStorm 3.1.0 documentation is Python-based, - just codify the required logic using requests.

Ah, of course.
The Sensor class doesn’t do the request itself but it’s the code that I write within that does all the hard work.
Thanks,

1 Like