Code Monkey home page Code Monkey logo

Comments (7)

mampfes avatar mampfes commented on May 28, 2024

Hi Gerhard, which python version is called if you run python? Please try:

python3 muellmax_de.py to ensure that python 3 is called.

Secondly, please post error message if the error persists.

Regards

Steffen

from hacs_waste_collection_schedule.

GLehnhoff avatar GLehnhoff commented on May 28, 2024

Hi Steffen,

with a different computer I get a different result. Here we are:

Python-Version: Python 3.6.9 (default, Oct 8 2020, 12:12:24), [GCC 8.4.0] on linux

glehnhoff@TUXEDO:~/Dokumente/SmartHome/Home Assistant$ python3 muellmax_de.py
Traceback (most recent call last):
  File "muellmax_de.py", line 5, in <module>
    import inquirer
ModuleNotFoundError: No module named 'inquirer'
glehnhoff@TUXEDO:~/Dokumente/SmartHome/Home Assistant$

from hacs_waste_collection_schedule.

mampfes avatar mampfes commented on May 28, 2024

You have to install the missing Python package:
pip3 install inquirer
But unfortunately inquirer is not available on Windows, therefore you need a Linux box. If you don't have access to an Linux box, you can also send me your address data via PN (via Home Assistant Forum).

from hacs_waste_collection_schedule.

GLehnhoff avatar GLehnhoff commented on May 28, 2024

Well, 'pip3' was not installed. I googled and installed:

  • sudo apt install python3-pip
  • pip3 install inquirer
  • python3 muellmax_de.py

Worked. Outcome:

Copy the following statements into your configuration.yaml:

# waste_collection_schedule source configuration
waste_collection_schedule:
  sources:
    - name: muellmax_de
      args:
        service: His
        mm_frm_str_sel: Hadrianstraße

Thanks, Steffen, so far, so good, I will try the complete process again.

Question: your waste_collection_schedule is looking for the data online, correct? I currently have downloaded an ics-file from MüllerMax which is valid half a year only.

from hacs_waste_collection_schedule.

mampfes avatar mampfes commented on May 28, 2024

Yes, waste_collection_schedule fetches the schedule every day from your service provider.

from hacs_waste_collection_schedule.

mampfes avatar mampfes commented on May 28, 2024

Is it working for you now?

from hacs_waste_collection_schedule.

GLehnhoff avatar GLehnhoff commented on May 28, 2024

Steffen, I probably will give it a new run this week, I'll keep you informed. This issue, however, was for the crashing script. The script works. I am not sure, what the policy is, but as this problems is solved, I might close this issue.

from hacs_waste_collection_schedule.

Related Issues (20)

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.