Everything posted by BigFan
-
Sunsynk connection to home assistant
Thank you P1000 I now sit with another problem... When I go into Terminal (HA) and type login, it prompts me for a login and password!!! I have not seen this before. What do I do now? Any idea? Not to worry.... I came right. It's working now, but get lots of timeouts? 2022-09-15 16:33:49,179 DEBUG Request registers: [72, 73, 74, 75] glen=4. Response [480, 0, 408, 0] len=4. regs={72: 480, 73: 0, 74: 408, 75: 0} 2022-09-15 16:33:59,126 ERROR Timeout reading: 2022-09-15 16:35:08,394 ERROR Timeout reading: 2022-09-15 16:36:17,676 ERROR Timeout reading: 2022-09-15 16:37:17,007 DEBUG Request registers: [72, 73, 74, 75] glen=4. Response [480, 0, 408, 0] len=4. regs={72: 480, 73: 0, 74: 408, 75: 0} 2022-09-15 16:37:17,058 DEBUG Request registers: [78] glen=1. Response [469] len=1. regs={78: 469} 2022-09-15 16:37:17,118 DEBUG Request registers: [80, 81, 82] glen=3. Response [0, 0, 0] len=3. regs={80: 0, 81: 0, 82: 0} 2022-09-15 16:37:17,170 DEBUG Request registers: [96, 97] glen=2. Response [1197, 0] len=2. regs={96: 1197, 97: 0} 2022-09-15 16:37:26,948 ERROR Timeout reading: 2022-09-15 16:38:26,282 DEBUG Request registers: [72, 73, 74, 75] glen=4. Response [480, 0, 408, 0] len=4. regs={72: 480, 73: 0, 74: 408, 75: 0} 2022-09-15 16:38:36,231 ERROR Timeout reading: 2022-09-15 16:39:35,570 DEBUG Request registers: [72, 73, 74, 75] glen=4. Response [480, 0, 408, 0] len=4. regs={72: 480, 73: 0, 74: 408, 75: 0} 2022-09-15 16:39:35,622 DEBUG Request registers: [78] glen=1. Response [469] len=1. regs={78: 469} 2022-09-15 16:39:35,682 DEBUG Request registers: [80, 81, 82] glen=3. Response [0, 0, 0] len=3. regs={80: 0, 81: 0, 82: 0} 2022-09-15 16:39:35,733 DEBUG Request registers: [96, 97] glen=2. Response [1197, 0] len=2. regs={96: 1197, 97: 0} 2022-09-15 16:39:45,515 ERROR Timeout reading: 2022-09-15 16:40:44,845 DEBUG Request registers: [72, 73, 74, 75] glen=4. Response [480, 0, 408, 0] len=4. regs={72: 480, 73: 0, 74: 408, 75: 0} 2022-09-15 16:40:44,895 DEBUG Request registers: [78] glen=1. Response [469] len=1. regs={78: 469} 2022-09-15 16:40:44,956 DEBUG Request registers: [80, 81, 82] glen=3. Response [0, 0, 0] len=3. regs={80: 0, 81: 0, 82: 0} 2022-09-15 16:40:45,008 DEBUG Request registers: [96, 97] glen=2. Response [1197, 0] len=2. regs={96: 1197, 97: 0} 2022-09-15 16:40:54,793 ERROR Timeout reading: 2022-09-15 16:41:54,133 DEBUG Request registers: [72, 73, 74, 75] glen=4. Response [480, 0, 408, 0] len=4. regs={72: 480, 73: 0, 74: 408, 75: 0} 2022-09-15 16:41:54,185 DEBUG Request registers: [78] glen=1. Response [469] len=1. regs={78: 469} 2022-09-15 16:41:54,246 DEBUG Request registers: [80, 81, 82] glen=3. Response [0, 0, 0] len=3. regs={80: 0, 81: 0, 82: 0} 2022-09-15 16:42:04,077 ERROR Timeout reading:
-
Sunsynk connection to home assistant
I have also bumped my head for 2 days now. This is my Log: Any help would be greatly appreciated. Thank you. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. 2022-09-14 18:22:18,054 INFO Loading HASS OS configuration 2022-09-14 18:22:18,207 DEBUG could not patch umodbus: numpy not found 2022-09-14 18:22:18,213 DEBUG last unit:kWh, id:total_pv_power 2022-09-14 18:22:18,214 DEBUG last unit:kWh, id:total_battery_charge 2022-09-14 18:22:18,215 DEBUG last unit:kWh, id:total_battery_discharge 2022-09-14 18:22:18,215 DEBUG last unit:kWh, id:total_grid_export 2022-09-14 18:22:18,216 DEBUG last unit:kWh, id:total_grid_import 2022-09-14 18:22:18,217 DEBUG last unit:%, id:battery_soc 2022-09-14 18:22:18,217 INFO Filter *last used for battery_soc, total_battery_charge, total_battery_discharge, total_grid_export, total_grid_import, total_pv_power 2022-09-14 18:22:18,218 DEBUG Using selector: EpollSelector 2022-09-14 18:22:18,220 INFO Connecting to serial:///dev/ttyUSB0 2022-09-14 18:22:18,779 WARNING Executing <Task pending name='Task-2' coro=<Sunsynk.read_sensors() running at /usr/local/lib/python3.9/site-packages/sunsynk/sunsynk.py:52> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7fb08debe0>()] created at /usr/local/lib/python3.9/asyncio/base_events.py:424> cb=[_release_waiter(<Future pendi...events.py:424>)() at /usr/local/lib/python3.9/asyncio/tasks.py:416] created at /usr/local/lib/python3.9/asyncio/tasks.py:462> took 0.234 seconds 2022-09-14 18:22:28,554 ERROR Timeout reading: 2022-09-14 18:22:28,555 INFO ############################################################ 2022-09-14 18:22:28,555 INFO No response on the Modbus interface, try checking the wiring to the Inverter, the USB-to-RS485 converter, etc 2022-09-14 18:22:28,556 INFO ############################################################ 2022-09-14 18:22:28,556 CRITICAL This Add-On will terminate in 30 seconds, use the Supervisor Watchdog to restart automatically. 2022-09-14 18:22:58,590 DEBUG Close <_UnixSelectorEventLoop running=False closed=False debug=True> [cmd] ./run.py exited 0 [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. Dongle that I use: https://www.robotics.org.za/W17286 Modbus Log when rs485 dongle is removed from RPi4 USB: 15 Sep 2022 09:34:46 tty: trying to open /dev/ttyUSB0 (speed 9600 mode 8N1) 15 Sep 2022 09:34:46 tty_reopen(): can't open tty device /dev/ttyUSB0 (No such file or directory) Modbus Log when rs485 dongle is present in the RPi4 USB: 09:42:48] INFO: Starting mbusd -d -L - -v 2 -p /dev/ttyUSB0 -s 9600 -m 8N1 -P 502 15 Sep 2022 09:42:49 mbusd-0.5.1 started... 15 Sep 2022 09:42:49 tty: trying to open /dev/ttyUSB0 (speed 9600 mode 8N1) So it looks like the USB is "seen" by the RPi4 HA (running in a docker) ?