There are a lot different and fun things you can do with your Onion Omega 2
Best way to teach your IoT to do something is to program it by your own hands.
The best option so far among all high level programming languages is Golang.
Here's my first article how to build/compile code for Omega 2 architecture MIPS32 little endian: