Color code hubs

Small feature request. I have 4 hubs. They all look exactly the same in my browser window, aside from the address in the URL, and often times I get a bit mixed up when shuffling between them. I'm a visual person and it would be helpful to have a color for each hub - something that could be as simple as just a colored circle in the top left next to the hamburger menu. All in favor say aye:

1 Like

That was already added in a recent release.

2 Likes

Sigh... thanks.. too much coffee and overly exuberant posting.. is my excuse.

edit: even limited theme-ability would be great though for @kilowatts reason and others.

2 Likes

If you needed a workaround you could do something like this:

https://violentmonkey.github.io/

Also greasemonkey or tampermonkey would work as well.

Thanks - I'll do that. This was only a suggestion for when the Hubitat team is sitting around bored with nothing to do. :grinning_face_with_smiling_eyes:

2 Likes

Just tried it - here is very simple script I wrote to test... seems to work.

Put the IP addresses of your hubs as needed.

switch(window.location.hostname) {
    case "10.0.0.1":
      document.body.style.backgroundColor = "red";
      break;
    case "10.0.0.2":
      document.body.style.backgroundColor = "blue";
      break;
    case "10.0.0.3":
      document.body.style.backgroundColor = "green";
      break;
}
3 Likes