February 2, 2021 Software Update
Today we deployed a new version of FarmBot OS (v12.3.4) as well as new features to the web app. Here’s what’s new:
First-class Lua support
As mentioned in the last update, we’re committed to empowering 3rd party developers and advanced users in taking greater control of FarmBot with custom code.
Starting today, once you upgrade to FBOS v12.3.4, you’ll find a new LUA sequence command available in the app. This command allows you to insert Lua code fragments into your sequences in a standalone fashion, or intermixed with standard commands and subsequences.
Our Lua sandbox currently supports a variety of useful FarmBot helpers which you can learn about in our updated developer documentation. In addition, you can access most of the functions available in the Lua 5.2 standard library.
Over the coming months we plan to add additional functionality and we encourage you to let us know here on the forum what you would like to see added!
To help create a better development experience, the new Lua command, as well as the Assertion command, now feature a Monaco text editor with Lua syntax highlighting. You can toggle between this editor and a plain text field using the “A” icon.
Updated help panel
To help users help themselves, we’ve updated our help panel to embed our software documentation and developer documentation right in the app!