davidusb-geek / emhass

emhass: Energy Management for Home Assistant, is a Python module designed to optimize your home energy interfacing with Home Assistant.
MIT License
260 stars 51 forks source link

Docker not starting, web_server.py: error: unrecognized arguments: python3 src/emhass/web_server.py #286

Open smitterer opened 1 month ago

smitterer commented 1 month ago

Describe the bug Getting the following errors after downloading the newest version of EMHASS: 2024-05-15T09:37:13.923695795Z | stdout | web_server.py: error: unrecognized arguments: python3 src/emhass/web_server.py 2024-05-15T09:37:13.923564580Z | stdout | [--no_response NO_RESPONSE] 2024-05-15T09:37:13.922609527Z | stdout | usage: web_server.py [-h] [--url URL] [--key KEY] [--addon ADDON]

To Reproduce My config:

Configuration file for EMHASS

retrieve_hass_conf:

optim_conf:

plant_conf:

retrieve_hass_conf:

optim_conf:

plant_conf:

Expected behavior A starting Docker container

Screenshots If applicable, add screenshots to help explain your problem.

Home Assistant installation type

Your hardware

EMHASS installation type

Additional context

davidusb-geek commented 1 month ago

Please share the command that you are using to lauch the docker container. What is your docker run command?

smitterer commented 1 month ago

Hi, honestly speaking I don't know the exact one as I'm just starting it via the Synology Docker app. I just set the TZ and LOCAL_COSTFUN variable.