fboundy / pv_opt

Home Assistant PV Optimisation for Solis Inverters
MIT License
26 stars 6 forks source link

sensor.pv_opt* failing to start #131

Closed pepetheprawn closed 8 months ago

pepetheprawn commented 8 months ago

appdaemon_error.log appdaemon_pv_opt.log Hi,

I've recently done a complete new build on a HA green appliance and everything appears to be working as expected. PV_OPT installation has all gone ok, and the dashboard is looking good. The only issue I have is that for some reason the sensor.pv_opt* sensors are not coming into service and I can't figure out why:

image

Any help to point me in the right direction would be massively appreciated as it feels like I'm 99% there now!

Thanks,

fboundy commented 8 months ago

1st thing I suggest is that you upgrade to the latest version of PV-Opt (3.8.10). This should be straightforward enough via HACS. This won't necessarily fix the problem but it will at least put you on the same revision as me!

If things still aren't there then please update this issue with the latest logs and I'll have another look


From: pepetheprawn @.> Sent: 20 February 2024 16:08 To: fboundy/pv_opt @.> Cc: Subscribed @.**> Subject: [fboundy/pv_opt] sensor.pv_opt failing to start (Issue #131)

appdaemon_error.loghttps://github.com/fboundy/pv_opt/files/14348201/appdaemon_error.log appdaemon_pv_opt.loghttps://github.com/fboundy/pv_opt/files/14348202/appdaemon_pv_opt.log Hi,

I've recently done a complete new build on a HA green appliance and everything appears to be working as expected. PV_OPT installation has all gone ok, and the dashboard is looking good. The only issue I have is that for some reason the sensor.pv_opt* sensors are not coming into service and I can't figure out why:

image.png (view on web)https://github.com/fboundy/pv_opt/assets/104442544/3c4f58d3-68ec-4da3-965f-b780b9142c4e

Any help to point me in the right direction would be massively appreciated as it feels like I'm 99% there now!

Thanks,

— Reply to this email directly, view it on GitHubhttps://github.com/fboundy/pv_opt/issues/131, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHJ7POSW5KRQE5SJIZ4CR3YUTDBNAVCNFSM6AAAAABDRN6UFGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DINZTGQYDMNY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

pepetheprawn commented 8 months ago

Thanks for the suggestion, I've just upgraded pv_opt, and here are the logs now AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt

I've now got this appliance disconnected from the inverter so the solis sensors are down which you'll see in the logs, but the situation is the same regarding all the pv_opt* sensors regardless of whether the inverter is connected or not.

fboundy commented 8 months ago

It won't run with so many required sensors unavailable - but it doesn't behave very nicely when it fails. I've added some additional error traps to 3.8.11 as a pre-release which you should be able to get through HACS if you allow Beta releases.

Can you re-send the logs when the various sensors are available?

pepetheprawn commented 8 months ago

AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt Hi Francis,

I've done the upgrade to 3.8.11 this morning and have attached to the inverter again. The Solis sensors are now up, but I'm still seeing the pv_opt sensors as unavailable. Interestingly pv_opt is also saying that the Solcast sensors are unavailable, although they are actually ok:

image

image

Update - I've just spotted this in AppDaemon, and this can't be good news: image

and there are these entries in the main log:

image

Thanks again for all your help with this, and apologies if this is as a result of something I've managed to do wrong!

-Gordon

fboundy commented 8 months ago

Ok - I’ll have at your logs and get back to you. On 21 Feb 2024 at 08:26 +0000, pepetheprawn @.***>, wrote:

AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt Hi Francis, I've done the upgrade to 3.8.11 this morning and have attached to the inverter again. The Solis sensors are now up, but I'm still seeing the pv_opt sensors as unavailable. Interestingly pv_opt is also saying that the Solcast sensors are unavailable, although they are actually ok: image.png (view on web) image.png (view on web) Thanks again for all your help with this. -Gordon — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

fboundy commented 8 months ago

The issues you have highlighted aren't the problem. It is because the button that is used to send times to the inverter in the Solax integration has never been pressed so it is returning an "unknown" state. I've update 3.8.12_pre to allow for this. Let me know how you get on.

pepetheprawn commented 8 months ago

AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt Morning Francis,

Please find new log files attached following the upgrade to 3.8.12_pre

Let me know if you need any more information or anything.

-Gordon

fboundy commented 8 months ago

Hmm - weird. Same error as before when I thought I’d fixed that. Will have another look On 22 Feb 2024 at 08:56 +0000, Pepe The Prawn @.***>, wrote:

AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt Morning Francis, Please find new log files attached following the upgrade to 3.8.12_pre Let me know if you need any more information or anything. -Gordon — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

pepetheprawn commented 8 months ago

Brilliant, thanks for your help with this.

fboundy commented 8 months ago

OK - found what I'd done wrong. 3.8.14 should be better. Just waiting on a response to a different issue before I release it.

pepetheprawn commented 8 months ago

Brilliant, thanks for investigating! Let me know when the new version is available and I'll give it a test :-)

davidcornwell1969 commented 8 months ago

Just to add I was getting exactly the same error as Gordon. More importantly though I'd like to say a massive thank you to the author for all his hard work and skill.

pepetheprawn commented 8 months ago

@davidcornwell1969 can I ask what the resolution was to your issue, if it's something I can fix myself and save hassling the developers that would be amazing!

davidcornwell1969 commented 8 months ago

Hi Gordon, sorry for misleading message, when I say I was getting the same error, I should say I AM getting the same error. Was loath to raise a bug myself in case me not reading the setup instructions correctly. I am a developer but very new to HA, so thought it likely to be me missing a step.

fboundy commented 8 months ago

Please try 3.8.14 and let me know how you get on

davidcornwell1969 commented 8 months ago

Hi I just got the latest version PV Opt v3.8.14 as appears in the log file,

Really sorry to report I don't see any change,

I have attached log file. I really hope I'm not wasting your time and the bug isn't caused by me not following instruction correctly. BTW all Solax Modbus entities appear to be functioning fine.

Kind Regards

Dave

On 23/02/2024 14:14 GMT fboundy @.***> wrote:

Please try 3.8.14 and let me know how you get on

— Reply to this email directly, view it on GitHub https://github.com/fboundy/pv_opt/issues/131#issuecomment-1961400620, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDRJRMUF3D37ADBEJU55H6LYVCP5VAVCNFSM6AAAAABDRN6UFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRGQYDANRSGA. You are receiving this because you were mentioned.Message ID: @.***>

2024-02-23 14:53:41.413305 WARNING AppDaemon: Unable to find app solis in dependencies for pv_opt 2024-02-23 14:53:41.413436 WARNING AppDaemon: Ignoring app pv_opt 2024-02-23 14:53:41.413708 INFO AppDaemon: Terminating pv_opt 2024-02-23 14:53:41.415802 INFO AppDaemon: Reloading Module: /homeassistant/appdaemon/apps/pv_opt/pvpy.py 2024-02-23 14:53:41.453216 INFO AppDaemon: Reloading Module: /homeassistant/appdaemon/apps/pv_opt/pv_opt.py 2024-02-23 14:53:41.505038 WARNING AppDaemon: Unable to find app solis in dependencies for pv_opt 2024-02-23 14:53:41.505614 WARNING AppDaemon: Ignoring app pv_opt 2024-02-23 14:53:41.506758 INFO AppDaemon: Loading app pv_opt using class PVOpt from module pv_opt 2024-02-23 14:53:41.511641 ERROR pv_opt: User defined log pv_opt_log not found 2024-02-23 14:53:41.513481 INFO AppDaemon: Calling initialize() for pv_opt 2024-02-23 14:53:41.516876 INFO pv_opt: 2024-02-23 14:53:41.518240 INFO pv_opt: PV Opt v3.8.14 2024-02-23 14:53:41.520765 INFO pv_opt: 2024-02-23 14:53:41.522698 ERROR pv_opt: User defined log pv_opt_log not found 2024-02-23 14:53:41.523876 WARNING AppDaemon: Unknown Plugin Configuration in get_plugin_api() 2024-02-23 14:53:41.527421 INFO pv_opt: Local timezone set to GB 2024-02-23 14:53:41.530292 INFO pv_opt: Time Zone Offset: 0.0 minutes 2024-02-23 14:53:41.532594 INFO pv_opt: Inverter type: SOLIS_SOLAX_MODBUS: inverter module: solis.py 2024-02-23 14:53:41.536069 WARNING pv_opt: pv_opt: Entity sensor.pvopt_status not found in namespace default 2024-02-23 14:53:41.538037 INFO AppDaemon: pv_opt: Entity sensor.pvopt_status created in namespace: default 2024-02-23 14:53:41.578717 INFO pv_opt: Reading arguments from YAML: 2024-02-23 14:53:41.580553 INFO pv_opt: ----------------------------------- 2024-02-23 14:53:41.582179 INFO pv_opt: 2024-02-23 14:53:41.584091 INFO pv_opt: Over-write flag is set so YAML will over-write HA 2024-02-23 14:53:41.587792 INFO pv_opt: consumption_history_days = 7 7: value in YAML 2024-02-23 14:53:41.597176 INFO pv_opt: 2024-02-23 14:53:41.600291 INFO pv_opt: Checking config: 2024-02-23 14:53:41.604016 INFO pv_opt: ----------------------- 2024-02-23 14:53:41.607310 WARNING pv_opt: forced_charge = True True: system default. Not in YAML. 2024-02-23 14:53:41.613794 WARNING pv_opt: forced_discharge = True True: system default. Not in YAML. 2024-02-23 14:53:41.617125 WARNING pv_opt: read_only = True True: system default. Not in YAML. 2024-02-23 14:53:41.620549 WARNING pv_opt: allow_cyclic = False False: system default. Not in YAML. 2024-02-23 14:53:41.625235 WARNING pv_opt: optimise_frequency_minutes = 10 10: system default. Not in YAML. 2024-02-23 14:53:41.632609 WARNING pv_opt: slot_threshold_p = 1.0 1.0: system default. Not in YAML. 2024-02-23 14:53:41.637126 WARNING pv_opt: day_of_week_weighting = 0.5 0.5: system default. Not in YAML. 2024-02-23 14:53:41.642767 WARNING pv_opt: pass_threshold_p = 4.0 4.0: system default. Not in YAML. 2024-02-23 14:53:41.650961 WARNING pv_opt: octopus_auto = True True: system default. Not in YAML. 2024-02-23 14:53:41.654627 WARNING pv_opt: battery_capacity_wh = 10000 10000: system default. Not in YAML. 2024-02-23 14:53:41.657996 WARNING pv_opt: inverter_efficiency_percent = 97 97: system default. Not in YAML. 2024-02-23 14:53:41.661421 WARNING pv_opt: charger_efficiency_percent = 91 91: system default. Not in YAML. 2024-02-23 14:53:41.665223 WARNING pv_opt: charger_power_watts = 3000 3000: system default. Not in YAML. 2024-02-23 14:53:41.668797 WARNING pv_opt: inverter_power_watts = 3600 3600: system default. Not in YAML. 2024-02-23 14:53:41.672183 WARNING pv_opt: inverter_loss_watts = 100 100: system default. Not in YAML. 2024-02-23 14:53:41.686437 WARNING pv_opt: solar_forecast = Solcast Solcast: system default. Not in YAML. 2024-02-23 14:53:41.693170 WARNING pv_opt: id_solcast_today = sensor.solcast_pv_forecast_forecast_today 3.40325: system default. Not in YAML. 2024-02-23 14:53:41.699559 WARNING pv_opt: id_solcast_tomorrow = sensor.solcast_pv_forecast_forecast_tomorrow 2.29645: system default. Not in YAML. 2024-02-23 14:53:41.704389 WARNING pv_opt: use_consumption_history = True True: system default. Not in YAML. 2024-02-23 14:53:41.709734 WARNING pv_opt: consumption_margin = 10 10: system default. Not in YAML. 2024-02-23 14:53:41.714448 WARNING pv_opt: daily_consumption_kwh = 17 17: system default. Not in YAML. 2024-02-23 14:53:41.717848 WARNING pv_opt: shape_consumption_profile = True True: system default. Not in YAML. 2024-02-23 14:53:41.723953 WARNING pv_opt: consumption_grouping = mean mean: system default. Not in YAML. 2024-02-23 14:53:41.727173 WARNING pv_opt: forced_power_group_tolerance = 100 100: system default. Not in YAML. 2024-02-23 14:53:41.731843 WARNING pv_opt: maximum_dod_percent = number.solis1_battery_minimum_soc number.solis1_battery_minimum_soc: system default. Not in YAML. 2024-02-23 14:53:41.736054 WARNING pv_opt: id_battery_soc = sensor.solis1_battery_soc sensor.solis1_battery_soc: system default. Not in YAML. 2024-02-23 14:53:41.740709 WARNING pv_opt: id_consumption_today = sensor.solis1_house_load_today sensor.solis1_house_load_today: system default. Not in YAML. 2024-02-23 14:53:41.745771 WARNING pv_opt: id_grid_import_today = sensor.solis1_grid_import_today sensor.solis1_grid_import_today: system default. Not in YAML. 2024-02-23 14:53:41.750437 WARNING pv_opt: id_grid_export_today = sensor.solis1_grid_export_today sensor.solis1_grid_export_today: system default. Not in YAML. 2024-02-23 14:53:41.754846 WARNING pv_opt: id_battery_charge_power = sensor.solis1_battery_input_energy sensor.solis1_battery_input_energy: system default. Not in YAML. 2024-02-23 14:53:41.758915 WARNING pv_opt: id_inverter_ac_power = sensor.solis1_active_power sensor.solis1_active_power: system default. Not in YAML. 2024-02-23 14:53:41.762118 WARNING pv_opt: supports_hold_soc = True True: system default. Not in YAML. 2024-02-23 14:53:41.765708 WARNING pv_opt: update_cycle_seconds = 15 15: system default. Not in YAML. 2024-02-23 14:53:41.773693 WARNING pv_opt: battery_voltage = sensor.solis1_battery_voltage sensor.solis1_battery_voltage: system default. Not in YAML. 2024-02-23 14:53:41.779811 WARNING pv_opt: id_timed_charge_start_hours = number.solis1_timed_charge_start_hours number.solis1_timed_charge_start_hours: system default. Not in YAML. 2024-02-23 14:53:41.784769 WARNING pv_opt: id_timed_charge_start_minutes = number.solis1_timed_charge_start_minutes number.solis1_timed_charge_start_minutes: system default. Not in YAML. 2024-02-23 14:53:41.789405 WARNING pv_opt: id_timed_charge_end_hours = number.solis1_timed_charge_end_hours number.solis1_timed_charge_end_hours: system default. Not in YAML. 2024-02-23 14:53:41.794004 WARNING pv_opt: id_timed_charge_end_minutes = number.solis1_timed_charge_end_minutes number.solis1_timed_charge_end_minutes: system default. Not in YAML. 2024-02-23 14:53:41.798708 WARNING pv_opt: id_timed_charge_current = number.solis1_timed_charge_current number.solis1_timed_charge_current: system default. Not in YAML. 2024-02-23 14:53:41.804907 WARNING pv_opt: id_timed_discharge_start_hours = number.solis1_timed_discharge_start_hours number.solis1_timed_discharge_start_hours: system default. Not in YAML. 2024-02-23 14:53:41.810698 WARNING pv_opt: id_timed_discharge_start_minutes = number.solis1_timed_discharge_start_minutes number.solis1_timed_discharge_start_minutes: system default. Not in YAML. 2024-02-23 14:53:41.820447 WARNING pv_opt: id_timed_discharge_end_hours = number.solis1_timed_discharge_end_hours number.solis1_timed_discharge_end_hours: system default. Not in YAML. 2024-02-23 14:53:41.826137 WARNING pv_opt: id_timed_discharge_end_minutes = number.solis1_timed_discharge_end_minutes number.solis1_timed_discharge_end_minutes: system default. Not in YAML. 2024-02-23 14:53:41.839597 WARNING pv_opt: id_timed_discharge_current = number.solis1_timed_discharge_current number.solis1_timed_discharge_current: system default. Not in YAML. 2024-02-23 14:53:41.844905 WARNING pv_opt: id_timed_charge_discharge_button = button.solis1_update_charge_discharge_times button.solis1_update_charge_discharge_times: system default. Not in YAML. 2024-02-23 14:53:41.849886 WARNING pv_opt: id_inverter_mode = select.solis1_energy_storage_control_switch select.solis1_energy_storage_control_switch: system default. Not in YAML. 2024-02-23 14:53:41.865562 WARNING pv_opt: id_backup_mode_soc = number.solis1_backup_mode_soc number.solis1_backup_mode_soc: system default. Not in YAML. 2024-02-23 14:53:41.870436 INFO pv_opt: 2024-02-23 14:53:41.878128 INFO pv_opt: - Creating HA Entity switch.pvopt_forced_charge for forced_charge using MQTT Discovery 2024-02-23 14:53:41.879038 WARNING pv_opt: ------------------------------------------------------------ 2024-02-23 14:53:41.879749 WARNING pv_opt: Unexpected error running initialize() for pv_opt 2024-02-23 14:53:41.880300 WARNING pv_opt: ------------------------------------------------------------ 2024-02-23 14:53:41.883338 WARNING pv_opt: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app await utils.run_in_executor(self, init) File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor response = future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/homeassistant/appdaemon/apps/pv_opt/pv_opt.py", line 328, in initialize self._load_args() File "/homeassistant/appdaemon/apps/pv_opt/pv_opt.py", line 1121, in _load_args self._expose_configs(over_write) File "/homeassistant/appdaemon/apps/pv_opt/pv_opt.py", line 1182, in _expose_configs self.mqtt.mqtt_publish(conf_topic, dumps(conf), retain=True) ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'mqtt_publish'

2024-02-23 14:53:41.884794 WARNING pv_opt: ------------------------------------------------------------ 2024-02-23 14:53:45.129136 INFO AppDaemon: New client Admin Client connected

fboundy commented 8 months ago

It looks like this is a problem with the MQTT setup during AppDaemon configuration.

2024-02-23 14:53:41.522698 ERROR pv_opt: User defined log pv_opt_log not found
2024-02-23 14:53:41.523876 WARNING AppDaemon: Unknown Plugin Configuration in get_plugin_api()

self.mqtt.mqtt_publish(conf_topic, dumps(conf), retain=True)

Can I suggest you check that your appdaemon.yaml file looks like the one specified in section 11 of the README?

fboundy commented 8 months ago

Also note that 3.9.0 is now out which shouldn't impact of the issues either of you have had but improves some of the tariff checks vs the Octopus integration

davidcornwell1969 commented 8 months ago

Thanks for the above, I was having difficulting getting the log file not to issue an error even though I thought its should have created in the SAMBA share error. Will go and try to get this working. I did dump some more debug out for the parameters passed to the self.mqtt.mqtt_publish call (hope you don't mind me changing your code? on my local copy) This is what gets passed into to the method call, 2024-02-23 18:17:59.284712 INFO pv_opt: - DC about to make call mqtt_publish conf-> homeassistant/switch/pvopt_forced_charge/config dumps(conf) value is {"state_topic": "homeassistant/switch/pvopt_forced_charge/state", "command_topic": "homeassistant/switch/pvopt_forced_charge/set", "name": "Pvopt Forced Charge", "optimistic": true, "object_id": "pvopt_forced_charge", "unique_id": "pvopt_forced_charge", "payload_on": "ON", "payload_off": "OFF", "state_on": "ON", "state_off": "OFF"}

But will take your suggestion and try and gett appdaemon matching yours exactly. Thanks again David

fboundy commented 8 months ago

The first warning is when the initialize method tries to load the MQTT plugin with self.mqtt = self.get_plugin_api("MQTT") so that suggests to me that there is something wrong with this section of appdaemon.yaml:

  appdaemon:
      MQTT:
        type: mqtt
        namespace: mqtt #
        verbose: True
        client_host: core-mosquitto
        client_port: 1883
        client_id: localad
        event_name: MQTT_MESSAGE 
        client_topics: NONE
        client_user: !secret mqtt-user
        client_password: !secret mqtt-password

You should then get something like this when AppDaemon starts up:

    13:16:24 INFO AppDaemon: AppDaemon Version 4.4.2 starting
    13:16:24 INFO AppDaemon: Python version is 3.11.6
    13:16:24 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
    13:16:24 INFO AppDaemon: Added log: AppDaemon
    13:16:24 INFO AppDaemon: Added log: Error
    13:16:24 INFO AppDaemon: Added log: Access
    13:16:24 INFO AppDaemon: Added log: Diag
    13:16:24 INFO AppDaemon: Added log: PV_Opt
    13:16:25 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
    13:16:25 INFO HASS: HASS Plugin Initializing
    13:16:25 WARNING HASS: ha_url not found in HASS configuration - module not initialized
    13:16:25 INFO HASS: HASS Plugin initialization complete
    13:16:25 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
    13:16:26 INFO MQTT: MQTT Plugin Initializing
    13:16:26 INFO MQTT: Using 'localad/status' as Will Topic
    13:16:26 INFO MQTT: Using 'localad/status' as Birth Topic
davidcornwell1969 commented 8 months ago

Thank you so much Francis, I think I had tabs rather than spaces to indent appdaemon.yaml. @pepetheprawn Wonder if you maybe have the same issue? Happy to help in any way I can?

Thanks again Francis for all your hard work.

pepetheprawn commented 8 months ago

Great to hear that you've got yours working @davidcornwell1969 . That appdaemon.yaml I literally copied/pasted from the readme, and I used the file editor within HA that gives you the green tick if the formatting is correct: image and the in secrets.yaml I have: image

I don't see anything obviously wrong, but if you guys spot something or have any suggestions I'd be happy to receive them!

Thanks again for all your hard work.

-Gordon

pepetheprawn commented 8 months ago

I've just sanity checked my mqtt setup with this handy tool (https://mqtt-explorer.com/) and the mqtt side of things seems to be behaving as I'd expect:

image so it does seem to be related to the integration between mqtt and pv_opt, but I can't see what's wrong!

-Gordon

fboundy commented 8 months ago

@pepetheprawn - I've not seen any evidence your issues are MQTT related. When you get a chance send me the latest logs that you have and I'll have another look

@davidcornwell1969 - if the MQTT is fixed now you should be getting a bit further so please also send me log files when you get a chance

davidcornwell1969 commented 8 months ago

Francis, seems to get a lot further now, loading tarrifs. I get an error further into the code now hopefully not my bad config. pv_opt_error.txt.txt Thx again

fboundy commented 8 months ago

Do you have an export tariff? It looks like you don’t and I need to allow for this. Should be a quick fix. On 24 Feb 2024 at 07:31 +0000, davidcornwell1969 @.***>, wrote:

Francis, seems to get a lot further now, loading tarrifs. I get an error further into the code now hopefully not my bad config. pv_opt_error.txt.txt Thx again — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

davidcornwell1969 commented 8 months ago

No export tariff (currently), harder to get for a self install ! :)

fboundy commented 8 months ago

Ok - should get an update to correct for this later today On 24 Feb 2024 at 08:03 +0000, davidcornwell1969 @.***>, wrote:

No export tariff (currently), harder to get for a self install ! :) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

davidcornwell1969 commented 8 months ago

Whenever it comes, greatly appreciated. :)

fboundy commented 8 months ago

Try 3.9.2 - works ok with mine when i explicity say no export tariff. Hopefully should play noce with Octopus Auto but let me know.

davidcornwell1969 commented 8 months ago

Really sorry, I think the error is the same as before. Could you guide me as to where in config I can explicitly say no export tariff. I could try that for now and then comment out when I retest a fix? pv_opt_error.txt.txt Thanks Dave :)

fboundy commented 8 months ago

Hi Dave

Can you send the "pv_opt.log" file as well please so I can see what it has done successfully?

You shouldn't need to specify no export with this version.

Thanks, Francis


From: davidcornwell1969 @.> Sent: 24 February 2024 10:13 To: fboundy/pv_opt @.> Cc: fboundy @.>; Comment @.> Subject: Re: [fboundy/pv_opt] sensor.pv_opt* failing to start (Issue #131)

Really sorry, I think the error is the same as before. Could you guide me as to where in config I can explicitly say no export tariff. I could try that for now and then comment out when I retest a fix? pv_opt_error.txt.txthttps://github.com/fboundy/pv_opt/files/14392462/pv_opt_error.txt.txt Thanks Dave :)

— Reply to this email directly, view it on GitHubhttps://github.com/fboundy/pv_opt/issues/131#issuecomment-1962319005, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHJ7PL5QJXCLNBHPENVZDLYVG4MZAVCNFSM6AAAAABDRN6UFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGMYTSMBQGU. You are receiving this because you commented.Message ID: @.***>

davidcornwell1969 commented 8 months ago

Hey Francis, was pulling my hair out last week, trying to get to the log files if they are indeed being generated. Did a fair bit of googling and thought they should get created in my Samba share/logs folder but nothing in their. Will google some more and send once I have them. I shouldn't have to create the file manually right? Thanks

Dave

fboundy commented 8 months ago

No - if you've set up the share correctly and put it in the appdaemon.yaml file it should be there. You do have to restart AppDaemon addon IIRC. If you have the File editor Add On you can check the samba shared folder is there so long as "Enforce Basepath" is turned OFF in the Configuration for it:

image

image

pepetheprawn commented 8 months ago

Exciting news from the Plymouth office (and it's not about an unexploded WW2 bomb)! I do believe that it's now working! I just upgraded to 3.9.2 and the dashboard all looks great:

image AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt Latest log files attached for your review just to check that everything looks good from your perspective as well.

Thanks so much for all your hard work @fboundy, This really is an amazing bit of software.

-Gordon

fboundy commented 8 months ago

If I’d known I was dealing with a Janner… Exeter boy (originally) here…

I’ll have a look at the logs etc tomorrow. Glad it seems to be working. On 24 Feb 2024 at 16:01 +0000, Pepe The Prawn @.***>, wrote:

Exciting news from the Plymouth office (and it's not about an unexploded WW2 bomb)! I do believe that it's now working! I just upgraded to 3.9.2 and the dashboard all looks great: image.png (view on web) AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt Latest log files attached for your review just to check that everything looks good from your perspective as well. Thanks so much for all your hard work @fboundy, This really is an amazing bit of software. -Gordon — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

fboundy commented 8 months ago

It looks like you don't have any load history yet so you may be best switching to using a fixed estimate of consumption till you have some history data. Otherwise it looks fine to me. I'll close this issue now.

pepetheprawn commented 8 months ago

If I’d known I was dealing with a Janner… Exeter boy (originally) here… I’ll have a look at the logs etc tomorrow. Glad it seems to be working. On 24 Feb 2024 at 16:01 +0000, Pepe The Prawn @.>, wrote: Exciting news from the Plymouth office (and it's not about an unexploded WW2 bomb)! I do believe that it's now working! I just upgraded to 3.9.2 and the dashboard all looks great: image.png (view on web) AppDaemon_error_log.txt AppDaemon_pv_opt_log.txt Latest log files attached for your review just to check that everything looks good from your perspective as well. Thanks so much for all your hard work @fboundy, This really is an amazing bit of software. -Gordon — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

I wasn't born here so I'm not a true janner! Thanks for taking a look at the logs and confirming all ok. This is running on a HA green appliance that I'm going to ship off to a friend, so I'll get them to run it 'read only' for a week or so to collect load history, and then they can kick it into production.

Thanks again for all your hard work with this, it's massively appreciated.

-Gordon