Updated C-4 to 2.4.3.133 from much earlier version, need help

C-4, 2.4.3.133

I just updated my C-4 to the most current version, and realized that some of the functionality from the earlier (2024) version appears to be relegated to "legacy" mode status and I am a bit confused on how to recover that same functionality in the new Hubitat environment.

Specifically, I have a motion sensor light switch in the master bathroom that I had programmed to set specific brightness levels depending on time of day/night condition in "mode manager".
For example, when it is night time, the master bath light turns on with a brightness level of "1" and during the daytime mode the level is "35" and it was working flawlessly in the previous version, however it appears that "mode manager" is now a "legacy" feature and by default, that feature is disabled.

I had rules in place that set these levels based on time of day in mode manager so I am looking for the proper way to achieve this same functionality using the new UI/Rules etc.

Please keep in mind that I have virtually zero coding/programming experience.

We have a small single story house and the primary functionality of hubitat for us, is turning on/off lights using google home integration, which works great.

If anyone can point me in the right direction on how to regain this master bath light functionality the correct way, I would be genuinely grateful

The pics show how the light/switch was set up in the previous version before I updated.


Why? You don't need to "recover" any functionality -- it will keep working indefinitely as-is. If you're actually having problems with it, something else is going on. If you're trying to learn Rule 5.x instead, that's fine, but this distinction is important, as re-creating an older Rule there won't fix anything.

Similarly, you can keep using Mode Manager Legacy -- again, it's not going to stop working. If you're a new user, you can just only create automations in the "new" one. There's actually an even newer option, too, with simple mode-change automations you can configure directly in Settings. But, again, any will work, so if something is wrong, there's another problem. But this one is easy even if you do want to switch, as the "new" Mode Manager app offers the ability to automatically import and disable your "old" Mode Manager configuration (with a few differences for specific settings that can't transfer automatically due to how the new version works -- not something everyone will run into, and again, nothing you need to change).

1 Like

Fantastic bertabcd1234!

So I am not necessarily a "new" user per se'. I have had Hubitat up and running for several years now (obvious because I am still on the C-4), however, once i got it set up the way I wanted it to work, with the albeit very limited functionality, it has been absolutely flawless, so I have had very little reason to be under the hood tweaking stuff. As such, I am totally and completely lost as I sit here today.

I guess it would be nice to learn how to use the "new" methods, so if you are so inclined as to point me in the right direction for how to import and disable the old mode manager, I would really enjoy that process.

Thanks again for the reply!

I think Mode Manager will just offer to import your Legacy configuration when you open it the first time. (I can't check anymore, as I did this when it was released, and my original is long gone.) But as I mentioned above, that's not the only option anymore -- you can do simple needs and even some more complex ones directly from Settings > Modes now (sometimes called the "integrated" mode manager to differentiate it from either "built-in" Mode Manager app). There's no automatic import for that. But again, no reason to change, though "new" Mode Manager is pretty easy to migrate to if you want.

There's nothing automatic for Rules, as Rule 4.x fundamentally changed the structure of a Rule (there aren't multiple kinds anymore; I wish I could remember enough of 3.x to tell you which these most resemble, but there are more features in actions now that make the previous distinctions unnecessary), and Rule 5.x introduced new features that may also make you reconsider previous setups, even if they could work if re-created nearly as-is. The docs are probably the best place to read about this: Rule 5.1 | Hubitat Documentation. But, again, there's no reason to change. Many people, myself included, still have older rules in place, and they will continue to work indefinitely. (I do create anything new in Rule 5.1, but doing anything else is pretty difficult anyway..)