Open neofral opened 2 weeks ago
@davidrapan , where can i send you an email with the files and explanation?
You can upload it right here. 😉 Just drag and drop the file in the textbox. 😉
old file not showing all correct data, especially the battery. thought was the wrong and asked new file... google sheets file: https://docs.google.com/spreadsheets/d/1hLhIKdW9gyouqYl-kxwpdWvRxji5lwPeI-_4htfawfA/edit?usp=sharing
new file, not working giving error loading device RS485_MODBUS(ESINV-33000ID) Hybrid Inverter.pdf
How does your yaml look like currently?
oh constantly working on it. trying the google sheets one. i will post a stable one as soon as i can
connection not stable. disconnecting after a while. how can i turn on the logger and where to find it?
this is a stable working file.
need help: with the double register values with parsing the state registers
disconnecting often after adding more sensors
here is part of the log:
2024-11-06 15:36:11.252 DEBUG (MainThread) [custom_components.solarman.api] [3514351914] Fetching failed. [Previous State: Disconnected (-1)] 2024-11-06 15:36:11.252 INFO (MainThread) [custom_components.solarman.api] [3514351914] Disconnecting from 10.10.100.254:8899 2024-11-06 15:36:11.256 DEBUG (MainThread) [custom_components.solarman.coordinator] async_shutdown 2024-11-06 15:36:11.256 INFO (MainThread) [custom_components.solarman.api] [3514351914] Disconnecting from 10.10.100.254:8899 2024-11-06 15:36:16.495 DEBUG (MainThread) [custom_components.solarman] async_setup_entry({'created_at': '2024-11-06T12:18:06.318019+00:00', 'data': {'name': 'Bluesun', 'inverter_serial': 3514351914, 'inverter_host': '10.10.100.254', 'inverter_port': 8899, 'inverter_mb_slave_id': 1, 'lookup_file': 'bluesun.yaml', 'battery_nominal_voltage': 48, 'battery_life_cycle_rating': 6000}, 'discovery_keys': {}, 'disabled_by': None, 'domain': 'solarman', 'entry_id': '01JC0PJ7BD713PPG8C0F4P4PCA', 'minor_version': 1, 'modified_at': '2024-11-06T12:18:06.318025+00:00', 'options': {'name': 'Bluesun', 'inverter_serial': 3514351914, 'inverter_host': '10.10.100.254', 'inverter_port': 8899, 'inverter_mb_slave_id': 1, 'lookup_file': 'bluesun.yaml', 'battery_nominal_voltage': 48, 'battery_life_cycle_rating': 6000}, 'pref_disable_new_entities': False, 'pref_disable_polling': False, 'source': 'user', 'title': 'Bluesun', 'unique_id': 'solarman_3514351914', 'version': 1}) 2024-11-06 15:36:16.496 DEBUG (MainThread) [custom_components.solarman.discovery] discover 2024-11-06 15:36:16.496 DEBUG (MainThread) [custom_components.solarman.discovery] _discover_all: Broadcasting on 10.10.100.254 2024-11-06 15:36:16.496 DEBUG (MainThread) [custom_components.solarman.discovery] _discover 2024-11-06 15:36:16.515 DEBUG (MainThread) [custom_components.solarman.discovery] _discover: [10.10.100.254, 402A8F4A4A76, 3514351914] 2024-11-06 15:36:16.544 DEBUG (MainThread) [custom_components.solarman.parser] Defaults for update_interval: 30, code: 3, min_span: 25, max_size: 125, digits: 6 2024-11-06 15:36:16.544 DEBUG (MainThread) [custom_components.solarman.api] {'connections': {('mac', '40:2a:8f:4a:4a:76')}, 'identifiers': {('solarman', 3514351914)}, 'serial_number': 3514351914, 'manufacturer': 'Solarman', 'model': 'Stick Logger', 'name': 'Bluesun'} 2024-11-06 15:36:16.544 DEBUG (MainThread) [custom_components.solarman] async_setup: coordinator.async_config_entry_first_refresh 2024-11-06 15:36:16.544 DEBUG (MainThread) [custom_components.solarman.api] [3514351914] Scheduling 2 query requests. #0 2024-11-06 15:36:16.544 DEBUG (MainThread) [custom_components.solarman.api] [3514351914] Querying 04 ~ 0530 - 0560 | 0x0212 - 0x0230 # 031 ... 2024-11-06 15:36:16.544 INFO (MainThread) [custom_components.solarman.api] [3514351914] Connecting to 10.10.100.254:8899 2024-11-06 15:36:16.547 DEBUG (MainThread) [custom_components.solarman.api] [3514351914] SENT: a5 17 00 10 45 75 00 2a c1 78 d1 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 04 02 12 00 1f 10 7f de 15
You cut it off (the log ends) just before it could reveal any information.
Edit: Rather upload it as a file. It's better.
Something really strange is going on here...
Is connection between HA and inverter at least somewhat semi-good? Because the connection timeouts very often.
i'm using mini-pc with HA operating system. using the wifi of the pc to connect to the wifi dongle AP.
they're right next to each other.
the wifi dongle is connecting to solarman platform via router that is about 4 meters away with signal quality 98%
maybe the query time of 30sec is too often, i'll try 60 sec and see what happens
maybe the query time of 30sec is too often, I'll try 60 sec and see what happens
No, that's not it.
i was also trying modbus board with esphome connected to another comm port of the inverter trying it out. i disconnected that device. since we got it working this way, i don't think i need that one. let's focus and keep the connection stable.
however, i have to mention that the inverter was also disonnecting from solarman platform. i do a restart of the dongle via the webpage and it's back on.
but i'm crazy how rare is the upload interval between inverter and the solarman webpage
however, i have to mention that the inverter was also disonnecting from solarman platform. i do a restart of the dongle via the webpage and it's back on.
but i'm crazy how rare is the upload interval between inverter and the solarman webpage
This really could indicate some problems with/on your network, imo..
why am not able to connect via the dongle's lan ip address and not use the dongl AP? anything settings that i've missed?
I really don't think you can turn web off so it looks like the stick is just unresponsive.
well what do you know. my mikrotik router had the upnp disabled by default. i presume the stick uses it to open ports and since it failed was behaving strangely.
just enabled upnp, reverted to 30sec update interval, and finally got connected through the lan ip address of the stick
well what do you know. my mikrotik router had the upnp disabled by default. i presume the stick uses it to open ports and since it failed was behaving strangely.
I don't think it should be like turning it on and off again repeatedly? But who knows... nothing surprises me anymore (after working on this integration)
just enabled upnp, reverted to 30sec update interval, and finally got connected through the lan ip address of the stick
Yeah it should handle even once a second updates. (5 seconds is the lowest possible w/ integrations though)
disconnected again. not a full hour working... any ideas? edit: definitely its an issue with the stick. just restarted it via the page and the sensors up and running immediately
Run it with enabled debug logging from the time of the restart of the stick until it stops working again. Maybe the transition will reveal something.
do you know why the sensors are not showing in groups?
do you know why the sensors are not showing in groups?
That's not their purpose. It's only for profile configuration. You can set update_interval
and code
for groups.
did a new setup with the wizard on the stick. disabled/hided the AP now no clients connecting on it. another issue i might have is that i have a lot of switches and sensors using esp8266 and esp32 devices . i have 4 access points and about 60 wifi/lan clients. i'd say that the wifi is quite congested maybe the stick doesn't like the environment.
it's been running stable for more than 3 hours now.
by the way you have to give contact, let's see how we can cooperate
it's been running stable for more than 3 hours now.
That sounds promising!
update: very stable and working. moving on with setting variables. @davidrapan, need help with time addresses
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
√ | AC charging start time 1 | TimeOnAcChg1 | 2509 | U16 | 2 | H:0-23 M:0-59 -- | -- | -- | -- | -- | -- | -- √ | AC charging end time 1 | TimeOffAcChg1 | 2510 | U16 | 2 | H:0-23 M:0-59
Is your feature request related to a problem?
No
Describe the solution you'd like
Trying to use the integration for Bluesun hybrid inverter. My inverter model is BSE15KH3. I would very much appreciate if somebody shared the register file. I got one from Bluesun but is very old and most of the registers are not correct. I will contribute by sharing the yaml file (after tested) so it's accessible for other users.
Describe alternatives you've considered
Waiting from Bluesun to provide correct file with ModBUS registers
edit: typo