simonhq / accu_allergies

HA allergy sensors from AccuWeather
20 stars 2 forks source link

Everything appears as unknown #20

Open frayberen opened 1 year ago

frayberen commented 1 year ago

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

simonhq commented 1 year ago

Hi Fraybean,

You need to uncomment the "APRIL22" i.e., remove the # so that the correct version of the code is getting the data.

Thanks

Simon.

frayberen commented 1 year ago

I have also tried uncommenting and I can't do it either. The input_boolean.get_allergies_data does not return, it gets stuck.

simonhq commented 1 year ago

Can you post the appdaemon logs of what it is saying when it runs please.

simonhq commented 1 year ago

Hey Frayberen,

I would also suggest changing your block to 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: "1457283"
  URL_CITY: "maria-de-huerva"
  URL_COUNTRY: "es"
  URL_LANG: "es"
  URL_POSTCODE: ""
  WEB_VER: "APRIL22"

As in your url, you don't have a different postcode to your ID