Exploring Rule Machine Flexibility for Custom Automation

Hey everyone, I’m new to the Hubitat ecosystem and I’m really excited to dive into creating some custom automation. I’ve been playing around with my Hubitat setup for just a few days now, and I’m already trying to get creative with Rule Machine. My goal is to integrate my custom-made blinds, which use a servo motor and an ESP8266, into Hubitat. Right now, they’re working with Blynk, but I want everything to be seamlessly integrated within Hubitat using HubDuino.

I’ve been exploring Rule Machine, but I’m finding it a bit limited for my needs. I was hoping it would be more flexible, especially for something as specific as adjusting my servo motor’s angle based on sunrise and sunset times. I’ve looked into WebCore as an alternative, and it seems more powerful, but I understand it’s not officially supported by Hubitat. I’m curious if anyone has successfully used Rule Machine for similar projects or if there are workarounds to achieve this level of customization.

Here’s the basic logic I’m trying to implement: If the current time is between sunrise and sunrise plus 5 hours, the servo angle should gradually increase from 90 degrees to 165 degrees. After that, it should reset back to 90 degrees. This would allow maximum natural light throughout the day based on the sun’s position. I’ve already tested this logic with an Arduino setup, so I know the concept works. Now, I just need to translate it into Hubitat’s environment.

Any advice or examples would be incredibly helpful! I’m really looking forward to hearing how others have tackled similar automation challenges. Thanks in advance for your insights and suggestions!