Still nothing closer. What I tried
Start over again and again and this is the last info I can give
Concerning the API.
Followed the instructions as mentioned by Scully
Collect Inverter data from Solarman API - Share your Projects! - Home Assistant Community (home-assistant.io)
I get the impression that I don’t get all values that I should get. This is the output that I get for step 4 (and 5). So My API and all the rest is working for the moment.
{
"code": null,
"msg": null,
"success": true,
"requestId": "HIDDEN",
"deviceSn": "HIDDEN",
"deviceId": HIDDEN,
"deviceType": "COLLECTOR",
"deviceState": 1,
"dataList": [{
"key": "SN1",
"value": "HIDDEN",
"unit": null,
"name": "Embedded Device SN"
}, {
"key": "MDUv1",
"value": "ME_08_2701_2.06",
"unit": null,
"name": "Module Version No"
}, {
"key": "WORK_TIM1",
"value": "1",
"unit": "s",
"name": "Total running time"
}, {
"key": "OFFSET_TIM1",
"value": "1669772876",
"unit": "s",
"name": "Offset time"
}, {
"key": "SEND_PERIOD1",
"value": "5",
"unit": "Min",
"name": "Data Uploading Period"
}, {
"key": "COLLECT_PERIOD1",
"value": "60",
"unit": "s",
"name": "Data Acquisition Period"
}, {
"key": "max_conn_n1",
"value": "2",
"unit": null,
"name": "Max. No. of Connected Devices"
}, {
"key": "SGits1",
"value": "0",
"unit": null,
"name": "Signal Strength"
}, {
"key": "HEA_F1",
"value": "120",
"unit": "s",
"name": "Heart Rate"
}]
}
I do not get the info for my battery or what Scully mentioned, “the Cumulative Production kWh”. I do not have these sensors here so normal that I can get them in HA. I presume I need to get in touch with Solarman support ofr this. Or am I missing something and just being stupid
Concerning the direct connection. (the system is connected through a LAN cable!)
StephanJoubert/home_assistant_solarman: Home Assistant component for Solarman collectors used with a variety of inverters. (github.com)
Started again and removed the integration, removed the HACS download. rebooted HA, added the HACS again, added the integration, rebooted.
The config of the integration (even added it as a double in the config.yaml afterwards to also try it that way, no difference in the behavior)
sensor:
- platform: solarman
name: SOFAR
inverter_host: 192.168.1.157
inverter_port: 8899
inverter_serial: 2104559628
scan_interval: 30
lookup_file: sofar_lsw3.yaml
Screenshot of the integration
Screenshot of the direct connection to the dataloger
And HA does not want to connect (Not even talking of the sensors. It first needs to connect)
I really don’t know what to do more to get this working. First step is in getting it to connect.
There is no Firewall, no vlan stuff. HA can communicate with all the rest of my devices over IP.
I’m more and more convinced that it has something to do with the inverter (Called Collector in the JSON!) and how it is configured. Not with the integrations or API instructions. Weird thing is that I do see the typical data on the Solarman app and website.