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

[Bug]: Error when configuring Circulus #2265

Closed
7 tasks done
philippe-tc opened this issue Jul 15, 2024 · 5 comments · Fixed by #2277
Closed
7 tasks done

[Bug]: Error when configuring Circulus #2265

philippe-tc opened this issue Jul 15, 2024 · 5 comments · Fixed by #2277
Labels
source defect Defect of a source reported

Comments

@philippe-tc
Copy link

philippe-tc commented Jul 15, 2024

I Have A Problem With:

A specific source

What's Your Problem

When using the UI I cannot configure. I use

  • Netherlands
  • Circulus
  • Postcode: 7231DB
  • Housenumber: 23

In the last step I get an error:

The source returned an invalid response: "'BESTAFR'". Please check the provided arguments and try again.

Entering these steps manually in https://mijn.circulus.nl there is no problem. It looks like the site circulus.nl comes back with a response that this integration doesn't recognise.

IMG_6296

Source (if relevant)

No response

Logs

No relevant log information

Relevant Configuration

No response

Checklist Source Error

  • Use the example parameters for your source (often available in the documentation) (don't forget to restart Home Assistant after changing the configuration)
  • Checked that the website of your service provider is still working
  • Tested my attributes on the service provider website (if possible)
  • I have tested with the latest version of the integration (master) (for HACS in the 3 dot menu of the integration click on "Redownload" and choose master as version)

Checklist Sensor Error

  • Checked in the Home Assistant Calendar tab if the event names match the types names (if types argument is used)

Required

  • I have searched past (closed AND opened) issues to see if this bug has already been reported, and it hasn't been.
  • I understand that people give their precious time for free, and thus I've done my very best to make this problem as easy as possible to investigate.
@5ila5 5ila5 added the source defect Defect of a source reported label Jul 15, 2024
@5ila5
Copy link
Collaborator

5ila5 commented Jul 15, 2024

Seems to be a general issue with the source, not the UI configuration.

@5ila5 5ila5 mentioned this issue Jul 15, 2024
@5ila5
Copy link
Collaborator

5ila5 commented Jul 15, 2024

fixed in #2277

This will be part of the next release or is available now as master (git) version (3-dot menu -> redownload -> change version to master -> fully restart HA (this will increase update cycle by a lot)

@philippe-tc
Copy link
Author

philippe-tc commented Jul 17, 2024

When I go to HACS -> Waste Collection Schedule -> 3-dot menu -> redownload -> change '2.0.0' to 'master", then the download button bottom right turns from blue to gray and 2 seconds later the version selectors says '2.0.0' again and the download button is blue again.
Result: same after restarting HA.
So selecting and downloading this 'master' version seems impossible?

I tried loading the circulus_nl.py file,
(https://github.com/mampfes/hacs_waste_collection_schedule/blob/2.0.0/custom_components/waste_collection_schedule/waste_collection_schedule/source/circulus_nl.py)
assuming that this is the file that caused the trouble, but the error stated in the beginning here still exists. Couldn't find the 'master' version there...
What file(s) is (are) involved in the correction of this problem and where can I find them? At this point it may be easier just copying these?

@5ila5
Copy link
Collaborator

5ila5 commented Jul 17, 2024

I can download the master version in my HA install, not sure what's wrong there. The affected file is in /custom_components/waste_collection_schedule/waste_collection_schedule/source/circulus_nl.py in line 63 you can see the change here https://github.com/mampfes/hacs_waste_collection_schedule/pull/2277/files or here as patch file https://github.com/mampfes/hacs_waste_collection_schedule/commit/16d45664fa2637e4d3025fd36cf9b3b99a9a831a.patch

@philippe-tc
Copy link
Author

CORRECTION
Finally I did find the new (master) version of the file circulus_nl.py, copied the contents into mine, restarted HA and now it did except the installation!
Sorry for bothering you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source defect Defect of a source reported
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants