Apixu.com worldwide weather data with outside lux. No PWS or server setup

community_driver

#438

This is what comes back from an ApiXU query:

precip_in
precip_mm

are the possible attributes, but typically only one is selected to be displayed.


#439

Is that current or cumulative?


#440

Their website only offers this advice:

57%20AM

https://www.apixu.com/doc/current.aspx


#441

Just wondering what the load time of this driver should be. I've been using it for a few weeks now in a few automations and all seems well. I wanted to see some more weather details so I opened the driver under my devices and it takes 60+ seconds to load. The events page also does the same and often doesn't show anything until i back out and click it again. The hub seems to really struggle with this. The rest of my devices and the hubitat interface is pretty snappy. I'm wondering if something is corrupt or is this normal and expected?


#442

sorry for the newb question, but how do I edit the APIXU.com website for my location to be there. Currently I have just signed up and it has the location set to paris and I cant edit it. Or do I edit the script that I install for HE ?


#443

You install the device code and then create a virtual device using the aforemetioned code. In the device page, you then set your location.


#444

thanks @mike


#445

I'm having trouble keeping the device updated. As of 2019-06-18 (today) at 11:27am, this is what the device shows:

Screenshot_20190618-112823

If I hit refresh from the device handler, it updates to the current time, or very close to it. So, I have put refresh and poll commands in RM to periodically refresh. But, apparently, they are not having the same effect as the manual device refresh. Any suggestions?


#446

I just found this code this morning, Thank you. I am at a loss as to how to create a dashboard similat to the one you have at the beginning of this thread. Can someone show me how to get the tiles?

Thanks


#447

They are all Attributes.

Add a Tile, pick your weather device (left column) then Attributes (middle column). The list will be populated with all the Attributes that device supports (right column.) Just pick the right one :slight_smile:

Another way to look, is at the Device Info page... the column on the right: Current States, is the list of attributes that can be added to a Dashboard.


#448

csteele,
Thanks for replying. I only get the Device and the Template when I am adding a tile to a dashboard. I have no way of selecting the attribute. In the Device Info Page I have all the current states and they are populated with info. I installed the DHT code, that is all I found at GIT. I must have missed something.


#449

Be certain to actually select the attribute.... the first row is blank.


#450

DOH!!

Face Slap!

Thanks I think I have it now.


#451

I did one too for not remembering that pitfall last night on my first reply.

:man_facepalming:


#452

The problem with Hubitat is that once you get stuff working you don't have to fuss with it and you forget, or at least I do.
Thanks again, have a great day


#453

Just playing around here. How can I change the mytile? Is that in the DH?


#454

This is a Thread about the original APIXU driver code. I don't use that anymore, having cloned/forked to a different version: wx-ApiXU-Driver. I did that to try and reduce the load on the Hub. Which I think I've accomplished, in the form of splitting the subset of features to run independently and thus introduce gaps in the continuous CPU load.

And like so many other portions of this code, didn't look at what MyTile is doing. I think it's a fixed display hard coded into the driver. I've had one other query into making that 'different' - but I'd only do that in the code I've cloned/forked.