LUA - sending the last stored value through email message

How can i put the last recorded and stored value of my soil sensor into an email message ?

thx in advance

Hi @imcassels
This should be readily do-able in Lua using env() and http() functions along with read_pin() and others.

My Lua isn’t great but there are various examples documented by FarmBot Inc., e.g.

@imcassels you can also use curly brace variables in a SEND MESSAGE command like so:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.