Post your best Lua script examples here

User avatar
By Cosmic Mac
#15702 Hello guys,

I just finished my second NodeMCU project, which is a companion for my ESP8266 remote camera trigger.
It uses a PIR sensor to detect movement and a ESP82266 (client) to send trigger command to another ESP (server) coupled with the camera.

Image

Code is available at:
https://github.com/CosmicMac/ESP8266-trap

Feedback is welcome.

FYI, I know about nothing concerning electronic, just trying to learn and reproduce what others have shared, and giving back when possible (oh, and english is not my natural language, so feel free to point language issues too ;) ).

Cheers!