Exploring Blockly Rules and Automation in OpenHAB

As a long-time OpenHAB enthusiast, I’ve been diving deep into the world of Blockly rules and automation lately. It’s fascinating how much control you can have over your smart home setup with just a few lines of code. I recently set up a rule to monitor my InfluxDB 2 instance, ensuring it’s saving data consistently. While the rule works perfectly when triggered manually, I’ve noticed some inconsistencies when it runs on a cron schedule. The persistence.lastChanged function doesn’t always return a result, which is puzzling. I’m curious if others have encountered similar issues or have tips on how to troubleshoot this.

On another note, I’ve been exploring the different automation options available in OpenHAB 4.2.0. From DSL rules to JavaScript and even the upcoming support for GraalVM, there’s so much flexibility. I’m particularly excited about the potential for more language support in the future, which could make automation even more accessible for users with different skill sets.

If you’ve got any favorite automation setups or tips for optimizing Blockly rules, I’d love to hear about them! Let’s keep the conversation going and help each other make the most out of our smart home setups. :rocket: