Nope. Looks like the signature for the Open Weather Map device type changed. I updated the code to reflect that. So update to the latest version of the Dynamic Image Switcher app (1.3.0) and should be fixed.
Oops. Looks like I neglected to update the driver file on github when i updated the app. Sorry about that. I fixed it now with v1.4 Should be good now.
I tried to remove the custom holiday (as it was a testing); how can I do that?
I suspect I just need to untick 'define custom holidays' (and leave the holiday list as-is)?
The error is no longer there with v.1.5, but I received this new error, even though I have put the weather images already:
app:1352 2022-02-17 12:10:21.975 error No imageURL from which to get image. No image to be displayed.
app:1352 2022-02-17 12:10:16.999 error No imageURL from which to get image. No image to be displayed.
app:1352 2022-02-17 12:08:48.392 warn No default image available. Image set to null.
app:1352 2022-02-17 12:08:48.389 warn No image for state. Reverting to default image if available.
app:1352 2022-02-17 12:08:48.386 debug isConfiguredWeather returning false
app:1352 2022-02-17 12:08:48.382 debug isConfiguredWeather: current weather code is: null Checking against weather codes: [clear, partlycloudy, mostlycloudy, cloudy, rain, chancetstorms]
app:1352 2022-02-17 12:08:48.376 debug Checking whether image configured for weather conditions
Can we reduce the number of API calls to calendarific? let's say once a week? as I have noticed it has called in total of 246 calls since I open the free account with them 3 days ago; and I'm afraid that I might passed the 1000 free limit in no time.
Thanks
Great. So that should have resolved the errors right? Must be a recent chance to the weather device so looks like I need to add that to the install instructions (to add those attributes to the weather device).
Your API call count is only high because you've been re-configuring it so much lately. Nonetheless, updated v1.6 reduces the calls. Should only update once upon initial configuration and then once a year on Jan 1 after that.
If it's not too hard, how about gives the option for the user to 'get' the latest holidays from calendarific (e.g. a button that says "refresh public holiday" or something like that)?
By default it'll pull the information during the initial configuration and on Jan 1; but in case user wanted to change the region (or if the country decided to add a new public holiday), they can 'pull' that information manually
I am super new to Hubitat, I am trying to use this to change the background on a tile based on state. This may be a stupid question but how do I "Point your dashboard background to the imageURL attribute of the Dynamic Image Switcher device."
I installed the App with HPM, added the app in, went to switches and added the url for Base Path and on State, both are PNG, clicked done. I got the the URL at the top of the app and put that as the background image in the Dashboard. I get the following in the log "No imageURL from which to get image. No image to be displayed."
Hi @JustinL this looks like a great app, however, I am having trouble getting off the ground. I am getting the same issue mentioned in prior releases of not being able to select the OpenWeather device. I validated I am on 1.7, not sure if they changed the signature again or what.
Hmm. Not able to re-create the issue like I was last time. What version of the open weather driver are you using?
Not able to re-create this one either... unauthorized of course means there's an issue with authenticating your Calendarific credentials. Did you double check your API key is correct? No spaces, etc...