simonhq / accu_allergies

HA allergy sensors from AccuWeather
20 stars 2 forks source link

No data anymore #17

Closed Ricks88 closed 10 months ago

Ricks88 commented 1 year ago

Hi Simon :P

Something has changed and i get no data anymore:

https://www.accuweather.com/nl/nl/posterholt/248858/weather-forecast/248858 https://www.accuweather.com/en/nl/posterholt/248858/weather-forecast/248858

I think it is set to the new "APRIL22" now, but still gives me no data anymore :(

Could you please take a look again?

Rick

simonhq commented 1 year ago

Hi Rick,

The website seems to be the same, can you post your apps.yaml block for this app please.

Simon.

huizebruin commented 1 year ago

Here also No data anymore. image

with the  WEB_VER: "" # or use "APRIL22"

april22 version doesn't work at Holland, then i don't get any sensors anymore. an without i only get the Air Quality Today & Air Quality Tomorrow

huizebruin commented 1 year ago

a i found it. @Ricks88

accu_allergies:
   module: accu_allergies
   class: Get_Accu_Allergies
   ACC_FILE: "./allergies"
   ACC_FLAG: "input_boolean.get_allergies_data"
   DEB_FLAG: "input_boolean.reset_allergies_sensor"
   URL_ID: "248858"
   URL_CITY: "posterholt"
   URL_COUNTRY: "NL"
   URL_LANG: "NL"
   URL_POSTCODE: ""
   WEB_VER: "APRIL22" # or use "APRIL22"
- sensor.acc_data_last_sourced
— sensor.acc_boompollen_today
— sensor.acc_ambrosiapollen_today
— sensor.acc_schimmel_today
— sensor.acc_graspollen_today
— ensor.acc_huisstofmijt_today
— sensor.acc_artritis_today
— sensor.acc_sinusdruk_today
— sensor.acc_verkoudheid_today
— sensor.acc_griep_today
— sensor.acc_migraine_today
— sensor.acc_astma_today
— sensor.acc_vissen_today
— sensor.acc_hardlopen_today
— sensor.acc_golf_today
— sensor.acc_fietsen_today
— sensor.acc_strand_en_zwembad_today
— sensor.acc_sterrenkijken_today
— sensor.acc_wandelen_today
— sensor.acc_vliegreizen_today
— sensor.acc_autorijden_today
— sensor.acc_grasmaaien_today
— sensor.acc_composteren_today
— sensor.acc_buiten_eten_today
— sensor.acc_muggen_today
— sensor.acc_ongedierte_in_huis_today
— sensor.acc_ongedierte_buiten_today
— sensor.acc_air_today
— sensor.acc_air_tomorrow

Now u get Dutch tekst of the sensors. I had written nl in small type but must be capital NL now its working again.

Ricks88 commented 1 year ago

Seems to work :) Thanks!

Ricks88 commented 1 year ago

a i found it. @Ricks88

accu_allergies:
   module: accu_allergies
   class: Get_Accu_Allergies
   ACC_FILE: "./allergies"
   ACC_FLAG: "input_boolean.get_allergies_data"
   DEB_FLAG: "input_boolean.reset_allergies_sensor"
   URL_ID: "248858"
   URL_CITY: "posterholt"
   URL_COUNTRY: "NL"
   URL_LANG: "NL"
   URL_POSTCODE: ""
   WEB_VER: "APRIL22" # or use "APRIL22"
- sensor.acc_data_last_sourced
— sensor.acc_boompollen_today
— sensor.acc_ambrosiapollen_today
— sensor.acc_schimmel_today
— sensor.acc_graspollen_today
— ensor.acc_huisstofmijt_today
— sensor.acc_artritis_today
— sensor.acc_sinusdruk_today
— sensor.acc_verkoudheid_today
— sensor.acc_griep_today
— sensor.acc_migraine_today
— sensor.acc_astma_today
— sensor.acc_vissen_today
— sensor.acc_hardlopen_today
— sensor.acc_golf_today
— sensor.acc_fietsen_today
— sensor.acc_strand_en_zwembad_today
— sensor.acc_sterrenkijken_today
— sensor.acc_wandelen_today
— sensor.acc_vliegreizen_today
— sensor.acc_autorijden_today
— sensor.acc_grasmaaien_today
— sensor.acc_composteren_today
— sensor.acc_buiten_eten_today
— sensor.acc_muggen_today
— sensor.acc_ongedierte_in_huis_today
— sensor.acc_ongedierte_buiten_today
— sensor.acc_air_today
— sensor.acc_air_tomorrow

Now u get Dutch tekst of the sensors. I had written nl in small type but must be capital NL now its working again.

Did you also lose your icons? they are all " mdi:air-purifier " now.

huizebruin commented 1 year ago

No icon's. Just standard icons Screenshot_2023-02-13-20-33-31-65_c3a231c25ed346e59462e84656a70e50.jpg

Ricks88 commented 1 year ago

working on that now :P airq

Ricks88 commented 1 year ago

@simonhq Is it possible to bring back the sensors for 'tomorrow'? todaytomorrow

huizebruin commented 1 year ago

That's looking good, did you use Icon or Images?

Maybe we can figure out how to get the tomorrow sensors back.

Ricks88 commented 1 year ago

That's looking good, did you use Icon or Images?

Maybe we can figure out how to get the tomorrow sensors back.

I used vector icons from google search haha, i can send them to you when all is done. However, i have no idea how that works with copyright things cus i did copy past of just save as and edit them in Photoshop :P

Ricks88 commented 1 year ago

about tomorrow data, im afraid the website itself does not have it anymore

https://www.accuweather.com/nl/nl/posterholt/248858/health-activities/248858

So think there is no solution

Ricks88 commented 1 year ago

weer2 weer1

:D

How can i share this, but i cant share all the icons i think (c) But can share all the code.

@simonhq @huizebruin

huizebruin commented 1 year ago

I have a website,

You can Post it there. With a zip file for the pictures.

We can make a tutorial how to setup it. It's a dutch website with a translator on it.

Ricks88 commented 1 year ago

I have a website,

You can Post it there. With a zip file for the pictures.

We can make a tutorial how to setup it. It's a dutch website with a translator on it.

Send me a PB please, I'am dutch :P so can in NL

huizebruin commented 1 year ago

Do u have discord ? i cannot send pb message in Github ? https://discord.gg/ppFaa7by

EDelsman commented 1 year ago

about tomorrow data, im afraid the website itself does not have it anymore

https://www.accuweather.com/nl/nl/posterholt/248858/health-activities/248858

So think there is no solution

There is a weeks worth of data for each category if you click the box for it, but it is gonna take some work to implement getting it. Maybe if the pages all follow the same structure it is doable?

simonhq commented 1 year ago

Hi EDelsman,

The issue is that each area presents different sets of data, e.g. my local area does not show the pollen counts, while others do. Thus there would be a lot of checking if pages exist, then downloading them, and then parsing them. One of the things I have tried to do with this, is keep the number of calls to the website to a minimum, just in case they see it as too many requests and block it.

Yes, it is possible, but currently I do not have the time to build this. Happy if someone wants to put something together and we can discuss.

Simon.