Giter Site home page Giter Site logo

accu_allergies's People

Contributors

simonhq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

accu_allergies's Issues

How to install and get it working

Hello,

The instructions are not clear, since i'm for a week trying to get this working.
Please help.
I have installed trough HACS, also installed appdaemon.
On appdaemon added this:
system_packages: []
python_packages:

  • bs4
    init_commands: []

This part of the code adapated to my region:
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: "21921"
URL_CITY: "canberra"
URL_COUNTRY: "au"
URL_LANG: "en"

I have placed it on the apps.yaml in the config folder, but the sensors never show up after restart hass on the Developer tools/States.

What i'm doing wrong?

Unable to add via HACS

It isn't visible when I search HACS
If I try adding the repository I get "<Integration simonhq/accu_allergies> Repository structure for master is not compliant"

No data

Hello @simonhq
It's me again :P
I have no data anymore, all sensors seems to be gone.

Tried both 2022 and without.

code:

Allergies

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: "" # or use "APRIL22"

site:

accuweather.com/nl/nl/posterholt/248858/allergies-weather/248858

Could you please take a look? :)

Thanks,
Rick

Everything appears as unknown

Same problem. Everything keeps showing up as unknown and I've already tried every way I can think of... Any light...?

Thanks!!
Captura de pantalla 2023-07-28 a las 18 17 11
Captura de pantalla 2023-07-28 a las 18 15 55

Cant get this working

Hi All,

I set this up in HA and it was working fine, but now it doesn't show any data,
my app.yaml looks like this:

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: "328298"
URL_CITY: "pinner"
URL_COUNTRY: "gb"
URL_LANG: "en"
URL_POSTCODE: "ha5-3"
WEB_VER: "APRIL22" # or use "APRIL22"

I also tried setting up the input_booleans but had no luck with that.
input_boolean.yaml looks like this (as i have this in my configuration.yaml input_boolean: !include input_boolean.yaml ):

load_allergies_data:

get_allergies_data:

and my 2 automations look like this

alias: Accuweather Allergies Data
description: ''
trigger:

  • platform: state
    entity_id:
    • input_boolean.get_allergies_data
      to: 'off'
      condition: []
      action:
  • service: input_boolean.turn_on
    target:
    entity_id: input_boolean.load_allergies_data
    data: {}
    mode: single

alias: Accuweather Get Allergies Data
description: ''
trigger:

  • platform: time
    at: '16:00:00'
  • platform: time
    at: '17:30:00'
    condition: []
    action:
  • service: input_boolean.turn_on
    data: {}
    target:
    entity_id: input_boolean.get_allergies_data
    mode: single

Anything i am doing wrong ?

Does not create sensors?

Hi.
I am runnging Hasio on a rasperryPi 4b+
i hav etried to install yor automation add-on from HACS
Afterwords I have added this:

system_packages: []
python_packages:

  • bs4
    init_commands: []

(dont mind the formatting)
to my /config/appdaemon/appdaemon.yaml

and restart.

But neither sensor.acc.......... nor booleans are created?

I musst be doing something wrong.
I hope you are able to helt my.
Kind regards
Christian

Some sensors still have "unknown" values.

Unfortunately I have to ask for help, because I'm able to get only few values from acc sensors (like playing golf or running), these most useful are still "unavailable":
image

My Config:
`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: "264625"
URL_CITY: "marki"
URL_COUNTRY: "PL"
URL_LANG: "PL"
URL_POSTCODE: ""
WEB_VER: "" # or use "APRIL22"
'
https://www.accuweather.com/pl/pl/marki/264625/health-activities/264625

Log from AppDaemon:
2023-02-21 14:16:02.176503 INFO AppDaemon: Reading config
2023-02-21 14:16:02.299401 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2023-02-21 14:16:02.305759 INFO AppDaemon: App 'accu_allergies' changed
2023-02-21 14:16:02.310153 INFO AppDaemon: Found 3 total apps
2023-02-21 14:16:02.341239 INFO AppDaemon: Terminating accu_allergies
2023-02-21 14:16:02.344157 INFO AppDaemon: Initializing app accu_allergies using class Get_Accu_Allergies from module accu_allergies
2023-02-21 14:16:05.426348 WARNING accu_allergies: accu_allergies: Entity input_boolean.get_allergies_data not found in namespace default
2023-02-21 14:16:05.430358 WARNING accu_allergies: accu_allergies: Entity input_boolean.reset_allergies_sensor not found in namespace default
2023-02-21 14:16:05.438806 WARNING AppDaemon: Excessive time spent in utility loop: 3269.0ms, 3269.0ms in check_app_updates(), 0.0ms in other

I tried also with small letters in country and lang code - no difference, APRIL22 - errors in appdaemon log (KeyError: 'health'), I have no idea what else could I check.

Cannot get this working

Hi there,

I've installed the automation via HACS, but do not see any sensor data. I can't find any reference to this repo elsewhere, for example in the supervisor section or in the list of repos, so have installed from the only place where I can in the UI.

What am I missing? Thanks!

Installation into 'old' folder

Hi!

When installing this via HACS after a new fress/clean installation of HA, it wil not work anymore because HACS still installs it info the config folder instead of the new 'addon_configs' folder.

I had to move the files to 'addon_configs\a0d7b954_appdaemon' and it started working.
However, not sure of this must be in the new 'addon_configs' folder of the 'addon' folder and only the config(apps.yaml) into the 'addon_config'.

It only works when moving All the files to 'addon_config' but i think with the changes to the folders in HA the files has to be in 'addons' and the config into the 'addon_configs'

Error pollendata

Hello,

The pollen data, mold and dust, give the same value:

errordata

All give the ambrosiapollen data instead of the correct one.

correctdata

input_boolean flags needed in documentation

Greetings! Can you please update the names of the input_boolean that are being watched by the app? I've looked through the code and suspect that its acc_flag and deb_flag but am unsure. May also help others. Appreciate the effort and this App well done!

Lots of warnings as folder has changed

Hello Simon,

I am having problems as the folder for appdaemon has changed outside the config.

I already changed the secret yaml link to /homeassistant/ instead of config.

But i get all of these warnings:

2023-11-28 00:13:25.213882 INFO AppDaemon: Loading App Module: /config/apps/accu_allergies/accu_allergies.py 2023-11-28 00:13:26.307214 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello 2023-11-28 00:13:26.310009 INFO AppDaemon: Loading app accu_allergies using class Get_Accu_Allergies from module accu_allergies 2023-11-28 00:13:26.313360 INFO AppDaemon: Calling initialize() for hello_world 2023-11-28 00:13:26.443399 INFO hello_world: Hello from AppDaemon 2023-11-28 00:13:26.445498 INFO hello_world: You are now ready to run Apps! 2023-11-28 00:13:26.447368 INFO AppDaemon: Calling initialize() for accu_allergies 2023-11-28 00:13:26.488643 INFO accu_allergies: request https://www.accuweather.com/NL/NL/posterholt/248858/health-activities/248858 2023-11-28 00:13:26.784442 WARNING accu_allergies: accu_allergies: Entity sensor.acc_data_last_sourced not found in namespace default 2023-11-28 00:13:26.785829 INFO AppDaemon: accu_allergies: Entity sensor.acc_data_last_sourced created in namespace: default 2023-11-28 00:13:26.819425 INFO accu_allergies: request https://www.accuweather.com/NL/NL/posterholt/248858/air-quality-index/248858 2023-11-28 00:13:27.200379 INFO accu_allergies: get 2023-11-28 00:13:27.349726 INFO accu_allergies: sensor.acc_boompollen_today 2023-11-28 00:13:27.351727 WARNING accu_allergies: accu_allergies: Entity sensor.acc_boompollen_today not found in namespace default .......
WARNING accu_allergies: accu_allergies: Entity sensor.acc_data_last_sourced not found in namespace default
Can i fix them myself maybe?

Quit working HA 116

Getting errors in appdaemon now. Worked great up until 116 upgrade. May have something to do with Python upgrade to 3.8?

National characters

Hello,

can you take a look at opening city names with national characters in them? Like:

https://www.accuweather.com/pl/pl/gorzów-wielkopolski/274270/allergies-weather/274270

"ó" in url causes to URL being corrupted (logs from appdaemon):

2023-02-20 13:15:41.109596 INFO accu_allergies: request https://www.accuweather.com/pl/pl/gorz��w-wielkopolski/66-400/asthma-weather/274270

when you open URL:

https://www.accuweather.com/pl/pl/gorz��w-wielkopolski/66-400/asthma-weather/274270

in browser it will not load any data and instead of that it will redirect you to proper URL.

Thanks

No Sensor Information

Is there an issue with the scraping....I get unknown for all my sensor data apart from the Air Quality one which still gives values. I have recently upgraded to Home Assistant OS 6.1 and have core-2021.6.6 and supervisor-2021.06.3 if that helps....
It has been working perfectly up until a couple of days ago....
This is the only error I can see in the appdaemon logs

2021-06-25 10:09:11.969988 WARNING accu_allergies: accu_allergies: Entity input_boolean.get_allergies_data not found in namespace default
2021-06-25 10:09:11.974328 WARNING accu_allergies: accu_allergies: Entity input_boolean.reset_allergies_sensor not found in namespace default

I'm not sure what else to try..Thanks

Not pulling data correctly

I've been using this for several months and have found it extremely useful. Recently it will only pull a small amount of the data for the sensors. In appdaemon I'm getting these errors below. What do I need to do to get it working properly again. Thanks, Jeff.
2020-10-25 05:07:03.233245 INFO accu_allergies: request https://www.accuweather.com/en/us/Nashville/37209/allergies-weather/351090?name=grass-pollen
2020-10-25 05:07:03.672400 INFO accu_allergies: request https://www.accuweather.com/en/us/Nashville/37209/allergies-weather/351090?name=tree-pollen
2020-10-25 05:07:04.120028 INFO accu_allergies: request https://www.accuweather.com/en/us/Nashville/37209/allergies-weather/351090?name=mold
2020-10-25 05:07:04.560041 INFO accu_allergies: request https://www.accuweather.com/en/us/Nashville/37209/allergies-weather/351090?name=dust-dander
2020-10-25 05:07:05.005968 INFO accu_allergies: request https://www.accuweather.com/en/us/Nashville/37209/cold-flu-weather/351090?name=common-cold
2020-10-25 05:07:05.540820 INFO accu_allergies: request https://www.accuweather.com/en/us/Nashville/37209/cold-flu-weather/351090?name=flu
2020-10-25 05:07:10.668805 WARNING AppDaemon: callback daily_load_sensors() in accu_allergies has now completed
2020-10-25 09:28:59.564399 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:04.570436 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:09.576105 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:14.582611 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:19.593867 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:24.600490 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:29.611041 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:34.617899 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:39.625323 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:44.635838 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:49.643626 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:54.653367 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:29:59.660939 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:04.686109 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:09.717662 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:14.724842 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:19.733697 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:24.742974 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:34.574959 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:41.942004 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:47.709603 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:52.722862 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:30:57.741688 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:31:02.754479 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:31:07.773668 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-10-25 09:31:13.683537 INFO HASS: Connected to Home Assistant 0.116.4
2020-10-25 09:31:15.879551 WARNING AppDaemon: Excessive time spent in utility loop: 2197.0ms, 2196.0ms in check_app_updates(), 1.0ms in other
2020-10-25 09:31:23.420185 INFO HASS: Evaluating startup conditions
2020-10-25 09:31:26.115941 INFO HASS: Startup condition met: hass state=RUNNING
2020-10-25 09:31:26.116971 INFO HASS: All startup conditions met
2020-10-25 09:31:29.119400 INFO AppDaemon: Processing restart for HASS
2020-10-25 09:31:29.122526 INFO AppDaemon: Terminating hello_world
2020-10-25 09:31:29.126547 INFO AppDaemon: Terminating accu_allergies
2020-10-25 09:31:29.129065 INFO AppDaemon: Terminating check_config
2020-10-25 09:31:29.130997 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2020-10-25 09:31:29.152161 INFO AppDaemon: Initializing app accu_allergies using class Get_Accu_Allergies from module accu_allergies
2020-10-25 09:31:29.154851 INFO AppDaemon: Initializing app check_config using class CheckConfig from module checkconfig
2020-10-25 09:31:29.159745 INFO hello_world: Hello from AppDaemon
2020-10-25 09:31:29.165337 INFO hello_world: You are now ready to run Apps!
2020-10-25 09:31:29.679467 WARNING accu_allergies: accu_allergies: Entity sensor.acc_ragweed_pollen_today not found in namespace default
2020-10-25 09:31:29.680652 INFO AppDaemon: accu_allergies: Entity sensor.acc_ragweed_pollen_today created in namespace: default
2020-10-25 09:31:29.951604 WARNING accu_allergies: accu_allergies: Entity sensor.acc_ragweed_pollen_tomorrow not found in namespace default
2020-10-25 09:31:29.953148 INFO AppDaemon: accu_allergies: Entity sensor.acc_ragweed_pollen_tomorrow created in namespace: default
2020-10-25 09:31:30.459966 WARNING accu_allergies: accu_allergies: Entity sensor.acc_grass_pollen_today not found in namespace default
2020-10-25 09:31:30.460958 INFO AppDaemon: accu_allergies: Entity sensor.acc_grass_pollen_today created in namespace: default
2020-10-25 09:31:30.514280 WARNING accu_allergies: accu_allergies: Entity sensor.acc_grass_pollen_tomorrow not found in namespace default
2020-10-25 09:31:30.516102 INFO AppDaemon: accu_allergies: Entity sensor.acc_grass_pollen_tomorrow created in namespace: default
2020-10-25 09:31:30.981232 WARNING accu_allergies: accu_allergies: Entity sensor.acc_tree_pollen_today not found in namespace default
2020-10-25 09:31:30.982461 INFO AppDaemon: accu_allergies: Entity sensor.acc_tree_pollen_today created in namespace: default
2020-10-25 09:31:31.039867 WARNING accu_allergies: accu_allergies: Entity sensor.acc_tree_pollen_tomorrow not found in namespace default
2020-10-25 09:31:31.041181 INFO AppDaemon: accu_allergies: Entity sensor.acc_tree_pollen_tomorrow created in namespace: default
2020-10-25 09:31:31.557627 WARNING accu_allergies: accu_allergies: Entity sensor.acc_mold_today not found in namespace default
2020-10-25 09:31:31.558999 INFO AppDaemon: accu_allergies: Entity sensor.acc_mold_today created in namespace: default
2020-10-25 09:31:31.611094 WARNING accu_allergies: accu_allergies: Entity sensor.acc_mold_tomorrow not found in namespace default
2020-10-25 09:31:31.612189 INFO AppDaemon: accu_allergies: Entity sensor.acc_mold_tomorrow created in namespace: default
2020-10-25 09:31:32.192892 WARNING accu_allergies: accu_allergies: Entity sensor.acc_dust_today not found in namespace default
2020-10-25 09:31:32.193849 INFO AppDaemon: accu_allergies: Entity sensor.acc_dust_today created in namespace: default
2020-10-25 09:31:32.275937 WARNING accu_allergies: accu_allergies: Entity sensor.acc_dust_tomorrow not found in namespace default
2020-10-25 09:31:32.277281 INFO AppDaemon: accu_allergies: Entity sensor.acc_dust_tomorrow created in namespace: default
2020-10-25 09:31:32.799436 WARNING accu_allergies: accu_allergies: Entity sensor.acc_common_cold_today not found in namespace default
2020-10-25 09:31:32.800883 INFO AppDaemon: accu_allergies: Entity sensor.acc_common_cold_today created in namespace: default
2020-10-25 09:31:32.831924 WARNING accu_allergies: accu_allergies: Entity sensor.acc_common_cold_tomorrow not found in namespace default
2020-10-25 09:31:32.837568 INFO AppDaemon: accu_allergies: Entity sensor.acc_common_cold_tomorrow created in namespace: default
2020-10-25 09:31:33.221827 WARNING accu_allergies: accu_allergies: Entity sensor.acc_flu_today not found in namespace default
2020-10-25 09:31:33.222771 INFO AppDaemon: accu_allergies: Entity sensor.acc_flu_today created in namespace: default
2020-10-25 09:31:33.247094 WARNING accu_allergies: accu_allergies: Entity sensor.acc_flu_tomorrow not found in namespace default
2020-10-25 09:31:33.247673 INFO AppDaemon: accu_allergies: Entity sensor.acc_flu_tomorrow created in namespace: default
2020-10-25 09:31:33.662094 WARNING accu_allergies: accu_allergies: Entity sensor.acc_air_today not found in namespace default
2020-10-25 09:31:33.662679 INFO AppDaemon: accu_allergies: Entity sensor.acc_air_today created in namespace: default
2020-10-25 09:31:33.676065 WARNING accu_allergies: accu_allergies: Entity sensor.acc_air_tomorrow not found in namespace default
2020-10-25 09:31:33.676645 INFO AppDaemon: accu_allergies: Entity sensor.acc_air_tomorrow created in namespace: default
2020-10-25 09:31:33.933211 WARNING accu_allergies: accu_allergies: Entity sensor.acc_asthma_today not found in namespace default
2020-10-25 09:31:33.933906 INFO AppDaemon: accu_allergies: Entity sensor.acc_asthma_today created in namespace: default
2020-10-25 09:31:33.950959 WARNING accu_allergies: accu_allergies: Entity sensor.acc_asthma_tomorrow not found in namespace default
2020-10-25 09:31:33.952178 INFO AppDaemon: accu_allergies: Entity sensor.acc_asthma_tomorrow created in namespace: default
2020-10-25 09:31:34.208743 WARNING accu_allergies: accu_allergies: Entity sensor.acc_arthritis_today not found in namespace default
2020-10-25 09:31:34.209512 INFO AppDaemon: accu_allergies: Entity sensor.acc_arthritis_today created in namespace: default
2020-10-25 09:31:34.245320 WARNING accu_allergies: accu_allergies: Entity sensor.acc_arthritis_tomorrow not found in namespace default
2020-10-25 09:31:34.246002 INFO AppDaemon: accu_allergies: Entity sensor.acc_arthritis_tomorrow created in namespace: default
2020-10-25 09:31:34.487264 WARNING accu_allergies: accu_allergies: Entity sensor.acc_migraine_today not found in namespace default
2020-10-25 09:31:34.488168 INFO AppDaemon: accu_allergies: Entity sensor.acc_migraine_today created in namespace: default
2020-10-25 09:31:34.506761 WARNING accu_allergies: accu_allergies: Entity sensor.acc_migraine_tomorrow not found in namespace default
2020-10-25 09:31:34.507601 INFO AppDaemon: accu_allergies: Entity sensor.acc_migraine_tomorrow created in namespace: default
2020-10-25 09:31:34.846118 WARNING accu_allergies: accu_allergies: Entity sensor.acc_sinus_today not found in namespace default
2020-10-25 09:31:34.846987 INFO AppDaemon: accu_allergies: Entity sensor.acc_sinus_today created in namespace: default
2020-10-25 09:31:34.894727 WARNING accu_allergies: accu_allergies: Entity sensor.acc_sinus_tomorrow not found in namespace default
2020-10-25 09:31:34.895388 INFO AppDaemon: accu_allergies: Entity sensor.acc_sinus_tomorrow created in namespace: default
2020-10-25 09:31:34.922184 WARNING accu_allergies: accu_allergies: Entity sensor.acc_data_last_sourced not found in namespace default
2020-10-25 09:31:34.923198 INFO AppDaemon: accu_allergies: Entity sensor.acc_data_last_sourced created in namespace: default
2020-10-25 09:31:34.977729 WARNING accu_allergies: accu_allergies: Entity input_boolean.get_allergies_data not found in namespace default
2020-10-25 09:31:34.979575 WARNING accu_allergies: accu_allergies: Entity input_boolean.reset_allergies_sensor not found in namespace default
2020-10-25 09:31:34.988697 WARNING check_config: check_config: Entity sensor.config_result not found in namespace default
2020-10-25 09:31:34.989358 INFO AppDaemon: check_config: Entity sensor.config_result created in namespace: default

update time

How can i change the update time?
and how can i do the update variables?

description: ''
trigger:
  - platform: time
    at: '12:00'
  - platform: time
    at: '18:00'
condition: []
action:
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.get_allergies_data
    data: {}
mode: single

I made this but its not updating.

Getting sensors Unknown - Tried a couples solutions

Hello there, first of all, thanks for all the time you are putting in this.

I've been trying to set this up but all the sensors are showing as unavailable excep for the sensor.acc_data_last_sourced , sensor.acc_air_today and sensor.acc_air_tomorrow. The others are showing as Unknown.

I have been going through the other issues and I've tried a couples of locations that people have posted claiming it was working but I could not get it work on my end.

The two binary sensors are working proprely.

When I use the "APRIL22" tag, I get an Initialize error with appdaemon.

here is my config for this url: https://www.accuweather.com/en/ca/ville-marie/h3a/current-weather/3556365

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: "3556365"
  URL_CITY: "ville-marie"
  URL_COUNTRY: "ca"
  URL_LANG: "en"
  URL_POSTCODE: ""
  WEB_VER: ""

Here is my appdaemon log

2023-08-18 08:36:58.562309 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/cold-flu-weather/3556365?name=flu

2023-08-18 08:36:58.158340 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/cold-flu-weather/3556365?name=common-cold
2023-08-18 08:36:57.637749 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/allergies-weather/3556365?name=dust-dander
2023-08-18 08:36:57.304974 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/allergies-weather/3556365?name=mold
2023-08-18 08:36:56.962085 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/allergies-weather/3556365?name=tree-pollen
2023-08-18 08:36:56.449461 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/allergies-weather/3556365?name=grass-pollen
2023-08-18 08:36:56.009527 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/allergies-weather/3556365?name=ragweed-pollen
2023-08-18 08:36:55.619926 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/air-quality-index/3556365
2023-08-18 08:36:55.321393 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/sinus-weather/3556365
2023-08-18 08:36:54.965883 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/migraine-weather/3556365
2023-08-18 08:36:54.513267 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/arthritis-weather/3556365
2023-08-18 08:36:52.681488 INFO accu_allergies: request https://www.accuweather.com/en/ca/ville-marie/3556365/asthma-weather/3556365
2023-08-18 08:34:46.659239 INFO AppDaemon: Calling initialize() for accu_allergies
2023-08-18 08:34:46.658181 INFO AppDaemon: Loading app accu_allergies using class Get_Accu_Allergies from module accu_allergies
2023-08-18 08:34:46.656355 INFO AppDaemon: Reloading Module: /conf/apps/accu_allergies.py
2023-08-18 08:34:46.655390 INFO AppDaemon: Terminating accu_allergies

Thank you again. Hopefully I can get this to work,

APRIL 2022 Changes - please update your sensor names etc.

Hi All,

I have updated the script to get the new values, the new website is a bit complex, so I have simplified down to only the 'TODAY' values, but have captured everything from the page, so you now get pests, going to the beach, star gazing etc.

you will need to rename some of the current sensors, and I haven't currently tried to give them their own icons.

all the sensors now follow the naming standard:

sensor.acc_xxxxx_today

so that you can find them easier

Simon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.