HA Noob here, what file is this? Any pointer is appreciated.
Is there any option to bring the data (battery and input) to the Energy Dashboard ? So i integrate the battery?
You need to create integral sensors from the power sensors to have Energy. Only energy sensors can be added to energy dashboard
Hi Florian.
I tryed to install the AddOn with your Link but it donât work.
Can you give me some Support how to install it correctly to HA, please?
Good Morning,
at the moment and with the version 1.4.7 in HA there seems to be a bug, because I cannot start the plugin anylonger.
I opened an GitHub issue.
Same here. The Log says:
env: can't execute 'bash': No such file or directory
And broken again
I make progress with the Integration. Hope to have it finished by mid March. This should be more stable than the add on and easier to use
But the version before runs? After the update⌠nothing
there is a new version available, which fixes the issue. in my HA instance, its announced with 1.5.22
Yes, i can confirm this.
Add On is running. Can someone check the log if this is correct?
yaml code was copied from @olivr2s but i have âunknownâ points. Can someone check the .yaml code, please? Or share a new yaml code?
mqtt:
sensor:
# Solix E1600_1
- name: "Ausgangsleistung_Solix_1"
state_topic: "solix/site/Solix1/scenInfo"
value_template: "{{ value_json.solarbank_info.total_output_power }}"
unit_of_measurement: "W"
unique_id: "ausgangsleistung_solix_1"
icon: "mdi:lightning-bolt"
device_class: "power"
state_class: "measurement"
- name: "Eingangsleistung_Solix_1"
state_topic: "solix/site/Solix1/scenInfo"
value_template: "{{ value_json.solarbank_info.total_photovoltaic_power | float }}"
unit_of_measurement: "W"
unique_id: "eingangsleistung_solix_1"
icon: "mdi:lightning-bolt"
device_class: "power"
state_class: "measurement"
- name: "Ladeleistung_Solix_1"
state_topic: "solix/site/Solix1/scenInfo"
value_template: "{{ value_json.solarbank_info.total_charging_power | float }}"
unit_of_measurement: "W"
unique_id: "ladeleistung_solix_1"
icon: "mdi:lightning-bolt"
device_class: "power"
state_class: "measurement"
- name: "Batteriekapazitaet_Solix_1"
state_topic: "solix/site/Solix1/scenInfo"
value_template: "{{ value_json.solarbank_info.total_battery_power | float * 100 }}"
unit_of_measurement: "%"
unique_id: "batteriekapazitaet_solix_1"
icon: "mdi:car-battery"
device_class: "power_factor"
state_class: "measurement"
- name: "Status_Charge_Solix_1"
state_topic: "solix/site/Solix1/scenInfo"
value_template: "{{ value_json.solarbank_info.solarbank_list.0.charging_status }}"
unique_id: "status_charge_solix_1"
- name: "Energie_Solix_1"
state_topic: "solix/site/Solix1/scenInfo"
value_template: "{{ value_json.statistics[0].total | float }}"
unit_of_measurement: "kWh"
unique_id: "energie_solix_1"
device_class: "energy"
state_class: "total_increasing"
icon: "mdi:transmission-tower-import"
- name: "Ausgansleistungsparameter_Solix_1"
state_topic: "solix/site/Solix1/scenInfo"
value_template: "{{ value_json.retain_load }}"
unique_id: "ausgansleistungsparameter_solix_1"
# Solix E1600_2
- name: "Ausgangsleistung_Solix_2"
state_topic: "solix/site/Solix2/scenInfo"
value_template: "{{ value_json.solarbank_info.total_output_power }}"
unit_of_measurement: "W"
unique_id: "ausgangsleistung_solix_2"
icon: "mdi:lightning-bolt"
device_class: "power"
state_class: "measurement"
- name: "Eingangsleistung_Solix_2"
state_topic: "solix/site/Solix2/scenInfo"
value_template: "{{ value_json.solarbank_info.total_photovoltaic_power | float }}"
unit_of_measurement: "W"
unique_id: "eingangsleistung_solix_2"
icon: "mdi:lightning-bolt"
device_class: "power"
state_class: "measurement"
- name: "Ladeleistung_Solix_2"
state_topic: "solix/site/Solix2/scenInfo"
value_template: "{{ value_json.solarbank_info.total_charging_power | float }}"
unit_of_measurement: "W"
unique_id: "ladeleistung_solix_2"
icon: "mdi:lightning-bolt"
device_class: "power"
state_class: "measurement"
- name: "Batteriekapazitaet_Solix_2"
state_topic: "solix/site/Solix2/scenInfo"
value_template: "{{ value_json.solarbank_info.total_battery_power | float * 100 }}"
unit_of_measurement: "%"
unique_id: "batteriekapazitaet_Solix_2"
icon: "mdi:car-battery"
device_class: "power_factor"
state_class: "measurement"
- name: "Status_Charge_Solix_2"
state_topic: "solix/site/Solix2/scenInfo"
value_template: "{{ value_json.solarbank_info.solarbank_list.0.charging_status }}"
unique_id: "status_charge_solix_2"-
- name: "Energie_Solix_2"
state_topic: "solix/site/Solix2/scenInfo"
value_template: "{{ value_json.statistics[0].total | float }}"
unit_of_measurement: "kWh"
unique_id: "energie_solix_2"
device_class: "energy"
state_class: "total_increasing"
icon: "mdi:transmission-tower-import"
- name: "Ausgansleistungsparameter_Solix_2"`Preformatted text`
state_topic: "solix/site/Solix2/scenInfo"
value_template: "{{ value_json.retain_load }}"
unique_id: "ausgansleistungsparameter_solix_2"
yaml code
I guess that you should not need any longer the yaml code, as the integration announces the entities for you. at least I donât need the yaml code any longer since some releases.
in your logs I see that the entities are announced as anker/solix/GMS1/
in the yaml code you announce them as solix/site/Solix1/. (which is then most probably wrong)
the integration queries the âSolar systemâ name from the Anker cloud, which is most probably âGMS1â in your case (check you app and the name you gave for the Solar System)
you could try to search in HomeAssistant for the other entities, they should have valuesâŚ
@TheNotoriousFlow
Thank you very much. Now it works without yaml.
All Infos are the addition of my two E1600. After 30 minutes online the picture goes offline. After restart the AddOn all Infos are available again.
Thank you on the developers, too.
I think there is a problem in the add-on. In the configuration I put in topic âAnkerSolixâ
When I look in MQTT Explorer, I have in my broker 2 published sources:
AnkerSolix
In this topic, I have my 2 batteries which go back and I recover them in HA with my yaml file for the mqtt sensors.
.
.
.
homeassistant/sensor/solarbank_e1600
In this topic, I do not have my 2 batteries going back and we can see in the information that the topic which is detailed does not correspond to the configuration of the add-on.
I just updated to V1.6.5 and I still have problems with the entities createdâŚ
In the add-on log, there is information for creating sensors for the 2 batteries. Solix1 and Solix2. Itâs OK.
But in the entities created, there is only one battery and above all the name of the sensor is for Solix1 and the ID of the sensor for Solix2âŚ
is it possible to integrate the âphotovoltaic powerâ and the battery in the energy dashboard? so that âstupid people like meâ can use them? i caht get it⌠and chatgpt also not⌠i cant get any sensor show up in the âsolar sectionâ
so for âPhotovoltaic Power (solar production)â , âCharging power (battery in)â , and âpower from batteryâ
Questions to people monitoring already via the Api:
- Have you ever seen Solarbank charging status 0, 5 or 6 in your history and an idea what they could mean? At least 5 and 6 should exist, since 7 is used for standby mode.
- Do you also observe that charging power values from scene info is always 0 for each solarbank? Only the total solarbank charging value seems to be tracked, but no individual charging Power when 2 banks are in a system.
Hi,
1-> I canât say why, but indeed the states 0-5-6 have never been returned until now.
2-> I have 2 batteries and for the charging power of each battery, you have to retrieve âinfo.total_charging_powerâ
Hi, how does it look now with a 2 account ?
Can I use an invited user via HA so that I can monitor the entities in the Energy Dashboard?
I would like to set this via the app.
But when I enter the invited user in the add-on, he sees the entities but then stops all processes after a short time.
What am I doing wrong here?
edit:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
ANKER API ERROR: (100053) Please try again in 24 hours.
Response Text: {âcodeâ:100053,âmsgâ:âPlease try again in 24 hours.â,âtrace_idâ:âf006e815f21a0cb94afb4c631e8ca4f8â}
<class âapi.errors.RetryExceededâ>: (100053) Please try again in 24 hours.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
nothing works for now
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Battery Levelâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ ( value_json.solarbank_info.total_battery_power | float ) * 100 }}â, âunique_idâ: âsolarbank_e1600_BKW_battery_levelâ, âdevice_classâ: âbatteryâ, âunit_of_measurementâ: â%â}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Photovoltaic Powerâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.solarbank_info.total_photovoltaic_power | float }}â, âunique_idâ: âsolarbank_e1600_BKW_photovoltaic_powerâ, âdevice_classâ: âpowerâ, âunit_of_measurementâ: âWâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Photovoltaic Yieldâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.statistics[0].total | float }}â, âunique_idâ: âsolarbank_e1600_BKW_photovoltaic_yieldâ, âdevice_classâ: âenergyâ, âunit_of_measurementâ: âkWhâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Output Powerâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.solarbank_info.total_output_power | float }}â, âunique_idâ: âsolarbank_e1600_BKW_output_powerâ, âdevice_classâ: âpowerâ, âunit_of_measurementâ: âWâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Charging Powerâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.solarbank_info.total_charging_power | float }}â, âunique_idâ: âsolarbank_e1600_BKW_charging_powerâ, âdevice_classâ: âpowerâ, âunit_of_measurementâ: âWâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Last Updateâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.solarbank_info.updated_time }}â, âunique_idâ: âsolarbank_e1600_BKW_last_updateâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Charging Statusâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.solarbank_info.solarbank_list[0].charging_status }}â, âunique_idâ: âsolarbank_e1600_BKW_charging_statusâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW CO2 Savingsâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.statistics[1].total }}â, âunique_idâ: âsolarbank_e1600_BKW_co2_savingsâ, âdevice_classâ: âweightâ, âunit_of_measurementâ: âkgâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Saved Costsâ, âstate_topicâ: âanker/solix/BKW/scene_infoâ, âvalue_templateâ: â{{ value_json.statistics[3].total }}â, âunique_idâ: âsolarbank_e1600_BKW_saved_costsâ, âdevice_classâ: âmonetaryâ, âunit_of_measurementâ: âEURâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Scheduleâ, âstate_topicâ: âanker/solix/BKW/scheduleâ, âvalue_templateâ: â{{value_json.ranges|length}}â, âunique_idâ: âsolarbank_e1600_BKW_scheduleâ, âjson_attributes_topicâ: âanker/solix/BKW/scheduleâ}
Announcing sensor: {ânameâ: âSolarbank E1600 BKW Site Homepageâ, âstate_topicâ: âanker/solix/BKWâ, âvalue_templateâ: â{{value_json.friendly_name}}â, âunique_idâ: âsolarbank_e1600_BKW_site_homepageâ, âjson_attributes_topicâ: âanker/solix/BKWâ}
Connected to MQTT Broker!
Site Homepage: {âsite_listâ: , âsolar_listâ: , âpps_listâ: , âsolarbank_listâ: , âpowerpanel_listâ: }
Scene Info: {âhome_infoâ: {âhome_nameâ: âHomeâ, âhome_imgâ: ââ, âcharging_powerâ: â0.00â, âpower_unitâ: âWâ}, âsolar_listâ: [{âdevice_snâ: âE07100006529â, âdevice_nameâ: âMI80 Microinverter(BLE)â, âdevice_imgâ: âhttps://public-aiot-fra-prod.s3.dualstack.eu-central-1.amazonaws.com/anker-power/public/product/anker-power/0f8e0ca7-dda9-4e70-940d-fe08e1fc89ea/picl_A5143_normal.pngâ, âbind_site_statusâ: ââ, âgenerate_powerâ: â0.00â, âpower_unitâ: âWâ, âstatusâ: â1â, âwireless_typeâ: â2â, âdevice_pnâ: âA5143â, âmain_versionâ: ââ}], âpps_infoâ: {âpps_listâ: , âtotal_charging_powerâ: â0.00â, âpower_unitâ: âWâ, âtotal_battery_powerâ: â0.00â, âupdated_timeâ: ââ, âpps_statusâ: 0}, âstatisticsâ: [{âtypeâ: â1â, âtotalâ: â20.95â, âunitâ: âkwhâ}, {âtypeâ: â2â, âtotalâ: â20.89â, âunitâ: âkgâ}, {âtypeâ: â3â, âtotalâ: â7.12â, âunitâ: â\u20acâ}], âtopology_typeâ: â1â, âsolarbank_infoâ: {âsolarbank_listâ: [{âdevice_pnâ: âA17C0â, âdevice_snâ: âAZV6Y60D33400397â, âdevice_nameâ: âSolarbankâ, âdevice_imgâ: âhttps://public-aiot-fra-prod.s3.dualstack.eu-central-1.amazonaws.com/anker-power/public/product/anker-power/e9478c2d-e665-4d84-95d7-dd4844f82055/20230719-144818.pngâ, âbattery_powerâ: â54â, âbind_site_statusâ: ââ, âcharging_powerâ: â0â, âpower_unitâ: âWâ, âcharging_statusâ: â3â, âstatusâ: â1â, âwireless_typeâ: â1â, âmain_versionâ: ââ, âphotovoltaic_powerâ: â178â, âoutput_powerâ: â0â, âcreate_timeâ: 1707560832, âset_load_powerâ: ââ}], âtotal_charging_powerâ: â178â, âpower_unitâ: âWâ, âcharging_statusâ: â0â, âtotal_battery_powerâ: â0.54â, âupdated_timeâ: â2024-02-24 10:01:14â, âtotal_photovoltaic_powerâ: â178â, âtotal_output_powerâ: â0.00â, âdisplay_set_powerâ: false}, âretain_loadâ: â0Wâ, âupdated_timeâ: â01-01-0001 00:00:00â, âpower_site_typeâ: 2, âsite_idâ: â652af077-0f38-4daa-bb5b-3c8f78a6f011â, âpowerpanel_listâ: }
ANKER API ERROR: (10000) Failed to request.
Response Text: {âcodeâ:10000,âmsgâ:âFailed to request.â,âtrace_idâ:âf0168d0c7521deeb7a5eba69a152f3d2â}
<class âapi.errors.RequestErrorâ>: (10000) Failed to request.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped