As you donāt have the sendEvent statements for the lower case info, it wonāt update correctly (if at all)
What you are seeing is probably legacy data
If you donāt mind the duplicate entries then I can probably get this to work for SmartTiles as well as WS
Itās 1am in the UK now so Iāll have a look tomorrow for you.
Get some sleep! This is a fantastic app and Iām so happy you wrote it. I think there are really only 4 items that need a bit of nudging:
weather
temperature
humidity
feelslike
I need to step off and get some food and grog. Iāll take a swing at it a bit later (Iām -8 hours from you). I was just focusing on the driver. Now that Iāve taken a bit of a look at the child-class code, it doesnāt seem insurmountable.
I am working on the driver and app anyway tomorrow
Iām going to try to get the driver to compile a sort of āreportā so I can get WS to send via SMS or pushover (until we have TTS then Iāll get Sonos to speak it)
I canāt use the built in report (fcctext or fcctext_metric) because I prefer to use a mixture of imperial and metric
In WS I plan to trigger the report with a virtual momentary switch so I can get it any time.
The driver now creates a 'summary report' of the data collected.
You can select how to format it (imperial/metric etc)
I'm intending to use this with a new release of Weather Switch to SMS or use PushOver to send this report
For this version I have included the lowercase attributes
I loaded the new driver (with lowercase in the title) and the WS app is working find. Here's the view of the summary though I have to force a poll to get it on the page:
I added in an - attribute "city", "string" to pull the city:
I'm getting called into work early so I don't have time to hunt down by the percentPrecip nor the humidity are showing up. I'll give it a look over when I get back though.
If you are using station id: KCALOSAN362
Then I canāt see that it reports percentPrecip
I loaded this station into my driver and did a search for it but could not find it
Humidity is being reported from the capability so that should be the same as previuosly
I think we are both dancing around the same head of a pin. In that SmartTile, the info use to be there. This whole experience now leads me to question whether it was accurate which links to your point about my station. The perecentPrecip is a forecast and wouldnāt be provided by the weather station. So how it use to get it from the default or older driver I was using (which I lost in all of this shuffle), is still a mystery to me.
As far as Iām concerned your app is spot on and works for me. The SmartTile is more of a distraction with an app that isnāt being updated so itās more of a curiosity to me. Iām sure thereās an easy answer to it.
Iāve added the ācityā attribute and sendEvent so that should work ok now.
Iāve also marked a couple of things to refresh when polled - they were not refreshing correctly before
Just got up and will try the drive as soon as the coffee is brewed. The āpercentPrecipā came directly from the code in SmartTiles. At this point (without having tried the 1.9.0 driver), the WS app works and most of the SmartTiles code works as well. For some odd reason, the humidity isnāt reporting correctly and I didnāt have any time yesterday to look into it.
For Cobra's driver are you using the attributes option when setting up the tile? I was first just using the Humidity and was getting the double % like yours is showing. I also noticed that the value was wrong. Started digging around and found the attribute option and all is good now.
Iāve noticed the values were wrong too, but Iām also seeing that it may be due to the differing refresh times. If there are two ādevicesā with refresh commands timers and cacheing, there will be some differences. If I refresh both the WU and the dashboard, then I get a correct entry. Now sometimes I have to refresh a few times to sync things.
Guys
Iāve 'tweakedā the driver to try and get rid of the double percentage
Not sure if it will work
If it doesnāt please let me know and Iāll look again
Uploaded new files to github (same version number)