Post your best Lua script examples here

User avatar
By Cosmic Mac
#15101 Hello guys,

This is my first contact with NodeMCU and Lua (and this wonderfull forum BTW).

My script allows to trigger a camera with a smartphone (including self-timer and intervalometer).
I tested it with a Canon DSLR, but it should work with any camera with built-in shutter switch terminal.

This is how it looks like on my phone:

Image

The thing:

Image

And the code:

https://github.com/CosmicMac/ESP8266-remote

Any feedback is welcome.

Cheers!