Thanks for looking into it.
The Kodi process jumped to more than 100% CPU usage until i closed the openHAB window.
Here is the log. Alonger excerpt is at pastebin
14:06:30.454 T:1226830752 NOTICE: fetching json url=http://10.10.10.10:8080/rest/sitemaps/Neu/00000707, headers={'x-atmosphere-transport': 'long-polling', 'accept': 'application/json'}
14:06:30.479 T:1218442144 NOTICE: fetching json url=http://10.10.10.10:8080/rest/sitemaps/Neu/000007080000, headers={'x-atmosphere-transport': 'long-polling', 'accept': 'application/json'}
14:06:30.496 T:1210053536 NOTICE: fetching json url=http://10.10.10.10:8080/rest/sitemaps/Neu/000007080100, headers={'x-atmosphere-transport': 'long-polling', 'accept': 'application/json'}
14:06:30.531 T:1430246304 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'attribs'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.openhab/resources/lib/menulist.py", line 438, in onInit
self.build_menu()
File "/storage/.kodi/addons/script.module.openhab/default.py", line 61, in build_menu
self.homepage = sitemap.load_page()
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 367, in load_page
self.page = self.oh.create_page_class(self, result['homepage'])
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 259, in create_page_class
i = Page(sitemap, pageData, prevPage)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 384, in __init__
self.init(pageData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 399, in init
self.create_all_widgets(as_array(pageData['widgets']))
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 405, in create_all_widgets
i = self.oh.create_widget_class(self, w)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 324, in create_widget_class
i = FrameWidget(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 479, in __init__
super(FrameWidget, self).__init__(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 430, in __init__
self.init(widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 487, in init
i = self.oh.create_widget_class(self.page, w)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 338, in create_widget_class
i = TextWidget(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 573, in __init__
super(TextWidget, self).__init__(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 430, in __init__
self.init(widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 579, in init
self.page = self.oh.create_page_class(self.page.sitemap, widgetData['linkedPage'], self.page)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 259, in create_page_class
i = Page(sitemap, pageData, prevPage)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 384, in __init__
self.init(pageData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 399, in init
self.create_all_widgets(as_array(pageData['widgets']))
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 405, in create_all_widgets
i = self.oh.create_widget_class(self, w)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 324, in create_widget_class
i = FrameWidget(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 479, in __init__
super(FrameWidget, self).__init__(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 430, in __init__
self.init(widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 487, in init
i = self.oh.create_widget_class(self.page, w)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 338, in create_widget_class
i = TextWidget(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 573, in __init__
super(TextWidget, self).__init__(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 430, in __init__
self.init(widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 579, in init
self.page = self.oh.create_page_class(self.page.sitemap, widgetData['linkedPage'], self.page)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 259, in create_page_class
i = Page(sitemap, pageData, prevPage)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 384, in __init__
self.init(pageData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 399, in init
self.create_all_widgets(as_array(pageData['widgets']))
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 405, in create_all_widgets
i = self.oh.create_widget_class(self, w)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 324, in create_widget_class
i = FrameWidget(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 479, in __init__
super(FrameWidget, self).__init__(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 430, in __init__
self.init(widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 487, in init
i = self.oh.create_widget_class(self.page, w)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 336, in create_widget_class
i = SwitchWidget(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 561, in __init__
super(SwitchWidget, self).__init__(page, widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 430, in __init__
self.init(widgetData)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 62, in func_wrapper
func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.openhab/resources/lib/openhab2.py", line 567, in init
if self.attribs['mapping'] and self.attribs['value'] is None and self.item.attribs['state'] is not None:
AttributeError: 'NoneType' object has no attribute 'attribs'
-->End of Python script error report<--
14:06:43.119 T:1944899584 DEBUG: SECTION:UnloadDelayed(DLL: libnfs.so.8)
14:07:00.848 T:1361048480 NOTICE: response for url=http://10.10.10.10:8080/rest/sitemaps/Neu/00000100, text={"id":"00000100","title":"Modus","icon":"text","link":"http://10.10.10.10:8080/rest/sitemaps/Neu/00000100","parent":{"id":"0000","title":"Heizung","icon":"radiator","link":"http://10.10.10.10:8080/rest/sitemaps/Neu/0000","leaf":false,"timeout":true},"leaf":true,"timeout":true,"widgets":[{"widgetId":"00000100_16","type":"Text","label":"MiHK [Unbekannt]","icon":"radiator","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/MiHK_MODE","state":"NULL","transformedState":"Unbekannt","stateDescription":{"pattern":"","readOnly":false,"options":[{"value":"AUTO-MODE","label":"Auto mode"},{"value":"MANU-MODE","label":"Manu mode"},{"value":"PARTY-MODE","label":"Holiday mode"},{"value":"BOOST-MODE","label":"Boost function"}]},"type":"String","name":"MiHK_MODE","label":"Modus MiHK","category":"radiator","tags":[],"groupNames":["MiHK_Heizung"]},"widgets":[]}]}, headers={'Content-Length': '870', 'Content-Type': 'application/json', 'Server': 'Jetty(9.3.22.v20171030)'}
14:07:00.860 T:1361048480 NOTICE: fetching json url=http://10.10.10.10:8080/rest/sitemaps/Neu/00000100, headers={'x-atmosphere-transport': 'long-polling', 'accept': 'application/json'}
14:07:01.047 T:1454371744 NOTICE: response for url=http://10.10.10.10:8080/rest/sitemaps/Neu/00000600, text={"id":"00000600","title":"Luftfeuchtigkeit [44.2 %]","icon":"humidity","link":"http://10.10.10.10:8080/rest/sitemaps/Neu/00000600","parent":{"id":"0000","title":"Heizung","icon":"radiator","link":"http://10.10.10.10:8080/rest/sitemaps/Neu/0000","leaf":false,"timeout":true},"leaf":false,"timeout":true,"widgets":[{"widgetId":"00000600_0","type":"Frame","label":"","icon":"frame","mappings":[],"widgets":[{"widgetId":"00000600_0_0","type":"Text","label":"AZ [45 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/AZWT_ACTUAL_HUMIDITY","state":"45.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"AZWT_ACTUAL_HUMIDITY","label":"AZ","category":"humidity","tags":[],"groupNames":["AZWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1","type":"Text","label":"Ar [44 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/ArWT_ACTUAL_HUMIDITY","state":"44.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"ArWT_ACTUAL_HUMIDITY","label":"Ar","category":"humidity","tags":[],"groupNames":["ArWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2","type":"Text","label":"B1 [47 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/B1WT_ACTUAL_HUMIDITY","state":"47.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"B1WT_ACTUAL_HUMIDITY","label":"B1","category":"humidity","tags":[],"groupNames":["B1WT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2_3","type":"Text","label":"FE [45 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/FEWT_ACTUAL_HUMIDITY","state":"45.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"FEWT_ACTUAL_HUMIDITY","label":"FE","category":"humidity","tags":[],"groupNames":["FEWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2_3_4","type":"Text","label":"K [44 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/KUWT_ACTUAL_HUMIDITY","state":"44.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"KUWT_ACTUAL_HUMIDITY","label":"KU","category":"humidity","tags":[],"groupNames":["KUWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2_3_4_5","type":"Text","label":"Mi [44 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/MiWT_ACTUAL_HUMIDITY","state":"44.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"MiWT_ACTUAL_HUMIDITY","label":"Mi","category":"humidity","tags":[],"groupNames":["MiWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2_3_4_5_6","type":"Text","label":"Le [42 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/LeWT_ACTUAL_HUMIDITY","state":"42.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"LeWT_ACTUAL_HUMIDITY","label":"Le","category":"humidity","tags":[],"groupNames":["LeWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2_3_4_5_6_7","type":"Text","label":"SZ [43 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/SZWT_ACTUAL_HUMIDITY","state":"43.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"SZWT_ACTUAL_HUMIDITY","label":"SZ","category":"humidity","tags":[],"groupNames":["SZWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2_3_4_5_6_7_8","type":"Text","label":"WZ [44 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/WZWT_ACTUAL_HUMIDITY","state":"44.00","stateDescription":{"pattern":"%.0f %%","readOnly":false,"options":[]},"type":"Number","name":"WZWT_ACTUAL_HUMIDITY","label":"WZ","category":"humidity","tags":[],"groupNames":["WZWT_Heizung","gHumidity","gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]},{"widgetId":"00000600_0_0_1_2_3_4_5_6_7_8_9","type":"Text","label":"Draussen [91 %]","icon":"humidity","mappings":[],"item":{"link":"http://10.10.10.10:8080/rest/items/LOCAL_ACTUAL_HUMIDITY","state":"91","stateDescription":{"pattern":"%d %%","readOnly":false,"options":[]},"type":"Number","name":"LOCAL_ACTUAL_HUMIDITY","label":"Luftfeuchtigkeit draussen","category":"humidity","tags":[],"groupNames":["gRestoreOnStartup","gPersist","gPersistNumber"]},"widgets":[]}]},{"widgetId":"00000600_1","type":"Frame","label":"","icon":"frame","mappings":[],"widgets":[{"widgetId":"00000600_1_0","type":"Switch","label":"Zeitraum","icon":"line","mappings":[{"command":"0","label":"-"},{"command":"4","label":"12h"},{"command":"1","label":"D"},{"command":"5","label":"2D"},{"command":"2","label":"W"},{"command":"3","label":"M"}],"item":{"link":"http://10.10.10.10:8080/rest/items/gHumidity_chart_period","state":"0","type":"Number","name":"gHumidity_chart_period","label":"Zeitraum","category":"line","tags":[],"groupNames":["gRestoreOnStartup"]},"widgets":[]}]}]}, headers={'Content-Length': '5570', 'Content-Type': 'application/json', 'Server': 'Jetty(9.3.22.v20171030)'}
14:07:01.125 T:1454371744 NOTICE: fetching json url=http://10.10.10.10:8080/rest/sitemaps/Neu/00000600, headers={'x-atmosphere-transport': 'long-polling', 'accept': 'application/json'}
14