Does anyone know if it's possible to pull values from virtual device? For example, I use sun calc virtual device to track azimuth and altitude of the sun which I use for various automations.
I would love to be able to show the values from this virtual device on the dashboard, but it doest seem to see them as valid values
The app can pull data values from virtual devices, but only from the supported attributes.
Possible workarounds for non-supported attributes are:
Edit the Watchtower app code and add your desired attributes to the SUPPORTED_ATTRIBUTES map at the very top of the file. You will have to re-apply your patch after every new release of the app.
Add a virtual device that has a supported attribute, and create an app (in Rule Machine) that copies the value of the non-supported attribute from your original device to the supported attribute of the virtual device. The data will have the wrong label in the graph, but it will be visible.
iFrame Tile
a. Do I add the iFrame Tile device as a driver or an app? I think an app since it states "open the app" but maybe that is a reference to the Watchtower app? Then again a device has a driver, so really I have no idea.
b. Is it possible to make the iFrame thing part of this app?
Regarding the comment that this could go through the Hubitat server and be accessible when not on the local network, would this be accessible when not local if I paid for Remote Hub Access?? If so, that may make it worth it.
Can we nominate this app as app of the year for 2024?? This is absolutely tremendous and a total game changer for Hubitat.
I’m just trying this now, so here is what I have been doing:
You add it as a new driver. Go to the Driver Code, add a new one and chose import - past the link above in the prompt box. Once the code is on the screen, save it.
Then, add a device - Virtual and select or search for « Tile iPhrame Device ».
Open the new device, and under « Set Source », past the URL of the dashboard you want to display.
One thing I’m finding with the iFrame tile though is that it doesn’t seem to keep the formatting… It’s the first time I try this, so I might just not understand how it works…? And I’m not able to find a post for it - @thebearmay, is there a topic where I can ask questions related to your great iFrame tile?
The issue I am facing is that these are the dashboards:
You can try to make the Hubitat Dashboard iFrame tile wider to fix the alignment issue. Dark mode not being applied is weird, did you save the WT dashboard (from the left menu)?
Also play with the Cell height setting in the WT dashboard so that the tiles are not cut at the bottom when loaded inside Hubitat Dashboard.
Thank you. I think I sucessfully completed the above. Then I found the below post that I think gives the balance of the directions on how to get the iFrame device (with the Watchtower dashboard link) into a standard Hubitat Dashboard.
Mine had significant formatting issues when I added it, but after I closed and reopened it, it looks exactly right.
Also, how are the colors selected? I think it might be based on the order of how the devices appear in the dropdown? I'm graphing multiple humidity sensors in the attic vs outdoor humidity, multiple humidity sensors in the crawl vs outdoor humidity, etc. Creating a set of graphs, with the top graph having only the outdoor humidity, and the next two showing attic & crawl, but each including outdoor. Setting the min and max values would make the outdoor humidity the same in all three, and thus more recognizable in the lower two, but setting it a consistent color would be best.
For some attributes like humidity (that have a logical min/max), you can align the vertical values if you set the Y-axis scale to "fixed", and it will use the attribute-specific predefined min/max.
For the "device" graph type, colors are fixed: green and blue. For the "status map" graph type, color is always green. For the "attribute" graph type, colors are indeed selected in the order shown during configure (alphabetical order):
Hack: if you want the outside device to have the same color, make that device be the first in the list by prefixing its name with an emoji for instance
Currently the app is pretty opinionated, and I'm hesitant to add more options as it might complicate the user experience for some (feature creep). However, it seems I haven't quite struck the right balance between functionality and ease of use.
I'm good with renaming the OpenWeather device to make it show first on the list (since this is a device that is not mine - I pull from the internet). However, I'm trying to avoid special characters and emoji's on all devices because it prevents bringing them into HomeKit. So I tried renaming alphabetically. The first device on my list is Abode. I can rename the open weather device so it appears first on the Hubitat list of devices, but no matter what I do in WT/add dashboard tile/Attribute/Humidity, when I get the list of devices, Abode is first. I even tried renaming the Open Weather device Aaopen Weather. What am I doing wrong? Do I need to delete all the tiles and start over?