Air Things View Plus

Bet there wasn't a change in the reported value until then.

@thebearmay, I’m getting these errors - any idea what could cause them?

The integration is working perfectly otherwise…

Are you missing a template file for the html attribute?

1 Like

Ah! Is that what that is? Probably… Is there a simple way to tell?

Under preferences there is one labeled Template for generating HTML for dashboard tile. There should be a corresponding file in File Manager using that entry as it’s name (no spaces or special characters). There is a template file you could use at https://raw.githubusercontent.com/thebearmay/hubitat/main/airthings/tileTemplate.txt

1 Like

Well, it seems to be the same… Will dig in some more…


image

Make sure that you don’t have a space as the first character of the entry. Sometimes if you paste the name you end up with a leading space.

Another thought, are you using Hub Security?

1 Like

Confirmed - No space. I am not using Hub Security. I copied the link in the driver and it seems to work…

The driver is on Hub 2, and it is meshed to Hub 1 where the dashboard is. The .txt file is on Hub 1.

The Dashboard works, but I remember I had some issues figuring it out when I was setting it up. I wonder if I might have done something to screw it up…

This tile is using a separate device - how it is supposed to work?

Hmmm try putting a copy of the template on Hub 2

1 Like

The AirThings Device doesn’t create a separate device, that device is from an instance of the Tile Template Manager app which creates it because it can’t create an attribute in the regular device.

1 Like

I copied it over to the other hub (boy, the iPad is NOT made to move files around easily!!!). Will see if the error pops-up again.

I’ll second the iPad and files. Avoid using it for that when I can, but it’s convenient for most everything else except writing code (it works but some of the editor quirks are irritating).

1 Like

Totally agree! :smiley:

Error is still there… Do I really need to have that link in the device? Will try removing it to see if that fixes it.

If the field is blank it shouldn’t try to do a read.

The dashboard still works… So I’m wondering - what does that field do?

Should be creating an html attribute in the device. Is your dashboard using one generated from the Tile Template Manager? (Same code base and the templates from AirThings would work in it.)

Ah! It wasn’t creating an html attribute as far as I could see…. But removing the link fixes the issue - error no longer appearing in the logs.

1 Like

I added it again to see - the error comes up, but the attribute doesn’t. Probably because of the error…? :blush:

Yea, the error is keeping it from creating it. Wonder if it is getting locked out by the other instance.

1 Like