Code Monkey home page Code Monkey logo

Comments (12)

veista avatar veista commented on July 19, 2024 1

You should get an entry in logbook after trying to configure the device if debug logging is turned on. Also provide the pictures asked in read-me.

from nilan.

veista avatar veista commented on July 19, 2024 1

Thanks. Now I need the log entry and I can add your device to the integration.

from nilan.

veista avatar veista commented on July 19, 2024 1

Great. I will add your device ASAP.

from nilan.

veista avatar veista commented on July 19, 2024 1

Support for your device is now in release 1.1.17

from nilan.

whoami-pi avatar whoami-pi commented on July 19, 2024

Hi

thanks for your quick response. Please find attached pics from Nilan devices.

Thanks for checking!!

image
image
image
image

from nilan.

whoami-pi avatar whoami-pi commented on July 19, 2024

This is actually where I stuck up. So, what I did:

  1. Debug is active for HACS:
    image
    image

  2. Configuration.yaml: Have added these lines, saved the file, restarted HA
    # Logger
    logger:
    default: info
    logs:
    custom_components.nilan: debug
    custom_components.hacs: debug

  3. (After new start STRG & F5 for cache) Add new integration, entered Nilan, selected SERIAL and following
    image

  4. Getting the issue related to unsupported device

  5. Checking the Logbook, no entry for this integration

  6. Even in home-assistant.log no entry related to this:
    image

I'm pretty sure that I'm doing something wrong...

from nilan.

veista avatar veista commented on July 19, 2024

That should work. You don't need the HACS debugging.

from nilan.

whoami-pi avatar whoami-pi commented on July 19, 2024

But still not able to see any entries in Log Book for Nilan or am I checking the wrong log book?
image

from nilan.

veista avatar veista commented on July 19, 2024

But still not able to see any entries in Log Book for Nilan or am I checking the wrong log book? image

Yes. Go to settings->system->logs.

from nilan.

whoami-pi avatar whoami-pi commented on July 19, 2024

Thanks, as I said, newbie at HA, here is an entry for Nilan, does it help you?

Logger: homeassistant.util.async_
Source: util/async_.py:159
First occurred: 10:35:30 (3 occurrences)
Last logged: 10:35:30

Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for nilan doing blocking calls at custom_components/nilan/config_flow.py, line 59: result = client.read_holding_registers(

from nilan.

veista avatar veista commented on July 19, 2024

DEBUG (MainThread) [custom_components.nilan.config_flow] Device Type XX not found in supported devices list

I need this entry from logs.

from nilan.

whoami-pi avatar whoami-pi commented on July 19, 2024

ok, now it should be the right one, hopefully, thanks for being patient with me :)

DEBUG (MainThread) [custom_components.nilan.config_flow] Device Type 12 not found in supported devices list

from nilan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.