Closed whoami-pi closed 1 year ago
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.
Hi
thanks for your quick response. Please find attached pics from Nilan devices.
Thanks for checking!!
Thanks. Now I need the log entry and I can add your device to the integration.
This is actually where I stuck up. So, what I did:
Debug is active for HACS:
Configuration.yaml: Have added these lines, saved the file, restarted HA
# Logger
logger:
default: info
logs:
custom_components.nilan: debug
custom_components.hacs: debug
(After new start STRG & F5 for cache) Add new integration, entered Nilan, selected SERIAL and following
Getting the issue related to unsupported device
Checking the Logbook, no entry for this integration
Even in home-assistant.log no entry related to this:
I'm pretty sure that I'm doing something wrong...
That should work. You don't need the HACS debugging.
But still not able to see any entries in Log Book for Nilan or am I checking the wrong log book?
But still not able to see any entries in Log Book for Nilan or am I checking the wrong log book?
Yes. Go to settings->system->logs.
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(
DEBUG (MainThread) [custom_components.nilan.config_flow] Device Type XX not found in supported devices list
I need this entry from logs.
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
Great. I will add your device ASAP.
Support for your device is now in release 1.1.17
Hi,
I'm trying to connect my Nilan VP18cCom via RS485 serial USB with HA (using also CTS602). I'm getting the error message "Unsupported Device" during the integration of Nilan.
I'm new at HA, the same interface was working before via PI and Node Red. I've added this into configration.yaml and restarted HA:
# Logger logger: default: critical logs: custom_components.nilan: debug custom_components.hacs: debug
But I'm still unable to see any log entries in Log-book. Have also activated debug protocoll for the HACS device. Here is my selection:![image](https://user-images.githubusercontent.com/59413296/224510763-31d1f807-8b4f-4aad-ad43-565bd0b4a9e1.png)
As the path seems to be correct:![image](https://user-images.githubusercontent.com/59413296/224510746-f0c471e3-bf53-4f1f-9779-dc93f2f31bd0.png)