Closed matomatusov closed 11 months ago
Hi. The card can be used with any inverter if you are able to map the required sensors. What integration method are you using?
Hi, I am used integration method modbus RS485.
What is not working?
I have it working on Solax, be great if it worked by default to make it simpler. I can share my code if you like? I think I have created a couple of the sensors manually actually. But majority will be there as a starter.
type: custom:sunsynk-power-flow-card cardstyle: compact show_solar: true show_grid: true show_battery: true battery: energy: 17600 shutdown_soc: 11 show_daily: true invert_power: true max_power: 3750 auto_scale: false show_absolute: false hide_soc: false solar: show_daily: true mppts: 1 max_power: 7000 display_mode: 2 animation_speed: 9 dynamic_colour: false load: show_daily: true max_power: 15000 show_aux: false show_nonessential: true additional_loads: 2 load1_name: Water load2_name: EV load1_icon: mdi:thermometer-water load2_icon: mdi:ev-station animation_speed: 9 grid: show_daily_buy: true show_daily_sell: true show_nonessential: false animation_speed: 9 auto_scale: false export_colour:
Hi, I don't know why the inverter doesn't want to show me the correct status.
Hi, I don't know why the inverter doesn't want to show me the correct status.
Do you have example data of what that sensor returns? Will probably need a code addition for this, as well as the solax inverter image
There is a Run Mode with these options:
Normal Mode Idle Mode Checking
this sensor is returning:
If you know how to change the js
file without hacs, you can test the PR #179 to make sure everything was considered before the merge. It would include deleting the files in www/community/sunsynk-power-flow-card
and adding the dist/sunsynk-power-flow-card.js
into that folder
The statuses were grouped as follows:
solax: {
normal: {states: ['normal mode'], color: 'green', message: localize('common.normal')},
standby: {states: ['waiting', 'checking', 'idle mode', 'standby'], color: 'blue', message: localize('common.standby')},
selftest: {states: ['self test'], color: 'yellow', message: localize('common.selftest')},
offgrid: {states: ['off-grid waiting', 'off-grid', 'eps mode'], color: 'green', message: localize('common.offgrid')},
fault: {states: ['permanent fault mode', 'fault'], color: 'red', message: localize('common.fault')},
check: {states: ['checking', 'update mode', 'eps check mode'], color: 'orange', message: localize('common.check')},
}
And the image:
Hi, and where can the file be downloaded? dist/sunsynk-power-flow-card.js
Thanks
somehow the Solax doesn't appear there.
Be sure to remove the both the .js
and .js.gz
file from the folder, before adding the new js
, then you need to clear your browser cache, or, use incognito mode
I don't know where I'm doing wrong, but it doesn't appear there. Solax is in the file.
I don't know where I'm doing wrong, but it doesn't appear there. Solax is in the file.
If using chrome, open dev tools (F12), right click on the reload button, and click hard reload.
Sometimes Cntrl + Shift + R also works
This is probably just a cache issue.
Thanks @Pho3niX90 tested and everything looks good
@matomatusov once you have tested please check that the provided example is still correct.
https://slipx06.github.io/sunsynk-power-flow-card/examples/solax.html
Hi, slipx06
Wrong status is displayed. Inverter is status Idle.
HI. That is the correct mapping
The following states 'waiting', 'checking', 'idle mode', 'standby will all may to Standby.
solax: {
normal: {states: ['normal mode'], color: 'green', message: localize('common.normal')},
standby: {states: ['waiting', 'checking', 'idle mode', 'standby'], color: 'blue', message: localize('common.standby')},
selftest: {states: ['self test'], color: 'yellow', message: localize('common.selftest')},
offgrid: {states: ['off-grid waiting', 'off-grid', 'eps mode'], color: 'green', message: localize('common.offgrid')},
fault: {states: ['permanent fault mode', 'fault'], color: 'red', message: localize('common.fault')},
check: {states: ['checking', 'update mode', 'eps check mode'], color: 'orange', message: localize('common.check')},
}
Hi, I was not expecting that.
Thanks
Hi, could anyone share the function for calculating the sensor.powerflow_today_house_load for entity 84?
Hi, SolaX does not have this entity. It must be assembled from the following entities. today_import_energy + today_solar_energy + battery_output - today_export_energy - battery_input
Hi, could anyone share the function for calculating the sensor.powerflow_today_house_load for entity 84?
I set up a sensor for this. I reference this one in my Sunsynk Power Flow Card Configuration day_load_energy_84: sensor.powerflow_today_house_load
And that is created as a sensor as follows:
powerflow_today_house_load:
friendly_name: "powerflow_today_house_load"
unit_of_measurement: "kW"
value_template: "{{ (states('sensor.solax_today_s_import_energy')| float(0) / 1 + states('sensor.solax_today_s_solar_energy')| float(0) / 1 + states('sensor.solax_battery_output_energy_today') | float(0) / 1) - states('sensor.solax_battery_input_energy_today') | float(0) / 1 - states('sensor.solax_today_s_export_energy') | float(0) / 1 | round(1) }}"
Formatted like this:
Is there an existing issue for this?
Current Behavior
Hi, Add support for SolaX Power Inverter. Could it be added?
Thanks
Steps To Reproduce
No response
Expected behaviour
Add additional inverters
Card Version
4.5.1
Home Assistant Version
2023.12.2
Configuration
No response
Relevant log output
No response