Rule Machine vs Simple Automation

Check if the Turn off if disconnected setting is turned on, or not. I wonder if it's having a tough time staying connected with Hubitat...

This setting was on. I will turn it off to see if that solves the issue.
The only other thing I can think of is that at 7am my Mode changes to Day.
That just sets a dimmer level on one switch. I moved that to 7:01am. Let's see what happens in the morning.

Thanks everyone for the ideas and support.

4 Likes

If anyone cares, I bought one of these Firefly Bonsai trees from Amazon (first pic). It runs from 5v USB. The base has a touch activated switch that simply turns it on/off. I thought it would be cool to trick it out, so I opened it up and bypassed the stock controller and embedded one of these wifi controllers (second pic) so I could run it from Hubitat.


3 Likes

First time I ever knew that condors could speak French.

1 Like

Certainement! (Mais unfortunatement nous parlons avec une accent Americaine. Tant pis pour nous...)

1 Like

That’s a great idea! Love the implementation.

1 Like

You can have socketStatus method which will be called with "receive error: reason" or "send error: reason" like this:

def socketStatus(String status) {
    if (status.startsWith("receive error:")) {
        log.debug "ouchie"
    } else if (status.startsWith("send error:")) {
        log.debug "owie"
    }
}
2 Likes

This code should come w/bandaids... :wink:
image

1 Like

The tree came on this morning at 7:00 with only one event in the log. Not sure if it was the "Turn off if disconnected" setting or not, but it works.....will continue to monitor.

Thank you again to this group.

1 Like

I’m having the same problem with a timed On/Off Simple Automation Rule. I have Osram Smart+ Zigbee outlets and would like certain lamps to go on in the morning and off in the evening. I get the same PENDING events but the lamps do nothing.

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