Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Not enough lines: 1. Getting more" #19

Open
jes1417 opened this issue Dec 12, 2023 · 3 comments
Open

Error "Not enough lines: 1. Getting more" #19

jes1417 opened this issue Dec 12, 2023 · 3 comments

Comments

@jes1417
Copy link

jes1417 commented Dec 12, 2023

Version of the custom_component

v0.9.0b5

Configuration

  - host: 10.30.46.119
    port: 22
    name: Network Wattbox
    username: myusername
    password: mypassword
    scan_interval: 00:00:30
    resources:
      - cloud_status
      - auto_reboot
      - mute
      - safe_voltage_status
      - current_value
      - power_value
      - voltage_value

Add your logs here.


Logger: pywattbox.async_driver
Source: custom_components/wattbox/__init__.py:143
Integration: WattBox (documentation, issues)
First occurred: 4:04:02 PM (19 occurrences)
Last logged: 4:26:32 PM

Not enough lines: 1. Getting more

Describe the bug

A clear and concise description of what the bug is.

annoying repeating error in logs

Debug log

only thing I see when enabling debug

2023-12-12 16:36:32.925 DEBUG (MainThread) [custom_components.wattbox] Updated: WattBox (10.30.46.119): WB-800-IPVM-6 - <pywattbox.ip_wattbox.IpWattBox object at 0x7f6d938e6050>

Add your logs here.

@eseglem
Copy link
Owner

eseglem commented Dec 13, 2023

Is it actually connecting and pulling data or not getting anything? The debug logs tend to be repetitive and should be seeing some lines every time it pulls data based on your scan interval.

That line alone isn't necessarily an error, it's reading lines from the server response and sometimes needs to get more to find the end of the data.

It looks like it's connecting some amount, since it's got a model (WB-800-IPVM-6). Is there an issue other than the logs?

If there is an issue, there should be a lot more logs than that. May need to turn on debug for scrapli as well. Otherwise turning off debug for pywattbox should get rid of those statements.

I'd also remove the resources section from your config as well. It's not necessary, unless you actually don't want all the data.

@jes1417
Copy link
Author

jes1417 commented Feb 6, 2024

This seems to have went away when I updated the wattbox to the october 23 firmware

@jes1417
Copy link
Author

jes1417 commented Feb 7, 2024

they ended up coming back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants