Troubleshooting for Timeouts #428
Unanswered
trafficParty
asked this question in
Q&A
Replies: 2 comments 2 replies
-
You can tune the schedule (you only need to read power every 5 seconds) But the biggest change woudl probably be going via mbusd (not directly to the serial) |
Beta Was this translation helpful? Give feedback.
1 reply
-
These can be read once (or very infrequently
Can probbaly tune them using these keys in the schedules
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I am trying to read out my Deye 12k permanently using this application. So far it works with my configuration. My data is read out and updated, but after about 20 minutes I keep getting timeouts until the data freezes. The log file outputs:
As the inverter is located in a wifi-free area, I have laid a network cable (CAT7) up to the meter cupboard (around 30 m). The CT is connected to 6 wires of the cable. On the remaining two wires I have branched off A and B from the ModBus port of my Deye, which go to a USB-to-RS485 adapter. I have already tried two different adapters and the same error pattern in each case. My battery is connected to the BMS port (also via RS485, CAN is only possible to a limited extent). I have the firmware C037 and 1144-1807 on it and also get data from the ModBus port. I also have the same problem when the battery is disconnected. My wifi dongle is not installed. The Deye is set to master and the Modbus SN is set to 01.
My config:
`DRIVER: pymodbus
INVERTERS:
HA_PREFIX: SS
MODBUS_ID: 1
DONGLE_SERIAL_NUMBER: "0"
PORT: /dev/ttyUSB0
SENSOR_DEFINITIONS: three-phase
SENSORS:
SENSORS_FIRST_INVERTER: []
MANUFACTURER: Deye
READ_ALLOW_GAP: 2
READ_SENSORS_BATCH_SIZE: 8
SCHEDULES:
READ_EVERY: 20
REPORT_EVERY: 20
CHANGE_ANY: false
CHANGE_BY: 80
CHANGE_PERCENT: 0
READ_EVERY: 60
REPORT_EVERY: 60
READ_EVERY: 60
REPORT_EVERY: 60
NUMBER_ENTITY_MODE: auto
PROG_TIME_INTERVAL: 15
MQTT_HOST: core-mosquitto
MQTT_PORT: 1883
MQTT_USERNAME: *
MQTT_PASSWORD: *`
The Output in MQTT is:
2025-02-02 13:23:04: New connection from 172.30.32.1:41259 on port 1883. 2025-02-02 13:23:04: New client connected from 172.30.32.1:41259 as 2yj9e3FMxADw8jbJ0SzxAZ (p2, c1, k60, u'*'). 2025-02-02 13:42:49: New connection from 172.30.33.1:48375 on port 1883. 2025-02-02 13:42:49: New client connected from 172.30.33.1:48375 as auto-D9BA70F1-08F2-8C43-5491-0E1EA2500D4D (p2, c1, k60, u'*'). 2025-02-02 13:52:15: Saving in-memory database to /data//mosquitto.db. 2025-02-02 14:12:27: Client auto-D9BA70F1-08F2-8C43-5491-0E1EA2500D4D closed its connection
For a possible Solution i changed to mbusd like recommended here: ( https://github.com/kellerza/sunsynk/discussions/98 )
With the following config:
Do you see a possible solution to prevent the timeouts? Have I overlooked a small detail in the configuration?
Thank you very much in advance
Beta Was this translation helpful? Give feedback.
All reactions