AWS Lambda Ruby script to get cat status from the SureFlap cat flap. Very rough-and-ready.
Intended to be used with an iOS shortcut to get cat status – see https://twitter.com/henrik/status/1321201656822943745 for a screenshot of the shortcut.
This is not a tutorial, just some public notes for my own future use.
Create this as a AWS Lambda running on Ruby.
The script is self-contained with no Gem dependencies, so it can be added via the web UI editor.
Add ENVs – see the top of the script.
Also set up "API Gateway" to get it accessible via a URL.
Would be nice but will probably never happen
- Better kind of auth
- Better docs