hektiker1983 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Autoreconnect for knx #327

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If knx connection is lost (eg due to knx/ip not reachable) it is not retried up 
to next command request.
In such disconnected state, events/status updates are lost (up to next command 
request) even if network is back and knx connection could have re-established.

I slightly modified knx bundle and configuration to enable periodic retries to 
re-establish connection.

http://code.google.com/r/andreagiacosi-openhab/source/detail?r=e53bdfd847a3d11e4
405a181478944b78f961c6a

Original issue reported on code.google.com by andrea.g...@gmail.com on 30 May 2013 at 9:27

GoogleCodeExporter commented 8 years ago
It may be worth to re-read the state of the items in such case. Since you don't 
know what happened during the disconnection, you may have missed some events.

Original comment by cyril.ja...@gmail.com on 4 Jun 2013 at 6:00

GoogleCodeExporter commented 8 years ago
I do agree, I will try to integrate that re-read item state.

Original comment by andrea.g...@gmail.com on 4 Jun 2013 at 10:02

GoogleCodeExporter commented 8 years ago
Added re-read the state of items when connection is re-established.

https://code.google.com/r/andreagiacosi-openhab/source/detail?r=bb3ba7230290de8b
c1db2a0639067716617aad9a

Original comment by andrea.g...@gmail.com on 12 Jun 2013 at 9:51

GoogleCodeExporter commented 8 years ago
Thanks Andrea for contributing! Will look into it ...

Original comment by teichsta on 12 Jun 2013 at 10:21

GoogleCodeExporter commented 8 years ago
Thank you Andrea

Original comment by cyril.ja...@gmail.com on 13 Jun 2013 at 6:24

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 6 Jul 2013 at 8:49

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 11 Aug 2013 at 7:30

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 11 Aug 2013 at 7:30

GoogleCodeExporter commented 8 years ago
Pulled your changesets and made a slight refactoring - issue finished with 
changeset  
https://code.google.com/p/openhab/source/detail?r=417d59d719b0afc9e36dbd2c8808c6
b557d26406

Thanks for the contribution!

Original comment by kai.openhab on 12 Aug 2013 at 8:40

GoogleCodeExporter commented 8 years ago
Thank you to you. I will resync.

Original comment by andrea.g...@gmail.com on 13 Aug 2013 at 12:07