Post your best Lua script examples here

User avatar
By tuanpm
#7448
gwizz wrote:If you can supply some sort of cash:endpoint e.g. paypal address I'll send you a few pennies just as a way of shouting THANKS - YOU ROCK!!

I'm sure that some others who have also been waiting for this will likewise want to buy you drinks, meals, fast cars etc!

G

At the end of my project have donate link.
Maybe you like it:
https://github.com/tuanpmt/esp_mqtt
Thanks,
User avatar
By alonewolfx2
#7457 how can i run script on startup. code sample can not run in init lua. it says connected , sent , but it didnt subscribed. if i run "mqtt:subscribe("/test",0, function(conn) print("subscribe success") end)" after i saw sent message its subscribed and working.