question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Battery wont charge - Caused by Huawei Dongle being present.

See original GitHub issue

System Health details

System Information

version core-2022.8.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.5
os_name Linux
os_version 5.15.55
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4778
Installed Version 1.26.2
Stage running
Available Repositories 1097
Downloaded Repositories 10
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 8.4
update_channel stable
supervisor_version supervisor-2022.08.3
agent_version 1.2.1
docker_version 20.10.14
disk_total 113.9 GB
disk_used 78.3 GB
healthy true
supported true
board odroid-n2
supervisor_api ok
version_api ok
installed_addons File editor (5.3.3), MariaDB (2.5.1), Let’s Encrypt (4.12.6), Check Home Assistant configuration (3.11.0), Terminal & SSH (9.6.0), Zigbee2MQTT (1.27.0-1), Log Viewer (0.14.0), Mosquitto broker (6.1.2), ESPHome (2022.8.0)
Dashboards
dashboards 1
resources 1
views 7
mode storage
Recorder
oldest_recorder_run 12 July 2022 at 12:41
current_recorder_run 21 August 2022 at 19:01
estimated_db_size 7885.02 MiB
database_engine sqlite
database_version 3.38.5
Sonoff
version 3.1.0 (3871c0b)
cloud_online 43 / 183
local_online 1 / 1

Huawei Solar Setup

SDongle, Network @ 192

Describe the issue

First of, having the option to modify battery charging is amazing, thank you!

  1. When Battery Forcible charge power is changed the Logbook isn’t updated. Is this expected UX? It makes it look as if the inputs aren’t working. Numeric increments also do not update the Logbook. Selects and Checkboxes of other values do update the Logbook.
  2. When Battery Forcible charge power is changed the value doesn’t appear to have any impact on actual charging of the battery.
  3. Thanks again!

Relevant debug logs

Logger: pymodbus.client.asynchronous.async_io
Source: /usr/local/lib/python3.10/site-packages/pymodbus/client/asynchronous/async_io/__init__.py:307
First occurred: 19:04:16 (70 occurrences)
Last logged: 19:16:44

    Failed to connect: Multiple exceptions: [Errno 111] Connect call failed ('::1', 502, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 502)
    Failed to connect: [Errno 111] Connect call failed ('10.0.0.106', 6607)
    Failed to connect: Multiple exceptions: [Errno 111] Connect call failed ('::1', 6607, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 6607)
    Failed to connect: [Errno 111] Connect call failed ('10.0.0.182', 6607)
    Failed to connect: Multiple exceptions: [Errno 111] Connect call failed ('10.0.0.134', 6607), [Errno 111] Connect call failed ('fdd2:b8b:5577::9bb', 6607, 0, 0)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:19 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
wlcrscommented, Aug 25, 2022

@dklemm I’m not intimately familiar with what really happens when you start a force charge/discharge. I observed the behavior for a couple of minutes and documented that.

I haven’t been actively using it myself, even though I started developing this integration in the first place because I wanted to actively manipulate my battery. However, preliminary results showed that the constant term of the inverter losses are just too big to bother with it, leading to round trip losses of >40% 😞

0reactions
JohnMcLearcommented, Sep 5, 2022

100% confirmed fitting the dongle causes an issue. This issue is resolved by removing the dongle and rebooting the inverter.

image

At ~14:30 I plugged in the dongle which forced a discharge (no obvious reason). At ~15:40 I unplugged the dongle. At ~15:53 I rebooted the inverter.

So…

  1. Any idea why the dongle/fusion management system might cause issues?
  2. Any idea how to ensure my devices firmware are up to date given that I don’t have access to the fusion portal?
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix a Phone That Won't Charge? - Huawei
Use non-standard charger and data cable : Using non-standard ones may result in slow or unsuccessful fast charging of your phone.
Read more >
Top 9 Huawei Phone Problems and How to Fix Them - Dr.Fone
Huawei Battery Problems; 5. Huawei SIM Card Problems; 6. Huawei Dongle Problems; 7. Huawei Phone not connecting to Wifi; 8. Huawei Phone Not...
Read more >
My battery is showing that it is charging but it is only ... - Quora
It may due to your phone gets too heated. Check out all those problems you will get to know why the battery is...
Read more >
Google Pixel 6 mobile network draining too much battery on ...
The most recent reports from users of Google Pixel 6 and Pixel 6 Pro phones indicate battery draining problems caused by the mobile...
Read more >
Can't connect to Wi-Fi on an android phone? Here's the fix.
You might have a software bug, glitch, or possibly even a virus on your cell phone and you're going to need to perform...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found