iAnish / openhab

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

Autorestart Binding if crash #502

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Feature Description

Id would be very smart when Openhab restart a binding, if it crashed.

2. Example Use Case

Currently in openhab 1.4 snapshot the plugwise binding runs but sometimes after 
 1 - 3 days it crashes. Because now this, i check some times, if is still 
runing. But this is not what i expect from my smart home. My smart home should 
be smart a see if something is wrong an correct this. 

Original issue reported on code.google.com by marcusma...@gmail.com on 1 Nov 2013 at 12:04

GoogleCodeExporter commented 9 years ago
How exactly would you define "crashed"? If the thread of its "activeService" is 
not running anymore? Yes, this should be feasible to do (although not crashing 
would be yet even smarter ;-))

Original comment by kai.openhab on 1 Nov 2013 at 8:12

GoogleCodeExporter commented 9 years ago
Hi Kai if it would not crashing will be The best. I don't Figuren out how 
plugwise crashing. I think if you crate a nother smart checking binding wich 
can check the added bindings and display them in the UI. 

How it can it working.

In each binding you ad a service wich call The smart checking binding an say " 
hallo i'am still there" . If dont get a answer restart The binding.

Original comment by marcusma...@gmail.com on 2 Nov 2013 at 6:26

GoogleCodeExporter commented 9 years ago
Just if help full, this is the log 4 Minutes befor it crash ore stop working

09:45:45.699 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:45:45.723 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:45:47.257 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64276
09:45:58.207 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64320
09:45:58.927 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:45:58.952 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:45:59.306 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 5202
09:46:01.219 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64326
09:46:02.689 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64328
09:46:04.715 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64341
09:46:05.701 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64337
09:46:07.747 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64340
09:46:08.711 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64344
09:46:13.921 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:46:13.945 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:46:16.307 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64403
09:46:18.256 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64411
09:46:19.706 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64416
09:46:21.741 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64417
09:46:22.738 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64424
09:46:24.755 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64421
09:46:28.942 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:46:28.967 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:46:43.923 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:46:43.947 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:46:58.985 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:46:59.009 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:46:59.357 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64583
09:46:59.407 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64584
09:47:03.357 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64597
09:47:03.407 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64598
09:47:06.899 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64603
09:47:06.900 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64606
09:47:10.910 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64625
09:47:11.156 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64633
09:47:13.929 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64634
09:47:14.482 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181
# 
09:47:14.512 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error:  APSRequestNodeInfo: Destination MAC: 
000D6F00029C5214 
09:47:14.715 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64643
09:47:16.945 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64644
09:47:17.746 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64652
09:47:19.962 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64653
09:47:20.767 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64654
09:47:22.976 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64655
09:47:23.781 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64657
09:47:26.357 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64660
09:47:28.921 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:47:28.945 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:47:43.941 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:47:43.966 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:47:58.942 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:47:58.966 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:48:13.941 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:48:13.966 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:48:28.986 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:48:29.010 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:48:43.921 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:48:43.945 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:48:45.257 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64984
09:48:46.157 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64987
09:48:48.268 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 64988
09:48:55.206 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65026
09:48:56.206 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65030
09:48:58.218 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65031
09:48:59.850 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:48:59.882 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:49:00.257 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65045
09:49:01.229 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65046
09:49:04.031 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65059
09:49:04.264 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65060
09:49:07.066 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65068
09:49:07.275 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65069
09:49:12.256 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65080
09:49:13.307 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65085
09:49:15.354 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:49:15.378 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:49:24.206 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65131
09:49:24.256 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65132
09:49:27.617 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65136
09:49:27.810 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65137
09:49:30.631 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65138
09:49:30.824 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65146
09:49:33.720 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:49:33.745 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
09:49:37.257 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65167
09:49:38.256 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65170
09:49:41.057 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65184
09:49:41.268 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65183
09:49:44.069 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65185
09:49:44.498 ERROR o.o.b.plugwise.internal.Stick[:494]- Timeout sending 
Plugwise message with sequence number: 65186
09:49:47.527 ERROR o.o.b.plugwise.internal.Stick[:457]- Plugwise protocol 
message error: # APSRequestNodeInfo: Source MAC: 000D6F0002901181# 
APSRequestNodeInfo: Destination MAC:  
09:49:47.551 ERROR o.o.b.plugwise.internal.Stick[:454]- Plugwise protocol 
header error: 000D in message 000D6F00029C5214
11:25:36.152 ERROR o.o.u.i.i.ItemUIRegistryImpl[:386]- Cannot retrieve item 
'Date' for widget org.openhab.model.sitemap.Text
11:25:36.155 ERROR o.o.u.i.i.ItemUIRegistryImpl[:386]- Cannot retrieve item 
'Date' for widget org.openhab.model.sitemap.Text
11:25:40.814 INFO  o.o.b.wol.internal.WolBinding[:103]- Wake-on-LAN packet sent 
[broadcastIp=192.168.177.0, macaddress=eca86bf49ab0]
12:50:28.834 ERROR o.o.u.i.i.ItemUIRegistryImpl[:386]- Cannot retrieve item 
'Date' for widget org.openhab.model.sitemap.Text

Original comment by marcusma...@gmail.com on 3 Nov 2013 at 11:55

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 6 Nov 2013 at 8:36

GoogleCodeExporter commented 9 years ago
Migrated to https://bugs.eclipse.org/bugs/show_bug.cgi?id=423535

Original comment by kai.openhab on 8 Dec 2013 at 2:53