because of the way the code is written, this causes an error that also breaks air temperature. I’ll release an update to restore air temperature, but the lack of water temperature is out of my hands
Edit: version 0.1.2 has the code and should restore air temperatures to your dashboard.
Edit 2: while I was testing I confirmed that the last water temperature measurement was on 2020-08-19
@johnnyc yes, eventually i’d like to look at station metadata and automatically pull in all the available data.
Water Temperature E1 1 7.7 ft. above MLLW Disabled - Aug 19 2020 11:42PM, RESTART
I sent an email to the coop user services to see if the sensor can be restarted.
Just got a response from the email:
"
Your message has been forwarded to our Customer Services email address for response.
"usr/local/lib/python3.8/site-packages/noaa_coops/noaa_coops.py:421: FutureWarning: pandas.io.json.json_normalize is deprecated, use pandas.json_normalize instead"
I was setting up multiple buoys to query and I have three successful noaa_tides instances in my Home Assistant install now. I’m running into a problem with setting up a forth bouy in Hawaii. I’m located on the East Coast, and the first three bouys were all in the same timezone.
I’ve checked the noaa-coops calls myself, and the issue lies with calling a lst-ldt (or just lst) with ‘future time’ because it creates a request to the NOAA bouy for East Coast formatted time which hasn’t passed in Hawaii.
I’ve also seen that GMT time works fine. I tried setting my Home Assistant to use GMT, but no luck. I still see no data from the bouy.
Well after spending all too long trying to figure this out, read the source more closely and found the time_zone config field. Set that to gmt and I’m working.
not sure i understand. If you forked noaa_tides why could you not make your project HACS compatible? The noaa_tides is part of HA so it does not need it. NOTE: I could be missing a detail here.
Basically, there’s no reason it can’t be HACS compatible, but since I do not use HACs, I don’t plan to make it HACS compatible. However, if someone else wants to contribute a PR to make it HACS compatible, I will approve it.
I solved the Problem, after adding the noaa_tides folder to custom_components I missed the Home Assistant restart. I added everything at once, witch cause a config validation fail, no time for Home Assistant to read in the component information.
So thanks to @jshufro and @bschatzow for the tide sensors. Is there a way to readout future tides for the next 24 Hours?
Thanks again for your work appreciated.