slipx06 / sunsynk-home-assistant-dash Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Dashboard to display Inverter information. ESPHome configuration to collect inverter sensor data via modbus
Home Assistant Dashboard to display Inverter information. ESPHome configuration to collect inverter sensor data via modbus
Hi,
Not sure if this has been requested before, but is there any chance you can make the SunSynk solar card resizeable please?
Also keep up the great work, this card is a god send. ๐
Regards Ivan
Since latest update to solcast (3.1.x) graphs are showing 1hour ahead of current time.
i'm using this configuration : https://github.com/slipx06/Sunsynk-Home-Assistant-Dash/blob/main/ESPHome-1P-Sunsynk-Deye-Master-Slave.yaml
What i want to know is , what are the names of the 2 sensors i need to count together , to know my live home usage?
For example , my car is charging and uses aroud 2300w. The rest of the use in the house is now normally arround 700w. So this is a total of 3000 w.
if i count these 2 sensors together : sensor.deye_inverter_power and sensor.deye_slave_inverter_power i get arround 2866w ( sometimes suddenly arround 5000w and sometimes it drops below 2000w)
if i count these 2 sensors together : sensor.deye_load_power and sensor.deye_slave_load_power i get arround 3272w ( sometimes suddenly lower then 1200w)
So what are my correct sensors to choose from , so i know what my live home usage is?
I have recently started using the modbus (RS485 with esphome) integration (Sunsynk 1p from your code). When the solar exceeds 5kwh, numerous entities go excessively high, as per below. I have rechecked my yaml a number of times and the problem still presents. It is an 8kwh inverter with 6kwh combined solar panels.
Hey, first thanks so much for the awesome work!
So I have modified the code a little bit because my nodeMCU kept on booting every ~40 mins. I figured that this could be because of the large code. And this turned out to be true. I'm using ai-thinker esp32 nodeMCU V1. This turned out to be true. So I have my updated code in updated.txt file attached here.
So everything seems to be fine except when I toggle Generator Charge button. The inverter cut out the power to all ports and threw this error: F26BusUnbalance_Fault.
I was in off-grid mode with my backup generator turned on.
updated.TXT
Hi,
When copying the code to create an entity for serial number, when I use this code:
platform: modbus_controller # 003-007 Inverter HEX Serial Number
modbus_controller_id: inverter
id: inverter_esphome_serial
register_type: holding
skip_updates: ${settings_skipped_updates}
raw_encode: HEXBYTES
address: 003
register_count: 5
internal: true
platform: template # Inverter ASCII Serial Number
name: "${friendly_name} Serial"
id: inverter_esphome_ascii_serial
icon: "mdi:text"
lambda: |-
std::string hexData = id(inverter_esphome_serial).state;
// Convert hex-encoded string to ASCII
std::string asciiData;
for (size_t i = 0; i < hexData.length(); i += 2) {
std::string byte = hexData.substr(i, 2);
char chr = static_cast(std::stoi(byte, nullptr, 16));
asciiData.push_back(chr);
}
return asciiData;
mine only displays a single registers value.
Its like its not combining the registers, is there something I'm doing wrong?
Hi Slipx
Is your dashboard sill working after the latest 3.1.4 Solcast update? It seem the Data Generator is not working at the moment with the current dashboard?
Sorry to bother with this...
incorrect address should be 611 and 612
Hi, when trying to write code to ESP32 I get following error after multple attempts and removing unneccessary lines not required for Sunsynk.
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
Not so much an issue, but can you look into the code for reading the firmware versions for the Controller board and the communications board's firmware?
Address 013 & 014
I've tried the below, but it doesn't work:
platform: modbus_controller # 013 Control board firmware
modbus_controller_id: deye
name: "Controller Board Firmware"
id: deye_controlboard_firmware
icon: "mdi:text"
register_type: holding
raw_encode: HEXBYTES
address: 013
register_count: 5
response_size: 9
internal: true
platform: modbus_controller # 014 Comms board firmware
modbus_controller_id: deye
name: "Communications Board Firmware"
id: deye_communicationboard_firmware
icon: "mdi:text"
register_type: holding
raw_encode: HEXBYTES
address: 014
register_count: 5
response_size: 9
internal: true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.