Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huawei - DEV - Update of example yaml and readme #281

Merged
merged 19 commits into from
Feb 27, 2024

Conversation

Roving-Ronin
Copy link
Contributor

Description

Numerous changes including bug fix, and trying to align sensor naming formats, whilst making configuration easier.

Related issues

Motivation and Context

Bug fix and improvements

How has this been tested

Tested on 2 L1 and M1 inverter sites.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have updated the version in package.json following semver

Error in formula for house_consumption_power_less_aux_non_essential, removed battery from equation.
Error in equation for house_consumption_power, removed battery from equation.
Add round(2) to house_consumption_power_less_aux_non_essential to stop long number of decimals.
Added rounding(2) to house_consumption_power_less_aux_non_essential to stop high number of decimal place output.

Re-ordered first 2 sensors in file.
Updated all_gpo_active_power_less_known to gpo_all_active_power_less_known for following naming format
Updated to reflect Lights All and GPO All sensor names
Added sunsynk_power_flow_aux_connected_status that queries the sensor group sensor.sunsynk_power_flow_aux_active_power and if the ouput of that sensor is >0 (showing power being used) it then outputs 'on', else 'off'.
Updated aux_connected_status:  to use new binary_sensor.sunsynk_power_flow_aux_connected_status added to sunsynk_power_flow_card_derived_sensors.yaml
removed 'devices' from sensor.sunsynk_power_flow_card_aux_devices_energy_daily name
Added a Max(0) to house_consumption_power_less_aux_non_essential as occassionally this sensor reports negative values, due to waiting for other sensors to update.
REM'ed out the energy_meter for HVAC example. This is optional and if people want they can remove the #'s and update the source sensors to their HVAC Active Power sensor.
Typo - aligned two lines right 1 space
Saving for safety, as need to take a break.
ReST formatting correction
Change shade of battery colour, was too close to grid import.
Switch to using the Huawei sensor for battery shutdown SoC, instead of needing to enter a figure into card yaml
@slipx06 slipx06 merged commit 2631b26 into slipx06:master Feb 27, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants