[Initial Release] Rule Machine Manager (New Rule Machine Interface)

Thanks John, I really appreciate the feedback.
I have to be honest, I haven't worked on this in months.. and I just started a new job.
But.. I will do my best to revisit the app and make the changes.
They all sound like great additions.

Regarding the images; it's just emojis.
When you are naming/editing a rule, in the text area, on windows press the windows key and the period. This should open an emoji picker. Select one, and then keep typing your text. When you save, the emoji should still be there.

However, note that this will cause issues if sorting alphabetically. Because the sort will see the image as ascii; and sort it that way.

1 Like

On my Hub the RMM doesn't work. Nothing is clickable, it's just a static page. I am using RM5.1...

Hello.
It sounds like the necessary files were not loaded into the file manager correctly.
How did you install; did you use Hubitat Package Manager?

Open the app page, and scroll down towards the bottom.
You should see an area that shows if the necessary javascript and stylesheet are loaded correctly. What does yours say?

I used HPM, and there are no JS and CSS (file not found)...

UPDATE: I removed and reinstalled RMM. The installer specifically called out downloading the JS and CSS files... But it still says "not found"!

If you browse to your file manager on your hub (settings -> file manager), do you see something like this?

No, neither file is there...
Not sure what the installer is doing, but it's clearly NOT installing the JS and CSS files, despite claiming it is doing just that!

Copied them manually, and now it works...

1 Like

Lol.. obviously so!
I'm have no clue either.
Since you are the only one so far.. I'm going to write it off as an oddity.
If more people report the same thing, I'll investigate further.

A couple ideas...
Do you have hub login security enabled, by chance?
Are you attempting to install the app remotely?

Excellent. That was going to be my suggestion.
Glad you got it working properly.

1 Like

A couple ideas...
Do you have hub login security enabled, by chance?

Yes, login security is enabled

Are you attempting to install the app remotely?

No, installing locally, from the LAN IP on the local UI...

This could be the problem.
I'll take a look and try to replicate.
Thanks for reporting and clarifying :slight_smile:

YW! Let me know if you need anything else!

1 Like

I had a little time to dig around here.
Quick question... you mentioned hub security is enabled.
Do you also have the option to use SSL enabled (just below hub security in settings)?

Do you also have the option to use SSL enabled (just below hub security in settings)?

You mean this?
image
(I haven't enabled SSL, because my traffic is limited to the LAN only, so I have no urgent need for encrypted traffic towards my hub)

That's what I needed to know.
Thank you!

You're more welcome, for creating this and working through fixing weird bugs like this one!

1 Like

@joshlobe now that you have launched a new version solving some security bugs, I believe this could be the time to look at something that I have mentioned before.

I really like this app, but still believe that it is missing something that is very important, some text, or symbol that shows when a rule is paused, like a red “PAUSED” word between parentheses or something like that.

I remember seeing some time ago that somebody from the development team offered to help you detect when this condition, paused rule, was active.

The lack of this feature makes the use of this app almost useless, at least for me, because I can see lots of rules, but can’t detect when any of them are paused.

Thanks for your support.

Man... I couldn't agree with you more!
Actually, I am looking at this again today.
Unfortunately, the dev team was unable to humor me with the additional output from RM.

The only way I KNOW of making this work; is using MakerAPI.
However, I'm very reluctant to go that route... for a couple of reasons:

  1. A new app has to be installed (dependency).
  2. A network request would be sent for each created rule; and when getting into hundreds of rules, could potentially create a hub resource issue.

I suppose I could do a conditional check if MakerAPI is installed.. and if it is, go ahead and perform the queries. If it is not installed, then the queries are not performed. Basically, a "install this other app for additional features" kind of thing.

Ultimately, the main issue is that this information cannot be queried a single time, like I do for the rule list... and I do not want to degrade the performance of the app.

I will post back later today or tomorrow with my results.

1 Like

I have a rule that generates log event for paused rules - likely not helpful but I offer it as a way to verify the pause is exposed somehow...

What does your rule look like?

1 Like

I thought I once saw something in the dev Docs about this - but I couldn't find anything other than this :
" Rule 5.1 | Hubitat Documentation "