Ideas for how to capture the bones of a Hubitat setup?

It was just a "plan". However, when I tried it just now, the side menu bar is messing with the output. If it's minimized, the menu bar is printed nearly full page width. If open, then the width is ok, but only one page, corresponding to the length of the menu bar is output. Back to the drawing board.

Using latest Chrome and Safari on Macbook Pro.

1 Like

Yes, this also happens with Chrome on Windows.

I was going to suggest that you can delete the left menu using the Developer Tools, but then the print dialog only prints the first page of the rule.

So it doesn't look like printing a Rule works at all. Any thoughts, @bravenel?

1 Like

Somehow need to break out this div into it's own window.

@gopher.ny @bobbyD Any chance in the future we can get a button to break this section out into it's own window or some easier method to print out a rule?

4 Likes

Maybe a button next to (i) and (?) at the top to hide all the extra UI elements. I'll check it out.

4 Likes

Very specific to my use case, but I kept all of my webCoRE pistons. I tend to use device variables, so reassigning those got things up-and-running quickly. This is similar to your virtual device idea.

You will have lots to do with a new home and job, so anything you can do to implement proven rules will be appreciated. If I had to guess, 80% of my logic was reusable. That provided some breathing room to tackle new device types and entirely novel scenarios.

2 Likes

I found adding display: none to the inline-style for <div class="overflow-y-auto" suffices to hide the UI elements and fix the horizontal layout, but then Print still only prints the first page of the Rule.

To fix that, I needed to remove the class tag h-screen from the <div id="divLayoutControllerL1". After that, I can print a long (multipage) Rule (e.g., to PDF).

So, from this:
image

to this:
image

That is the nice thing about Webcore. When I first came to Hubitat from Smart Things, I brought about 200 saved Webcore pistons with me. I only had to replace the devices, and all my logic was preserved.

1 Like