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

Yes. If I had that, I could get what I need to calculate irrigation thresholds. Thanks for thinking of me. :blush:

1 Like

update to github with the following change:

* Version: 5.1.0
*	5/18/2019: added precipication forecast data from day - 2 to day + 2

@CAL.hub & @RhettTitus give it a try. remember to save app settings after updating the code.

note:

  1. it will take 3 days before the correct values for day - 2, day - 1 & day - 0 are published.
  2. once that happens check if day 0 and day + 1 values are consistently the same. i am not sure if in the forecast day data that apixu returns if day[0] is today or tomorrow. if it's consistently the same i will need to update the code to treat day[0] as returned by apixu as day 0 and not day + 1 data.

This is great. Thanks! I have it installed and will be watching the day-by-day results.

1 Like

@bangali

I'm getting these errors on my logs with the latest version from 5/18:

2019-05-19 06:11:46.874 pm errorjava.lang.NullPointerException: Cannot get property 'date' on null object on line 373 (poll)

I'm also not seeing the new Precipitation attributes for -2, -1, +1 or +2 even though those are checked to be enabled.

Is there a way to scale the mytile state in order to fit a 2x3 tile in a mobile dashboard? It seems the full data span on a 3x3 tile.

did you save settings after selecting those attributes?

Hello,

Thanks for all the work you have done on this drivers. It does look like you are calling the forecast data incorrectly. [0] is for the current day
If i look at lines 327 to 333:

sendEventPublish(name: "temperatureHighDayPlus1", value: (isFahrenheit ? obs.forecast.forecastday[0].day.maxtemp_f :

You call forecast[0] for temperatureHighDayPlus1 when [0] is for the current day high. You would have to call sendEventPublish(name: "temperatureHighDayPlus1", value: (isFahrenheit ? obs.forecast.forecastday[1].day.maxtemp_f :

What i was actually trying to find within the code was the Max forecasted high for the day. Would you mind reviewing and maing updating all the affected 'plus1' and maybe consider adding a maxhigh also?

A little puzzled about how to select, if possible, what is displayed on mytile attribute.

Meant to reply back sooner, I had to delete my device and recreate it to fix this issue for me. My weather device on that hub was created with the first version you released so that could be why with all of the many updates there's been.

Is there anything that explains the toggles on the attributes? For example I see 2 sunrise and sunset options. Don't know what the difference is.

One is localSunrise and localSunset whereas the other is local_sunrise and local_sunset.

The values should be the same between each version, but some integrations expect a specific named attribute to be available.

I'm getting a very large font with mytile. Did you figure out a way to reduce it?

Any particular reason why you recommend to poll ApiXU Data every 30 minutes or less?

Great app, BTW. Thanks!

Sorry I haven't checked-in with my observations (out of the country for three weeks and no rain here to see anything but zero values). But it looks good as is. I'll advise further if any anomalies do appear. Thank you for adding this!

Does the Cobra Weather Switch work with this? What attribute is it using to determine rain???

I think it should, or can. When the apixu DH was upgraded by @bangali to include past & future rain, I messaged @Cobra with the request. Hopefully, Andy will be willing (and able) to include it.

Here are the relevant attributes from my device:

Screenshot_20190613-174101

That's great! Thanks, Andy.

This information doesnโ€™t look correct. If you scroll down in the device you will see the total rain for the day. Those specific attributes you highlighted doesnโ€™t show that.

Iโ€™m not 100 percent. What I can tell you is that it rained the entire day and those values showed less then 1mm.

@bangali what attribute do you assign for rain now or rain in the last hour?

Andy