Remote controls - KSTAR #238
Replies: 33 comments 138 replies
-
Yes but only for devices which has it configured in their yaml file. |
Beta Was this translation helpful? Give feedback.
-
Here is the draft list of remote registers that will be handy for users to be able to control the inverter. I have noticed that the register addresses for setting charge/discharge times for PEAK SHIFT mode are missing in the MODBUS document (its well out of date, latest revision is from 2023) Kstar have made lots of changes recently so I have requested an updated MODBUS document before we look into implementing any remote control features as currently it will be 'half baked' and will make any automations impossible. |
Beta Was this translation helpful? Give feedback.
-
KSTAR Hybrid Inverter Modbus V2.8_2024.06.17_20240805142523 (1).pdf Kstar very quickly sent me this updated document but its still missing the registers for TOU mode? Not sure they know what they are doing. |
Beta Was this translation helpful? Give feedback.
-
Nice, thanks.
Hmmm, maybe it could be probed with some luck? Dunno.
I'm sure they do not. 😆 |
Beta Was this translation helpful? Give feedback.
-
I will add those entities to the file for you, don't worry much about it now. 😉 |
Beta Was this translation helpful? Give feedback.
-
https://acrobat.adobe.com/id/urn:aaid:sc:EU:27fc91d4-a172-4f92-abdb-9852a3dbd953 |
Beta Was this translation helpful? Give feedback.
-
Latest modbus document :) |
Beta Was this translation helpful? Give feedback.
-
Please can you look into your inverter settings how are there represented (whole names) items for Work Mode? (0:SELF CSM, 1:PEAK SFT, 2:BAT PRIO) |
Beta Was this translation helpful? Give feedback.
-
peak shift is TOU mode, I can charge and discharge energy. I don’t use battery priority, it’s a pointless feature imo If you look at the screenshots, different options appear for each mode depending on whether you select peak shift or self consumption from the dropdown. :) |
Beta Was this translation helpful? Give feedback.
-
Another one: what exactly controls Self-Consumption Charge Enable and Self-Consumption Charge/Discharge Start-Time? |
Beta Was this translation helpful? Give feedback.
-
This should be all the commands required for a great level of remote control (the word doc) I have sent screenshots from the new modbus doc (hopefully they still tally up). hard for me to reference them right now as on my phone on a train journey 🤣 |
Beta Was this translation helpful? Give feedback.
-
Man, these commands take soooo long on solarmand at the moment. Hopefully will be quicker from HA |
Beta Was this translation helpful? Give feedback.
-
Will have to come back to you tonight. Signal flakey and I can’t see what’s going on with SOLARMAN atm |
Beta Was this translation helpful? Give feedback.
-
Hi David, Im back! |
Beta Was this translation helpful? Give feedback.
-
I have no idea what the output of 12336 means? |
Beta Was this translation helpful? Give feedback.
-
If both registers 3160 and 3161 are returning 12336, this likely indicates that these registers are part of a predefined setting or configuration that is the same for both, possibly related to a TOU schedule. Here are some potential interpretations of identical register values in this context: Fixed TOU Parameters: The registers might define start and end times for TOU periods. If 3160 and 3161 are for the same TOU period, 12336 could be a placeholder or encoded setting for that period. Inactive or Default TOU Mode: Some inverters return the same value across TOU registers if TOU mode is inactive or set to a default profile. 12336 could be a default code indicating that TOU scheduling hasn’t been customized. Configuration Identifier: If the inverter uses a specific code to identify configurations, 12336 may signify the active TOU configuration. This would mean the registers are storing a profile ID rather than time values. If your inverter's manual or documentation has any details on how TOU schedules are set or encoded, that would clarify it further. Alternatively, you could test changing TOU settings (if available) on the inverter and check if the register values update, which would confirm they are linked to TOU configurations. You said: Split the High and Low Words: High Word (Hour): Encodes the hour in tens and units. First, we’ll convert 12336 into hexadecimal form, which may help us separate the values into individual bytes: In ASCII, 0x30 represents the character '0'. |
Beta Was this translation helpful? Give feedback.
-
You don't have to spill out so many info, really. 😆 Okay do for me reading of address 3160 and set quantity to 15. |
Beta Was this translation helpful? Give feedback.
-
I entered this into the config file and it gave me ALL of the relevant controls i need. what the hell? Loads default set of integrations. Do not remove. Load frontend themes from the themes folder Include automations, scripts, and scenes Modbus configuration
Adding sensors and write commands for your inverter
Add any additional sensors as needed... |
Beta Was this translation helpful? Give feedback.
-
And after you do that reading for me show me also how you have currently configured all of the timed settings on your inverter. |
Beta Was this translation helpful? Give feedback.
-
it looks like 'battery grid charging start' is pulling data as shows 5:12 even when i refresh HA |
Beta Was this translation helpful? Give feedback.
-
tried setting times like this and this is another output, might be helpful "3160": 12337 |
Beta Was this translation helpful? Give feedback.
-
hi,
Does this REPO allow full remote control features like whats available on the Solarman app or desktop interface?
Kind regards,
Derick
Beta Was this translation helpful? Give feedback.
All reactions