Skip to content

Commit

Permalink
Merge pull request #163 from davidusb-geek/davidusb-geek/fix/patch_ne…
Browse files Browse the repository at this point in the history
…w_ver_0p7p1

Fix - New patched version
  • Loading branch information
davidusb-geek authored Jan 29, 2024
2 parents 88d52fc + 03fe4e1 commit 9d90912
Show file tree
Hide file tree
Showing 7 changed files with 225 additions and 189 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.7.1] - 2024-01-29
### Fix
- Patched new version wer server issues accessing correct paths

## [0.7.0] - 2024-01-28
### Improvement
- Added a new feature to provide operating time windows for deferrable loads. Thanks to @michaelpiron
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'David HERNANDEZ'

# The full version, including alpha/beta/rc tags
release = '0.7.0'
release = '0.7.1'

# -- General configuration ---------------------------------------------------

Expand Down
116 changes: 49 additions & 67 deletions options.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,57 @@
{
"hass_url": "empty",
{
"hass_url": "empty",
"long_lived_token": "empty",
"logging_level": "INFO",
"costfun": "profit",
"optimization_time_step": 30,
"historic_days_to_retrieve": 2,
"costfun": "profit",
"optimization_time_step": 30,
"historic_days_to_retrieve": 2,
"method_ts_round": "nearest",
"optional_solcast_api_key": "empty",
"optional_solcast_rooftop_id": "empty",
"optional_solar_forecast_kwp": 0,
"set_total_pv_sell": false,
"lp_solver": "COIN_CMD",
"lp_solver_path": "/usr/bin/cbc",
"set_nocharge_from_grid": false,
"optional_solar_forecast_kwp": 0,
"set_total_pv_sell": false,
"lp_solver": "COIN_CMD",
"lp_solver_path": "/usr/bin/cbc",
"set_nocharge_from_grid": false,
"set_nodischarge_to_grid": true,
"set_battery_dynamic": false,
"battery_dynamic_max": 0.9,
"battery_dynamic_min": -0.9,
"weight_battery_discharge": 1.0,
"weight_battery_charge": 1.0,
"sensor_power_photovoltaics": "sensor.power_photovoltaics",
"sensor_power_load_no_var_loads": "sensor.power_load_no_var_loads",
"load_negative": false,
"set_zero_min": true,
"number_of_deferrable_loads": 3,
"list_nominal_power_of_deferrable_loads": [
{
"nominal_power_of_deferrable_loads": 3000
},
{
"nominal_power_of_deferrable_loads": 750
},
{
"nominal_power_of_deferrable_loads": 2500
}
],
"list_operating_hours_of_each_deferrable_load": [
{
"operating_hours_of_each_deferrable_load": 4
},
{
"operating_hours_of_each_deferrable_load": 0
},
{
"operating_hours_of_each_deferrable_load": 5
}
"sensor_power_photovoltaics": "sensor.power_photovoltaics",
"sensor_power_load_no_var_loads": "sensor.power_load_no_var_loads",
"load_negative": false,
"set_zero_min": true,
"number_of_deferrable_loads": 2,
"list_nominal_power_of_deferrable_loads": [
{
"nominal_power_of_deferrable_loads": 3000
},
{
"nominal_power_of_deferrable_loads": 750
}
],
"list_operating_hours_of_each_deferrable_load": [
{
"operating_hours_of_each_deferrable_load": 4
},
{
"operating_hours_of_each_deferrable_load": 0
}
],
"weather_forecast_method": "scrapper",
"time_zone": "Europe/Paris",
"Latitude": 45.83,
"Longitude": 6.86,
"Altitude": 4807.8,
"load_forecast_method": "naive",
"load_forecast_method": "naive",
"delta_forecast_daily": 1,
"load_cost_forecast_method": "hp_hc_periods",
"load_cost_forecast_method": "hp_hc_periods",
"list_start_timesteps_of_each_deferrable_load": [
{
"start_timesteps_of_each_deferrable_load": 0
},
{
"start_timesteps_of_each_deferrable_load": 0
},
{
"start_timesteps_of_each_deferrable_load": 0
}
Expand All @@ -71,31 +62,25 @@
},
{
"end_timesteps_of_each_deferrable_load": 0
}
],
"list_peak_hours_periods_start_hours": [
{
"peak_hours_periods_start_hours": "02:54"
},
{
"end_timesteps_of_each_deferrable_load": 0
"peak_hours_periods_start_hours": "17:24"
}
],
"list_peak_hours_periods_start_hours": [
{
"peak_hours_periods_start_hours": "02:54"
},
{
"peak_hours_periods_start_hours": "17:24"
}
],
"list_peak_hours_periods_end_hours": [
{
"peak_hours_periods_end_hours": "15:24"
},
{
"peak_hours_periods_end_hours": "20:54"
}
],
"list_treat_deferrable_load_as_semi_cont": [
"list_peak_hours_periods_end_hours": [
{
"treat_deferrable_load_as_semi_cont": true
"peak_hours_periods_end_hours": "15:24"
},
{
"peak_hours_periods_end_hours": "20:54"
}
],
"list_treat_deferrable_load_as_semi_cont": [
{
"treat_deferrable_load_as_semi_cont": true
},
Expand All @@ -107,17 +92,14 @@
{
"set_deferrable_load_single_constant": false
},
{
"set_deferrable_load_single_constant": false
},
{
"set_deferrable_load_single_constant": false
}
],
"load_peak_hours_cost": 0.1907,
"load_offpeak_hours_cost": 0.1419,
"production_price_forecast_method": "constant",
"photovoltaic_production_sell_price": 0.1419,
"load_peak_hours_cost": 0.1907,
"load_offpeak_hours_cost": 0.1419,
"production_price_forecast_method": "constant",
"photovoltaic_production_sell_price": 0.1419,
"maximum_power_from_grid": 9000,
"list_pv_module_model": [
{
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setup(
name='emhass', # Required
version='0.7.0', # Required
version='0.7.1', # Required
description='An Energy Management System for Home Assistant', # Optional
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional (see note above)
Expand Down
Loading

0 comments on commit 9d90912

Please sign in to comment.