-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Ping error: Error: Unexpected end Line: 0 Column: 0 Char: #125
Comments
Since which version of the adapter does the issue exist? |
I just tried the "virtual groups" thing for the first time right now.. Until now I only had the virtual groups on the ccu.. But not in iobroker. |
The undocumented VirtualDevice API has a reduced set of methods. With my CCU2 the connection works, and also this error does not appear in the log ... CCU2 Firmware Version: 2.41.5 |
That's strange.. I had to set the path to /groups without trailing /.. /groups/ always failed with "Error: not found" in the log..? |
Wouldnt be a problem to disable ping for the virtual devices api but somwhere must be a difference between your setups. I don't think its a firewall issue, because firewall block normally just runs in a timeout. |
I'm seeing both issues as well:
Both of us (the OP of this issue and I) are running CCU2 with firmware v2.27.8, not the most recent one. Perhaps this issue has already been fixed on the CCU2-side in later versions (as in v2.41.5)? Can anybody verify that? |
I'm happy to confirm that this indeed was the case: I've just installed the most recent firmware on the CCU2 (v2.41.5) and so far I'm not seeing the previous "ping errors" any more. |
Thanks for the feedback. Is /groups/ now also working? |
My adapter is still set to "/groups" (NO trailing slash) from before. I apologize for not trying, but since Holuba already has the configuration WITH trailing slash working I'd rather not try that out myself. (You know, when you finally have it working, better not to poke the bear. ;-) ) |
I added an Pull Request #140 witch excludes the Virtual Devices Deamon Type from Ping (because the Virtual Devices API not supports the Ping). I think this should solve this issue. |
Thanks, but it seems like ping is supported when the CCU2 firmware is up to date. |
i have the latest Firmware Version 2.41.5 and the system.listMethods call to the Virtual Devices XML-RPC API responses these Methods:
I think newer Versions of CCU2 Firmware only doesn't throw an Exception? |
I agree: I now have the new CCU2 firmware (v2.41.5) running for just over two hours and have not seen a single (ping-)error yet. With the old CCU2 firmware (v2.27.8), it took less than a minute for the adapter to loose connection to the CCU2. But hey, if it's not needed (or documented) anyway - sure, the less load on the CCU2 the better. |
@Holuba I do not use the API, but if the method is not listed then you are right and we are more backward compatible. Can you confirm that it also works with /groups on the current firmware because it don’t seem to work with the implemented default path /groups/ in the older versions, then we could also change the default value in front end. |
@foxriver76 yes, I currently have it running with the path "/groups" (NO trailing slash) with the new CCU2 fIrmware. |
I always get the error "Ping error: Error: Unexpected end Line: 0 Column: 0 Char:" .. I am using hm-rpc.1 configured to pull the virtual devices from the ccu2 (CCU2 Firmware 2.27.8)..
Screenshot of the instance settings:
The text was updated successfully, but these errors were encountered: