This is a Kodi (formerly known as xbmc) plugin for Openhab. It allows users to control Openhab from within the Kodi environment. The orignal project was created for xmbc originally created by a group RICM5 2014 students. The original page in French is located herehttp://air.imag.fr/index.php/Extensions_XBMC.
The code as it stands now is compatible with the Kodi (Helix) the current version at the time of writing this.
e.g.
do thisfrom a browser go to http://openhabserver:port/rest for me http://pi:8080/rest
from here you should see this a link for sitemaps
Go to that link -> here you will see your top level site maps - for me it looks like this
<sitemaps><sitemap><name>default</name><label>My Home</label></sitemap></sitemaps>
This is the key line
the first identifier after "sitemaps/" goes in sitemapthe second identifier goes in startpage
I am not quite sure where the second identifier comes from or what its called, could find its name in the docs. It was called id in the original addin, I had to debug the code to figure out what they were looking for.
hope this helps.
my settings are
On Tuesday, April 28, 2015 at 4:52:31 PM UTC-4, Ben Jones wrote:Hi Enis,
I tried this but didn't have much luck. What does the 'Start Page' setting refer to?
Regards,Ben
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/a6FBNtNyCck/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/4125aa2c-97a8-40c4-a921-ce13148a5160%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ERROR: GetDirectory - Error getting plugin://script.module.openhab/ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.openhab/) failed
11:14:41 T:140442839725952 DEBUG: CGUIMediaWindow::GetDirectory (plugin://script.module.openhab/)11:14:41 T:140442839725952 DEBUG: ParentPath = [addons://sources/executable/]11:14:41 T:140441496270592 DEBUG: StartScript - calling plugin openhHab for Kodi('plugin://script.module.openhab/','13','')11:14:41 T:140441496270592 DEBUG: WaitOnScriptResult - waiting on the openhHab for Kodi (id=61) plugin...11:14:41 T:140441331046144 NOTICE: Thread LanguageInvoker start, auto delete: false11:14:41 T:140441331046144 INFO: initializing python engine.11:14:41 T:140441331046144 DEBUG: CPythonInvoker(61, /storage/.kodi/addons/script.module.openhab/addon.py): start processing11:14:41 T:140441331046144 NOTICE: -->Python Interpreter Initialized<--11:14:41 T:140441331046144 DEBUG: CPythonInvoker(61, /storage/.kodi/addons/script.module.openhab/addon.py): the source file to load is "/storage/.kodi/addons/script.$11:14:41 T:140441331046144 DEBUG: CPythonInvoker(61, /storage/.kodi/addons/script.module.openhab/addon.py): setting the Python path to /storage/.kodi/addons/script.m$11:14:41 T:140441331046144 DEBUG: CPythonInvoker(61, /storage/.kodi/addons/script.module.openhab/addon.py): entering source directory /storage/.kodi/addons/script.mo$11:14:41 T:140441331046144 DEBUG: CPythonInvoker(61, /storage/.kodi/addons/script.module.openhab/addon.py): instantiating addon using automatically obtained id of "s$11:14:41 T:140441331046144 NOTICE: [openHab] Init11:14:41 T:140441331046144 NOTICE: KeyError11:14:41 T:140441331046144 DEBUG: LocalizeStrings: no strings.po file exist at /storage/.kodi/addons/script.module.openhab/resources/language/English, fallback to st$11:14:41 T:140442839725952 DEBUG: ------ Window Init (DialogBusy.xml) ------11:14:41 T:140442839725952 DEBUG: ------ Window Init (DialogOK.xml) ------11:14:43 T:140442839725952 DEBUG: ------ Window Deinit (DialogOK.xml) ------11:14:43 T:140441331046144 INFO: CPythonInvoker(61, /storage/.kodi/addons/script.module.openhab/addon.py): script successfully run11:14:43 T:140441331046144 DEBUG: Thread LanguageInvoker 140441331046144 terminating11:14:43 T:140441496270592 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating11:14:43 T:140442839725952 ERROR: GetDirectory - Error getting plugin://script.module.openhab/11:14:43 T:140442839725952 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.openhab/) failed11:14:43 T:140442839725952 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/executable/)11:14:43 T:140442839725952 DEBUG: ParentPath = []11:14:43 T:140441331046144 NOTICE: Thread BackgroundLoader start, auto delete: false11:14:43 T:140441331046144 DEBUG: Thread BackgroundLoader 140441331046144 terminating11:14:43 T:140442839725952 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/a6FBNtNyCck/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/83056967-fbbd-4549-b617-5ca86720d681%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/2b9d027c-cb09-4222-a0c2-a366db5ed0cf%40googlegroups.com.
10:46:49 T:1422914624 NOTICE: (<type 'exceptions.KeyError'>, 'addon.py', 154)
10:46:49 T:1422914624 NOTICE: KeyError
10:46:49 T:1422914624 NOTICE: [openHab] ERROR: Exception Location: [Main Menu] Type:[KeyError] Exception:['widget']
10:46:55 T:1970033184 ERROR: GetDirectory - Error getting plugin://script.module.openhab/
10:46:55 T:1970033184 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.openhab/) failed
I saw that the information is retrieved fromthe REST API, but I got the abover error.
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/a6FBNtNyCck/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/67d780b5-66bf-49ae-abb5-454dcb9a6dab%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/CAJQObzrC7_JyUq%2BT_3wEaTUqY95cF36eYcvcg203Z86g-dHkiA%40mail.gmail.com.
10:28:01 T:2488 DEBUG: Activating window ID: 10001
10:28:01 T:2488 DEBUG: ------ Window Deinit (Home.xml) ------
10:28:01 T:2488 DEBUG: ------ Window Init (MyPrograms.xml) ------
10:28:01 T:2488 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/executable/)
10:28:01 T:2488 DEBUG: ParentPath = [addons://sources/executable/]
10:28:01 T:4036 NOTICE: Thread BackgroundLoader start, auto delete: false
10:28:01 T:4036 DEBUG: Thread BackgroundLoader 4036 terminating
10:28:01 T:2504 DEBUG: CTextureCacheJob::GetImageHash - unable to stat url C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.axel.downloader\icon.png
10:28:03 T:2488 DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
10:28:03 T:2488 DEBUG: CGUIMediaWindow::GetDirectory (plugin://script.module.openhab/)
10:28:03 T:2488 DEBUG: ParentPath = [addons://sources/executable/]
10:28:03 T:2504 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin openhHab for Kodi('plugin://script.module.openhab/','3','')
10:28:03 T:2504 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the openhHab for Kodi (id=15) plugin...
10:28:03 T:6604 NOTICE: Thread LanguageInvoker start, auto delete: false
10:28:03 T:6604 INFO: initializing python engine.
10:28:03 T:6604 DEBUG: CPythonInvoker(15, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): start processing
10:28:03 T:6604 NOTICE: -->Python Interpreter Initialized<--
10:28:03 T:6604 DEBUG: CPythonInvoker(15, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): the source file to load is "C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py"
10:28:03 T:6604 DEBUG: CPythonInvoker(15, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): setting the Python path to C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab;C:\Program Files\Kodi\system\python\DLLs;C:\Program Files\Kodi\system\python\Lib;C:\Program Files\Kodi\python27.zip;C:\Program Files\Kodi\system\python\lib\plat-win;C:\Program Files\Kodi\system\python\lib\lib-tk;C:\Program Files\Kodi;C:\Program Files\Kodi\system\python;C:\Program Files\Kodi\system\python\lib\site-packages
10:28:03 T:6604 DEBUG: CPythonInvoker(15, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): entering source directory C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab
10:28:03 T:6604 DEBUG: CPythonInvoker(15, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): instantiating addon using automatically obtained id of "script.module.openhab" dependent on version 2.19.0 of the xbmc.python api
10:28:03 T:2488 DEBUG: ------ Window Init (DialogBusy.xml) ------
10:28:04 T:6604 NOTICE: [openHab] Starting
10:28:04 T:6604 NOTICE: [openHab] DEBUG: Debug Flag is true
10:28:04 T:6604 NOTICE: [openHab] Initializing - Main Menu
10:28:04 T:6604 NOTICE: [openHab] DEBUG: getJsonSiteMap url : [http://127.0.0.1:8080/rest/sitemaps/ArduinoDemo/Home?type=json]
10:28:04 T:6604 NOTICE: [openHab] DEBUG: getJson json_string : [{"id":"Home","title":"Home","link":"http://127.0.0.1:8080/rest/sitemaps/ArduinoDemo/Home","leaf":"true","widget":[{"widgetId":"Home_0","type":"Frame","label":"Ardunio 1","icon":"frame","widget":[{"widgetId":"Home_0_0","type":"Text","label":"Arduino_1 Online [OFF]","icon":"network-off","item":{"type":"SwitchItem","name":"Arduino_1_Up","state":"OFF","link":"http://127.0.0.1:8080/rest/items/Arduino_1_Up"}},{"widgetId":"Home_0_0_1","type":"Group","label":"Arduino_1","icon":"bath","item":{"type":"GroupItem","name":"Arduino_1","state":"Undefined","link":"http://127.0.0.1:8080/rest/items/Arduino_1"},"linkedPage":{"id":"0001","title":"Arduino_1","icon":"bath","link":"http://127.0.0.1:8080/rest/sitemaps/ArduinoDemo/0001","leaf":"false"}},{"widgetId":"Home_0_0_1_2","type":"Text","label":"Analog outputs - adjustable","icon":"settings","linkedPage":{"id":"0002","title":"Analog outputs - adjustable","icon":"settings","link":"http://127.0.0.1:8080/rest/sitemaps/ArduinoDemo/0002","leaf":"true"}}]},{"widgetId":"Home_1","type":"Frame","label":"Internet","icon":"frame","widget":{"widgetId":"Home_1_0","type":"Text","label":"Internet","icon":"network","linkedPage":{"id":"0100","title":"Internet","icon":"network","link":"http://127.0.0.1:8080/rest/sitemaps/ArduinoDemo/0100","leaf":"false"}}}]}]
10:28:04 T:6604 ERROR: Traceback (most recent call last):
10:28:04 T:6604 ERROR: File "C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py", line 147, in <module>
10:28:04 T:6604 ERROR: listing = createListingSite(siteMap)
10:28:04 T:6604 ERROR: File "C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py", line 84, in createListingSite
10:28:04 T:6604 ERROR: tmp_floor = Floor(floor['label'],floor['item']['link'], floor['linkedPage']['id'], floor['linkedPage']['leaf'])
10:28:04 T:6604 ERROR: KeyError: 'linkedPage'
10:28:04 T:6604 NOTICE: KeyError
10:28:04 T:6604 NOTICE: [openHab] ERROR: Exception Location: [Main Menu] Type:[KeyError] Exception:['linkedPage']
10:28:04 T:6604 DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\resources\language\English, fallback to strings.xml
10:28:04 T:2488 DEBUG: ------ Window Init (DialogOK.xml) ------
10:28:08 T:2488 DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
10:28:08 T:2488 DEBUG: ------ Window Deinit (DialogOK.xml) ------
10:28:08 T:6604 INFO: CPythonInvoker(15, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): script successfully run
10:28:08 T:2488 DEBUG: CPythonInvoker(15, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): script termination took 0ms
10:28:08 T:6604 INFO: Python script interrupted by user
10:28:08 T:6604 DEBUG: Thread LanguageInvoker 6604 terminating
10:28:08 T:2504 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
10:28:08 T:2488 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.module.openhab/
10:28:08 T:2488 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.openhab/) failed
10:28:08 T:2488 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/executable/)
10:28:08 T:2488 DEBUG: ParentPath = []
10:28:08 T:6940 NOTICE: Thread BackgroundLoader start, auto delete: false
10:28:09 T:2488 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
10:28:09 T:2504 DEBUG: CTextureCacheJob::GetImageHash - unable to stat url C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.axel.downloader\icon.png
10:28:09 T:6940 DEBUG: Thread BackgroundLoader 6940 terminating
22:28:34 T:1768895552 NOTICE: [openHab] Starting22:28:34 T:1768895552 NOTICE: [openHab] DEBUG: Debug Flag is true22:28:34 T:1768895552 NOTICE: [openHab] Initializing - Main Menu22:28:34 T:1768895552 NOTICE: [openHab] DEBUG: getJsonSiteMap url : [http://127.0.0.1:8080/rest/sitemaps/Lillo/Lillo?type=json]22:28:34 T:1768895552 NOTICE: [openHab] DEBUG: getJson json_string : [{"id":"Lillo","title":"Main Menu","link":"http://127.0.0.1:8080/rest/sitemaps/Lillo/Lillo","leaf":"false","widget":[{"widgetId":"Lillo_0","type":"Switch","label":"Enchufe","icon":"socket-off","item":{"type":"SwitchItem","name":"Enchufe1","state":"OFF","link":"http://127.0.0.1:8080/rest/items/Enchufe1"}},{"widgetId":"Lillo_1","type":"Switch","label":"Interruptor","icon":"switch-off","item":{"type":"SwitchItem","name":"Interruptor1","state":"OFF","link":"http://127.0.0.1:8080/rest/items/Interruptor1"}},{"widgetId":"Lillo_2","type":"Text","label":"MQTT [-]","icon":"bluetooth","item":{"type":"NumberItem","name":"testmqtt","state":"Uninitialized","link":"http://127.0.0.1:8080/rest/items/testmqtt"}},{"widgetId":"Lillo_3","type":"Text","label":"Temperatura [25.0 ºC]","icon":"temperature","item":{"type":"NumberItem","name":"Temperatura","state":"25.00","link":"http://127.0.0.1:8080/rest/items/Temperatura"}},{"widgetId":"Lillo_4","type":"Text","label":"DAFDSF [-]","icon":"switch","item":{"type":"StringItem","name":"test2mqtt","state":"Uninitialized","link":"http://127.0.0.1:8080/rest/items/test2mqtt"}},{"widgetId":"Lillo_5","type":"Group","label":"dfasf","icon":"group","linkedPage":{"id":"05","title":"dfasf","icon":"group","link":"http://127.0.0.1:8080/rest/sitemaps/Lillo/05","leaf":"true"}},{"widgetId":"Lillo_6","type":"Group","label":"XBMC","icon":"group","linkedPage":{"id":"06","title":"XBMC","icon":"group","link":"http://127.0.0.1:8080/rest/sitemaps/Lillo/06","leaf":"true"}}]}]22:28:34 T:1768895552 ERROR: Traceback (most recent call last):22:28:34 T:1768895552 ERROR: File "/storage/.kodi/addons/script.module.openhab/addon.py", line 147, in <module>22:28:34 T:1768895552 ERROR: listing = createListingSite(siteMap)22:28:34 T:1768895552 ERROR: File "/storage/.kodi/addons/script.module.openhab/addon.py", line 81, in createListingSite22:28:34 T:1768895552 ERROR: widgets2.append(w['widget'])22:28:34 T:1768895552 ERROR: KeyError: 'widget'22:28:34 T:1768895552 NOTICE: KeyError22:28:34 T:1768895552 NOTICE: [openHab] ERROR: Exception Location: [Main Menu] Type:[KeyError] Exception:['widget']22:28:36 T:1970033184 ERROR: GetDirectory - Error getting plugin://script.module.openhab/22:28:36 T:1970033184 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.openhab/) failed22:28:36 T:1768895552 NOTICE: Thread BackgroundLoader start, auto delete: false
Thank you for sending your sitemap, I tried it and it works in Openhab without problems, but Kodi still gets an error. There must be something different with my Kodi setup. I will keep digging to see if I can find it.
Thanks
On Monday, April 27, 2015 at 6:25:59 PM UTC-6, Enis Hoca wrote:I discovered this quite by accident googling around, looks like some French university students have made a pretty decent GUI to control openhab from within xmbc/kodi. I think its a brilliant idea, hate looking for the phone at night.Anyway I have dusted it off, made it compatible with the latest version of Kodi and some minor changes on wording that I found confusing.Here is the link to the github page https://github.com/enishoca/openhab-kodiIntroduction
This is a Kodi (formerly known as xbmc) plugin for Openhab. It allows users to control Openhab from within the Kodi environment. The orignal project was created for xmbc originally created by a group RICM5 2014 students. The original page in French is located herehttp://air.imag.fr/index.php/Extensions_XBMC.
The code as it stands now is compatible with the Kodi (Helix) the current version at the time of writing this.
Installation and Usage
- Download the current version or alternatively click on the the zip file link above - then right click on 'View Raw' link and save the file.
- install it as you would normally install Kodi addons. You will need to go in the setings menu and change the default settings for the addon to match your installation.
e.g.
- Server IP address : 127.0.0.1
- Server port : 8080
- Sitemap name : default
- Start page : default
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/a6FBNtNyCck/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/3b461acf-80a8-41ef-a42c-819f17a086b3%40googlegroups.com.
11:08:25 T:7668 DEBUG: CGUIMediaWindow::GetDirectory (plugin://script.module.openhab/)
11:08:25 T:7668 DEBUG: ParentPath = [addons://sources/executable/]
11:08:25 T:6276 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin openhHab for Kodi('plugin://script.module.openhab/','1','')
11:08:25 T:6276 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the openhHab for Kodi (id=14) plugin...
11:08:25 T:8148 NOTICE: Thread LanguageInvoker start, auto delete: false
11:08:25 T:8148 INFO: initializing python engine.
11:08:25 T:8148 DEBUG: CPythonInvoker(14, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): start processing
11:08:25 T:8148 NOTICE: -->Python Interpreter Initialized<--
11:08:25 T:8148 DEBUG: CPythonInvoker(14, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): the source file to load is "C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py"
11:08:25 T:8148 DEBUG: CPythonInvoker(14, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): setting the Python path to C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab;C:\Program Files\Kodi\system\python\DLLs;C:\Program Files\Kodi\system\python\Lib;C:\Program Files\Kodi\python27.zip;C:\Program Files\Kodi\system\python\lib\plat-win;C:\Program Files\Kodi\system\python\lib\lib-tk;C:\Program Files\Kodi;C:\Program Files\Kodi\system\python;C:\Program Files\Kodi\system\python\lib\site-packages
11:08:25 T:8148 DEBUG: CPythonInvoker(14, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): entering source directory C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab
11:08:25 T:8148 DEBUG: CPythonInvoker(14, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): instantiating addon using automatically obtained id of "script.module.openhab" dependent on version 2.19.0 of the xbmc.python api
11:08:25 T:7668 DEBUG: ------ Window Init (DialogBusy.xml) ------
11:08:25 T:8148 NOTICE: [openHab] Starting
11:08:25 T:8148 NOTICE: [openHab] DEBUG: Debug Flag is true
11:08:25 T:8148 NOTICE: [openHab] Initializing - Main Menu
11:08:25 T:8148 NOTICE: [openHab] DEBUG: getJsonSiteMap url : [http://127.0.0.1:8080/rest/sitemaps/default/default?type=json]
11:08:26 T:8148 NOTICE: [openHab] DEBUG: getJson json_string : [{"id":"default","title":"Home","link":"http://127.0.0.1:8080/rest/sitemaps/default/default","leaf":"true","widget":{"widgetId":"default_0","type":"Frame","label":"","icon":"frame","widget":[{"widgetId":"default_0_0","type":"Group","label":"Living Space","icon":"house","linkedPage":{"id":"0000","title":"Living Space","icon":"house","link":"http://127.0.0.1:8080/rest/sitemaps/default/0000","leaf":"true"}},{"widgetId":"default_0_0_1","type":"Group","label":"Basement and Attic","icon":"cellar","linkedPage":{"id":"0001","title":"Basement and Attic","icon":"cellar","link":"http://127.0.0.1:8080/rest/sitemaps/default/0001","leaf":"true"}}]}}]
11:08:26 T:8148 ERROR: Traceback (most recent call last):
11:08:26 T:8148 ERROR: File "C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py", line 147, in <module>
11:08:26 T:8148 ERROR: listing = createListingSite(siteMap)
11:08:26 T:8148 ERROR: File "C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py", line 81, in createListingSite
11:08:26 T:8148 ERROR: widgets2.append(w['widget'])
11:08:26 T:8148 ERROR: TypeError: string indices must be integers
11:08:26 T:8148 NOTICE: TypeError
11:08:26 T:8148 NOTICE: [openHab] ERROR: Exception Location: [Main Menu] Type:[TypeError] Exception:[string indices must be integers]
11:08:26 T:8148 DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\resources\language\English, fallback to strings.xml
11:08:26 T:7668 DEBUG: ------ Window Init (DialogOK.xml) ------
11:08:26 T:7668 INFO: Loading skin file: DialogOK.xml, load type: KEEP_IN_MEMORY
11:08:28 T:7668 DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
11:08:28 T:7668 DEBUG: ------ Window Deinit (DialogOK.xml) ------
11:08:28 T:8148 INFO: CPythonInvoker(14, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): script successfully run
11:08:28 T:7668 DEBUG: CPythonInvoker(14, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.module.openhab\addon.py): script termination took 0ms
11:08:28 T:8148 INFO: Python script interrupted by user
11:08:28 T:8148 DEBUG: Thread LanguageInvoker 8148 terminating
11:08:28 T:6276 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
11:08:28 T:7668 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.module.openhab/
11:08:28 T:7668 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.openhab/) failed
11:08:28 T:7668 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/executable/)
11:08:28 T:7668 DEBUG: ParentPath = []
sitemap simple label="Simple"
{
Frame label="Floor1" {
Group item=Room1 icon="bedroom"
Group item=Room2 icon="kitchen"
}
Frame label="Floor2" {
Group item=Room3 label="Study" icon="office"
Group item=Room4 label="Study" icon="office"
}
}
...