Do you have to do a DEC to HEX conversion first, to write values to 3606 and 3607? Or can you send DEC straight as values to them? Using Qmodmaster
You can just Google the conversion, or use ChatGPT. And yep as long as you get the Dec right it will take either.
Thanks. I’m currently experimenting with charging and i got it working today, but does anyone know if you can set it twice? e.g. i started charging today at 15:00, and now, using exactly the same values except the start and stop registers (3306 and 3307) it does not start. Is there some kind of limit of daily uses?
Yeah, but for example: 22:35 is 1623 (HEX), but 2235 is 08BB (HEX) - I’m not sure which one to use, getting mixed results.
Using Decimal to Hex Converter
So for instance, if i want to start at 22:30, i do a 2230 decimal to hex conversion? (08B6)
Edit: I had set the start charging time to 0000 (register 3606H) and it started charging at 12 AM. Could it be that it will only use the timeslot once per day or something?
Guys,
Modbus Ninjas,
can you help me with your deep understanding of the SAJ H2 and modbus.
Which modbus registers hold the values for
-
Battery/PV: The power without house load. This is what is provided by the PV/Battery system (or consumed in case the battery gets charged from grid). Should be Watt. And which direction is positive?
-
Grid: the power which leaves/enters the house to/from the grid. Again Watt. Again question for direction and sign.
I would be really greatfull for your advice.
When I analyze the code I can see that 16557 should be the grid value (2). However, if I use QModMaster and do this:
You see, the values 1/0/-1/1 (the 4 direction values seem to start from decode_instructions_part_2
seem to start with an offset of 1. When I start to read from 16534 I can see the last value is the grid power
When I hover in QModMaster over the value it gives me 16558 instead of the expected 16557.
What am I missing?
Regards
Ralf
Set the Base address 0
Guys, you rock. Your integration works like a charm.
I was able to activate the total in/out energy entities.
I am missing an entity for “solar total energy” in kWh or similar from the integration for the energy dashboard. Or even better for the PV1 and PV2 side separately.
Edit: Found it. Its called “Inverter Total Generation”.
I would suggest to have those entities enabled by default and named something with “Energy”. This is the terminology HA is using in the Energy Dashboard.
Another one. What entity are you using for the energy dashboard for the PV-Module? It must be an Energy one (with kWh). I went for the entity SAJ Inverter Total Generation, but … it constantly increases even during night/dark times. My expectation would be it does not increase when dark.
I have been struggling to communicate with my Suntrio plus 5k via an elfin ew11a and the RS-485 port. The default baud rate for the RS-485 interface of my inverter is 115200. Only when I changed the baud rate manually in the HMI of the inverter to 9600 baud the communication started to work including the HASS integration. I hope this message can help others in the future