google-code-export / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
0 stars 0 forks source link

Homematic Binding crashes CCU2 BidCoS-RF #504

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a homematic CCU2 with connected sensors
2. Create an openhab binding for one of those sensors (i used HM-WDS40-TH-I and 
HM-Sec-RHS)
3. After a few minutes Homematic WebUI will notice user about BidCoS-RF has 
been crashed. CCU2 must be restarted to work again.

What version of the product are you using? On what operating system?
CCU2 Firmware version 2.5.4, Openhab Version 1.3.1

Please provide any additional information below.
Seems XML-RPC interface is behaving different on CCU1 vs. CCU2. Possibly it's 
the same issue like described here: 
http://homematic-forum.de/forum/viewtopic.php?f=26&t=13381

Original issue reported on code.google.com by enrico.h...@googlemail.com on 2 Nov 2013 at 7:37

GoogleCodeExporter commented 9 years ago
I myself have no problems with a CCU2 and the hm binding 1.3.1... The problem 
also seems to be rather a bug of the CCU2 and not of the binding.
But from what I can read in the link, there seems to be some workaround 
solution available.
@Thomas, could you check if this can be applied to the hm binding?

Original comment by kai.openhab on 3 Nov 2013 at 7:45

GoogleCodeExporter commented 9 years ago
This seems quite straight forward to implement. The callbacks to issue back to 
the CCU2 just have to be of the right format AFAIK.

Original comment by thomas.letsch.de on 3 Nov 2013 at 8:25

GoogleCodeExporter commented 9 years ago
@Kai: Very interesting. What firmware version is running on your CCU2? 

I set up everything from the scratch (new CCU2). So side effects schould be 
minimal on my environment. Also I was able to reproduce behavior with 
applications attached to the forum thread I mentioned. It's solution was 
working fine on my environment. Are there any other informations I can provide 
or anything else, I could assist on?

Original comment by enrico.h...@googlemail.com on 4 Nov 2013 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by teichsta on 5 Nov 2013 at 10:53

GoogleCodeExporter commented 9 years ago
My firmware seems to be rather old already: 2.3.11
Maybe I should better not update it then...?
But anyhow, if Thomas says that it'll be easy for him to adapt, that's good 
news!

Original comment by kai.openhab on 7 Nov 2013 at 9:27

GoogleCodeExporter commented 9 years ago
I made a first fix for that. Its part of 
https://github.com/openhab/openhab/pull/92
All XML RPC methods do now return an empty response which should (hopefully) 
satisfy the CCU2.

I cannot test it on my machine, so please feel free to try it out.

Original comment by thomas.letsch.de on 8 Nov 2013 at 9:44

GoogleCodeExporter commented 9 years ago
Ok, I have merged the pr, so the issue should be fixed. Please test!

Original comment by kai.openhab on 8 Nov 2013 at 10:44

GoogleCodeExporter commented 9 years ago
Tested with nightly build #524: Unfortunately the problem still exists. After 2 
or 3 values I receive from temperature sensor, CCU2 crashes. 

Firmware downgrade of CCU2 to 2.3.15 (earliest available version) also didn't 
help.

The only way XML-RPC is working on my CCU2 is using "RPC Server.exe" from 
loesung.rar posted in forum thread mentioned above.

Reproduceable on 3 different PCs with different configurations.

Original comment by enrico.h...@googlemail.com on 11 Nov 2013 at 1:54