Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing sensor #12

Open
eliashe92 opened this issue Mar 6, 2023 · 1 comment
Open

Missing sensor #12

eliashe92 opened this issue Mar 6, 2023 · 1 comment

Comments

@eliashe92
Copy link

I can only see a sensor for "papir" and are missing garbage and plastic. How can I resolve this?

My configuration

#Min renovasjon
min_renovasjon:
street_name: "My address"
house_no: "My house number"
street_code: "1026"
county_id: "1833"
date_format: "None"

sensor:
#Min renovasjon

  • platform: min_renovasjon
    fraction_id:
    • 1
    • 2
    • 3
    • 19
@Kim-San
Copy link

Kim-San commented Jan 6, 2024

The ID's given in the readme file didn't match for my address either. To find the ID you can do the following (as referenced in the readme file):

Add the following to "/homeassistant/configuration.yaml":

logger:
  default: info
  logs:
    custom_components.min_renovasjon: debug

And look in the log for:

["2024-01-08T00:00:00","2024-02-05T00:00:00"]},{"FraksjonId":5,"Tommedatoer":["2024-01-08T00:00:00","2024-03-04T00:00:00"]}]
2024-01-06 23:14:43.117 DEBUG (SyncWorker_1) [custom_components.min_renovasjon] Fraksjoner: ....

It's easiest to go through the full text in an text editor, and look for the "ID" and "Navn", e.g. "Id":10,"Navn":"Plast".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants