Post your best Lua script examples here

User avatar
By kirsch
#24420 I was wondering if anyone has tried writing a dyndns client for NodeMCU. I'm thinking it would be something pretty simple that gets called only once after an IP address is acquired. Something like:

Call after IP address is acquired:

Read last updated IP from file
If lastIP == newIP end
else send update to service
If no error, write IP to file
else print error to user
User avatar
By RichardS
#24423 If anyone is thinking about doing this please contact me directly.

Richard.
User avatar
By forlotto
#29547 did this ever kick off I read about duckdns or something along that line somewhere folks using that for it...