Some help required with new install. Weather and Octopus issues
spetrie13 opened this issue · 2 comments
Just installed but could not get the following working:
Weather with default settings.
Open weather installed
Weather data
weather: weather.openweathermap
With weather enabled:
Status changed to Warn - Unable to fetch data from weather.openweathermap
11:48:34 - Now - Supervisor
With weather disabled:
Status changed to Warn - Unable to fetch data from None
11:50:35 - 1 minute ago - Supervisor
I assume that none is a call for some weather data that is disabled
Octopus gas data
Octopus current rate. Octopus adding running and provides standing charge ok, but not current rate
Meter details changed for posting
'# Energy rates
'# metric_octopus_import: 're:(sensor.(octopus_energy_|)gas_[0-9a-z]+_[0-9a-z]+_current_rate)'
metric_octopus_import: sensor.octopus_energy_gas_e6f21xxxxxxxx_10xxxxxxxx_current_rate
'# Standing charge can be set to a sensor (e.g. Octopus) or manually entered in pounds here (e.g. 0.50 is 50p)
'# metric_standing_charge: 're:(sensor.(octopus_energy_|)gas_[0-9a-z]+_[0-9a-z]+_current_standing_charge)'
metric_standing_charge: sensor.octopus_energy_gas_e6f21xxxxxxxx_10xxxxxxxx_current_standing_charge
Error with current rate enabled:
Status changed to ERROR: Exception raised
11:55:13 - 1 minute ago - Supervisor
Status changed to Error - metric_octopus_import not set correctly or no energy rates can be read
11:55:13 - 1 minute ago - Supervisor
If I enable
metric_octopus_import: 're:(sensor.(octopus_energy_|)gas_[0-9a-z]+[0-9a-z]+current_rate)' nothing happens too
It detects my sensor but gives this error:
12:34:00 INFO pred_heat: Regular expression argument metric_octopus_import matched ^(sensor.(octopus_energy|)gas[0-9a-z]+_[0-9a-z]+_current_rate)$ with sensor.octopus_energy_gas_e6f21038582200_1035384310_current_rate
12:34:25 INFO pred_heat: Error: metric_octopus_import is not set correctly or no energy rates can be read
Is a log file created? Can't seem to find it except in App demon main log.
Any help would be appreciated. Also jsut installed predbat and have it up and running. :-)
extract from logs.txt
For the gas rates, did you check the event.octopus_energy_gas_* is also enabled?
For the weather did you create the external temp sensor as per the template?
template:
- sensor:
- name: "external_temperature"
unit_of_measurement: 'c'
state_class: measurement
state: >
{{ state_attr('weather.openweathermap', 'temperature') }}
Hi, did you resolve this? I'm getting the same issue.