-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluesun inverter ModBUS register list #252
Comments
@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... new file, not working giving error loading device |
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. |
this is a stable working file. need help: |
disconnecting often after adding more sensors here is part of the log: |
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 |
No, that's not it. |
i was also trying modbus board with esphome connected to another comm port of the inverter trying it out. 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? |
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 |
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)
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? |
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? |
That's not their purpose. It's only for profile configuration. You can set |
did a new setup with the wizard on the stick. disabled/hided the AP now no clients connecting on it. 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 |
That sounds promising! |
update: very stable and working.
tried this:
when i set hour 0, is ok. above 1 i get response |
fix: Enum class & Select platform dictionary default And tell me which entities (registers) are you missing in that |
this did enable the device load, but now reading incorrectly the state of this feature. |
as far as i am concerned, i am very happy and greatly thankful for your integration and the great work you put in maintaining it. after the resolution of the reading and writing the registers with the times, i have created many automations:
therefore, if you decide to close this issue - please do. if you want you can keep the thread open and i can periodically check it and provide active support for any additional testing that you might need. p.s.: i'm out for tonight, got early morning tasks. again, thank you very much. |
did you change any other file? |
Specifically, I tested it on my installation and it worked, guess something strange must be happening in your case. Open parser.py and add (not replace) this line on the row number 116:
So the row which is originally on the row number 116 moves to 118. Restart HA and show me what's in the log. |
Yes.
Could be wrong order of registers. Code edit just added additional logging, so what's in the log? |
tried the registers order too. |
I don't see those messages in there, You probably made a mistake somewhere. BTW, As I said before already, your file contains many errors as seen here (long term statistics won't work, etc.):
|
i fixed the file for the "total" as you suggested. i'll look into the other things |
I need to see output in the log of that code change we did few moments ago. Did you restart HA? |
home-assistant_solarman_2024-11-28T19-03-00.796Z.log |
I would advise you to switch from your file and change your dashboards, automations and template sensors to use this default profile, it will be way easier for you. And not just now but in the future too. 😉 |
nope sry, too late now. i need the long term entity records. will use the data to show the benefits of using battery compared to just solar. |
Your history is messed up already anyway, because of those errors in your file. 😉 You are using this for like 2 weeks tops, so it's no history, I wouldn't call it too late at all. There is a guide in Discussions how to transfer/merge history under different names. But sure it's up to you. Anyway inverter is currently set to 5308417, which translates as (set bits):
You need to add additional options:
|
yes, my el. invoice period is on the 12th of the month. these too weeks are very valuable to me, can't wait for the next invoice... i also took your advice and set the export to 100w. however, you could make possible that we could load as second device with the other file and have them both 😉 |
I don't know what you mean by that. And sure it can be valuable insight if you have phases and their consumption somewhat logically separated.
It really depends on how is electricity billed in your region. So make sure it's good for your case.
I think it would just create unnecessarily communication overhead with the logger. But you can overcome the limitation of 1 serial number = 1 device by creating device with some made up serial number and then proceed with manual edit of the entry of newly added device in It's not about me being happy. I'm just trying to help you. 😉 |
As i could ready from that page where you suggest this, it seems our countries have the same type of meter. A pulse counting meter that reads pulses generated when electricity is flowing. I understand this as whatever the flow of electricity, pulses are generated and counted. |
Yes. Germany for example (as stated in our wiki), more info: Smart meter reading method v1r0A 20170622.pdf
I really don't think so and the plan for the future is to get rid of the files completely anyway. 😉 |
Yes, exactly. This document even questions the operation of a "smart" meter. |
This energy distribution mafia is p*ssing me of too... Even so, we don't have it THAT strict, but what can you do, right? |
As a businessman, it's my job to find solutions to "limitations". This "mafia" in our country has 4 blocks of high tariffs. Each block is significantly with higher price. I estimate that with 15kw inverter and 30kw of batteries, a large house with heat-pump can escape the high tariffs and remain only in the low tariff. |
That sounds briliant! May I ask you for your current power and distribution prices in both tarts? Edit: Can you please help me with something? I would like to know how unique_id looks like for entities under solarman integration. Do you know where to look? |
sry, been away for a few days. you still need help? High Tariff 1 ( ~180 kw): 0.1253850732 E/KW |
You have it tiered by total consumption?!? WTF! BUT, yeah... I guess it's probably always necessary to look at it from a bigger perspective because the state of the network has the most to say here and maybe it's needed for grid stability (Incentivizes saving, etc.). But then the prices aren't THAT BAD, but not the best either, on the other hand I'm pretty sure the situation in most places in the EU is currently worse on average. |
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
The text was updated successfully, but these errors were encountered: