Open Besserso opened 8 months ago
How can you add them by hand? Do you mean adding an entity in home assistant? How can I do this?
Because I am facing the same problem while setting up TeslaSolarCharger. After looking into the devices, I figured out that I need to add up those values to get my total inverter power:
Input A = sensor.rct_power_storage_generator_a_power
Input B = sensor.rct_power_storage_generator_b_power
But I am missing the power for G, where we connected an external Solis with 9 PV modules facing east and 9 PV modules facing west. I guess I need the power of the S0 to get this value.
It must be this one in https://rctclient.readthedocs.io/en/latest/inverter_registry.html#battery:
So how exactly do you add entities by hand @Besserso ?
Also would like this sensor. I tried to add this by myself and the sensor code from @Besserso works fine. Only add this to the entities.py @peterge1998 and restart HA. @weltenwort Im not working with github, so would be fine you add this few lines, or someone else.
Hello @sgtdonny your hint solved exactly my problem. You on this #399
I would also need the values grid Current P1 to P3 to export to evcc. Have you implemented that too? Or are you putting together the passage for yaml?
Thank you!
update: I tried to create the sensor. But it doesn't provide any values...
),
RctPowerSensorEntityDescription(
get_device_info=get_inverter_device_info,
key="g_sync.i_dr_eff[0]",
name="Grid Current phase 1",
update_priority=EntityUpdatePriority.FREQUENT,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement="A",
),
Hello @1977michael ,
the sensor for the s0 is there after inserting the code to the entities.py. Go to the file on your rct addon with editor or smb addon oder visualcodestudio. You don't have to create the sensor or any template after inserting. P1 to P3 are already implemented.
I use this entity alone on my dashboard and with a helper for the summary of the production (3 sources).
Cheers
Hello @sgtdonny ,
thank you very much for your message. I was able to create the external energy sensor thanks to the information above.
Regarding the three phases, I don't mean power and voltage; I have that too. I wanted to retrieve the Current values in the Grid area.
In the meantime, I have solved it differently: I use EVCC to retrieve the values from the inverter and export them to Home Assistant. I solved the rest with helpers.
Is your feature request related to a problem? Please describe. I have connected an external S0 counter with to my rct device. Each update i am still missing this entity and i need to add them by hand. it would be helpfull if you add these entitie into the project
Describe the solution you'd like If you add these device: RctPowerSensorEntityDescription( get_device_info=get_inverter_device_info, key="io_board.s0_external_power", name="Ext Power", state_class=SensorStateClass.MEASUREMENT, native_unit_of_measurement="W", ), An additional Sensor will created and show the Actual reading of the S0 reader in W
Describe alternatives you've considered no idear, i have to add them in future as well
Additional context Great Work.