Smart Home Automation Success Story: RGBW2 and Custom Rules

I wanted to share my recent success with integrating smart home automation into my daily life. After struggling with dimming LED strips controlled by a physical switch, I stumbled upon the Shelly RGBW2, which seemed to solve my problem. While I initially thought this was a new solution, I realized it had been available for a couple of years. It’s amazing how sometimes the simplest solutions are right under our noses!

I’ve also been experimenting with creating custom rules to automate my home environment. For instance, I set up a rule to adjust the humidity based on outdoor temperature. It’s a small tweak, but it’s made a noticeable difference in comfort during colder months. Here’s a quick snippet of the rule I created:

rule “Set Humidity”
when
Item Temperature_F changed
then
var int Temp = (Temperature_F.state as DecimalType).intValue
logInfo(“thermostat”, "Temp_outside = " + Temp)
if(Temp < 40){
var int Humid = (Temp*0.5+25).intValue
logInfo(“thermostat”, "Humidity set point " + Humid)
sendCommand(RT_TStat_THumidity,Humid)
}
sendCommand(RTTStatPMAMessage, “Out:” + Temp.toString)
end

This rule automatically adjusts the indoor humidity target based on the outdoor temperature, helping to prevent condensation during colder nights. It’s been a game-changer for my family’s comfort!

If anyone else has tips or rules they’d like to share, I’d love to hear them. Happy automating! :rocket: