davidusb-geek / emhass-add-on

The Home Assistant Add-on for EMHASS: Energy Management Optimization for Home Assistant
MIT License
96 stars 29 forks source link

0.3.3 not starting #39

Closed kcoffau closed 1 year ago

kcoffau commented 1 year ago

EMHASS 0.3.3 Home Assistant 2023.3.3 Supervisor 2023.03.1 Operating System 9.5 Frontend 20230309.0 - latest

Error: EMHASS not starting: Log: /usr/bin/python3: Error while finding module specification for 'emhass.web_server' (ModuleNotFoundError: No module named 'emhass')

Went from version 0.2.9 to 0.3.3, hard restarted Home Assistant device, and EMHASS not starting.

Unsure on next troubleshooting steps?

kcoffau commented 1 year ago

Config as FYI `hass_url: empty long_lived_token: empty costfun: profit optimization_time_step: 30 historic_days_to_retrieve: 3 method_ts_round: first set_total_pv_sell: false lp_solver: COIN_CMD lp_solver_path: /usr/bin/cbc set_nocharge_from_grid: false load_forecast_method: naive sensor_power_photovoltaics: sensor.power_ac_fronius_inverter_1_192_168_10_122 sensor_power_load_no_var_loads: sensor.victron_ac_l1 number_of_deferrable_loads: 1 list_nominal_power_of_deferrable_loads:

purcell-lab commented 1 year ago

Same issue here. 0.3.3 doesn't start.

0.3.2 was last good version.

davidusb-geek commented 1 year ago

Fixed! sorry about this, a silly mistake. v0.3.4 should work fine

purcell-lab commented 1 year ago

This issue was resolved for me with 0.3.4, thanks for the quick update.

kcoffau commented 1 year ago

Hi, thanks for jumping on this so quickly. I updated from 3.3 to 3.5 and now: image

davidusb-geek commented 1 year ago

That's a hass and supervisor issue, not emhass. Just reboot your system and retry. Otherwise uninstall the add-on, reboot your system, reinstall the add-on. It should do the trick.

kcoffau commented 1 year ago

Don't worry, did a uninstall and reinstall and that rectified that issue.