- Platform information:
- Hardware: Vmware 4x Processors 2x core ea./4GB Ram/180GB HDD
- OS: CentOS7
- Java Runtime Environment: Latest JDK
- openHAB version: OpenHab 2 Repository Installed
- Issue of the topic: Unable to get my sitemap to load in basic UI. Basic UI reports:
Available sitemaps
It seems like you have not defined any sitemaps yet. To build one, please check the documentation for guidance.
- Please post configurations (if applicable): See Below
- Items configuration related to the issue: See Below
- Sitemap configuration related to the issue: See Below
- Rules code related to the issue: None created?
- Services configuration related to the issue: Unknown
- If logs where generated please post these here using code fences: Unknown
Good morning,
I am stuck on getting my default.sitemap to display under the basic ui. Any help would be greatly appreciated. It keeps telling me under the Basic UI:
“Available sitemaps
It seems like you have not defined any sitemaps yet. To build one, please check the documentation for guidance.”
I have created (in included below) my items and sitemap files under the /etc/openhab2/sitemaps/ folder and etc/openhab2/items/ folders respectively.
I have defined under Paper UI -> Configuration -> Services -> UI -> Basic UI -> Default Sitemap -> default
I’ve attempted to chown the sitemap:
[dashbox@localhost sitemaps]$ sudo chown openhab:openhab default.sitemap
I’ve reloaded the openhab2 service:
[dashbox@localhost etc]$ sudo systemctl restart openhab2.service
default.items
Group Home "Our Home" <house>
Group GF "Ground Floor" <groundfloor> (Home)
Group FF "First Floor" <firstfloor> (Home)
Group F2 "Second Floor" <attic> (Home)
Group GF_Basement "Basement" <cellar> (Home, GF)
Group GF_Office "Office" <office> (Home, GF)
Group GF_TheaterRoom "Theater Room" <projector> (Home, GF)
Group FF_AbbeySRoom "Abbey's Room" <bedroom> (Home, FF)
Group FF_AmeliaSRoom "Amelia's Room" <bedroom> (Home, FF)
Group FF_Kitchen "Kitchen" <kitchen> (Home, FF)
Group FF_LivingRoom "Living Room" <sofa> (Home, FF)
Group FF_LillySRoom "Lilly's Room" <bedroom> (Home, FF)
Group F2_AvaSRoom "Ava's Room" <bedroom> (Home, F2)
Group F2_KidSLivingRoom "Kid's Living Room" <none> (Home, F2)
Group F2_OurRoom "Our Room" <bedroom> (Home, F2)
Switch GF_Basement_Light "Light" <light> (GF_Basement, gLight) {channel="tplinksmarthome:hs200:0f36f8c9:switch"}
Switch GF_Basement_BasementGoogleHomeMini "Basement Google Home Mini" <mediacontrol> (GF_Basement, gBasementGoogleHomeMini) {channel="chromecast:chromecast:8bf5c4bb267475d6016cb8b1e310395d:control"}
Switch GF_Basement_TheaterRoomLights "Light" <light> (GF_Basement, gTheaterRoomLights) {channel="hue:0100:0017884895f8:7:brightness"}
Switch GF_Office_Light "Light" <light> (GF_Office, gLight) {channel="chromecast:chromecast:8d33adc84efa29fab1b81b55f213fae3:control"}
Switch FF_AbbeySRoom_Light "Light" <light> (FF_AbbeySRoom, gLight) {channel=""}
Switch FF_AbbeySRoom_AbbeySGoogleHomeMini "Abbey's Google Home Mini" <mediacontrol> (FF_AbbeySRoom, gAbbeySGoogleHomeMini) {channel=""}
Switch FF_Kitchen_Light "Light" <light> (FF_Kitchen, gLight) {channel=""}
Switch FF_Kitchen_KitchenGoogleHome "Kitchen Google Home" <mediacontrol> (FF_Kitchen, gKitchenGoogleHome) {channel="chromecast:chromecast:89b88ad2ce18bbd5dff58137ac7131d2:control"}
Switch FF_LivingRoom_Light "Light" <light> (FF_LivingRoom, gLight) {channel="hue:0100:0017884895f8:1:brightness"}
Switch FF_LivingRoom_LivingRoomChromecast "Living Room Chromecast" <mediacontrol> (FF_LivingRoom, gLivingRoomChromecast) {channel="chromecast:chromecast:659f00825981848260d5ea307d5630c4:control"}
Switch FF_LillysSRoom_AmeliaSLight "Light" <light> (FF_LillySRoom, gLillySLight) {channel="hue:0100:0017884895f8:6:brightness"}
Switch FF_LillysSRoom_AmeliaSGoogleHomeMini "Lilly's Google Home Mini" <mediacontrol> (FF_LillySRoom, gLillySGoogleHomeMini) {channel="chromecast:chromecast:1121c1820922e663b9f27ff8740c173d:control"}
Switch FF_AmeliaSRoom_AmeliaSLight "Light" <light> (FF_AmeliaSRoom, gAmeliaSLight) {channel="hue:0100:0017884895f8:2:brightness"}
Switch FF_AmeliaSRoom_AmeliaSGoogleHomeMini "Amelia's Google Home Mini" <mediacontrol> (FF_AmeliaSRoom, gAmeliaSGoogleHomeMini) {channel="chromecast:chromecast:8bf5c4bb267475d6016cb8b1e310395d:control"}
Switch F2_AvaSRoom_Light "Light" <light> (F2_AvaSRoom, gLight) {channel=""}
Switch F2_AvaSRoom_AvaSGoogleHomeMini "Ava's Google Home Mini" <mediacontrol> (F2_AvaSRoom, gAvaSGoogleHomeMini) {channel="chromecast:chromecast:3159e3d0f7373b5d44af55791752dbc6:control"}
Switch F2_KidSLivingRoom_KidSLivingrooomGoogleHomeMini "Kid's Livingrooom Google Home Mini" <mediacontrol> (F2_KidSLivingRoom, gKidSLivingrooomGoogleHomeMini) {channel="chromecast:chromecast:4037d793a81924ab0909eb550b1d02d1:control"}
Switch F2_OurRoom_Light "Light" <light> (F2_OurRoom, gLight) {channel="hue:0100:0017884895f8:5:brightness"}
Switch F2_OurRoom_Chromecast "Chromecast" <mediacontrol> (F2_OurRoom, gChromecast) {channel="chromecast:chromecast:532ebb6661eab7891aa70eaef73c61f5:control"}
Switch F2_OurRoom_OurGoogleHome "Our Google Home" <mediacontrol> (F2_OurRoom, gOurGoogleHome) {channel="chromecast:chromecast:fa26d67c0719708056dc48af4a0fe389:control"}
Group:Switch:OR(ON, OFF) gLight "Light" <light> (Home)
Group:Switch:OR(ON, OFF) gBasementGoogleHomeMini "Basement Google Home Mini" <none> (Home)
Group:Switch:OR(ON, OFF) gTheaterRoomLights "Theater Room Lights" <none> (Home)
Group:Switch:OR(ON, OFF) gKitchenGoogleHome "Kitchen Google Home" <none> (Home)
Group:Switch:OR(ON, OFF) gLivingRoomChromecast "Living Room Chromecast" <none> (Home)
Group:Switch:OR(ON, OFF) gAvaSGoogleHomeMini "Ava's Google Home Mini" <none> (Home)
Group:Switch:OR(ON, OFF) gAbbeySGoogleHomeMini "Abbey's Google Home Mini" <none> (Home)
Group:Switch:OR(ON, OFF) gKidSLivingrooomGoogleHomeMini "Kid's Livingrooom Google Home Mini" <none> (Home)
Group:Switch:OR(ON, OFF) gChromecast "Chromecast" <none> (Home)
Group:Switch:OR(ON, OFF) gOurGoogleHome "Our Google Home" <none> (Home)
Group:Switch:OR(ON, OFF) gAmeliaSLight "Amelia's Light" <none> (Home)
Group:Switch:OR(ON, OFF) gAmeliaSGoogleHomeMini "Amelia's Google Home Mini" <none> (Home)
default.sitemap
sitemap our_home label="Our Home" {
Frame label="Ground Floor" icon="cellar" {
Group item=GF_Basement
Group item=GF_Office
Group item=GF_TheaterRoom
}
Frame label="First Floor" icon="groundfloor" {
Group item=FF_AbbeySRoom
Group item=FF_AmeliaSRoom
Group item=FF_Kitchen
Group item=FF_LivingRoom
Group item=FF_LillySRoom
}
Frame label="Second Floor" icon="firstfloor" {
Group item=F2_AvaSRoom
Group item=F2_KidSLivingRoom
Group item=F2_OurRoom
}
Frame {
Text label="Light" icon="light" {
Default item=GF_Basement_Light label="Basement"
Default item=GF_Basement_TheaterRoomLights label="Basement"
Default item=GF_Office_Light label="Office"
Default item=FF_AbbeySRoom_Light label="Abbey's Room"
Default item=FF_Kitchen_Light label="Kitchen"
Default item=FF_LivingRoom_Light label="Living Room"
Default item=F2_AvaSRoom_Light label="Ava's Room"
Default item=F2_OurRoom_Light label="Our Room"
}
Frame {
Text label="Google Homes and ChromeCasts" icon="mediacontrol" {
Default item=GF_Basement_BasementGoogleHomeMini label="Basement"
Default item=FF_Kitchen_KitchenGoogleHome label="Kitchen"
Default item=FF_LivingRoom_LivingRoomChromecast label="Living Room"
Default item=F2_AvaSRoom_AvaSGoogleHomeMini label="Ava's Room"
Default item=FF_AbbeySRoom_AbbeySGoogleHomeMini label="Abbey's Room"
Default item=F2_KidSLivingRoom_KidSLivingrooomGoogleHomeMini label="Kid's Living Room"
Default item=F2_OurRoom_Chromecast label="Our Room"
Default item=F2_OurRoom_OurGoogleHome label="Our Room"
}
}
}
OpenHab2 Service Status:
[dashbox@localhost sitemaps]$ sudo systemctl status openhab2.service
[sudo] password for dashbox:
â—Ź openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2018-11-12 10:33:31 EST; 25min ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 73813 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=0/SUCCESS)
Main PID: 74115 (java)
Tasks: 212
Memory: 759.2M
CGroup: /system.slice/openhab2.service
└─74115 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtim…
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.ChromeCast.getMediaStatus(ChromeCast.java:291)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at org.openhab.binding.chromecast.internal.ChromecastCommander.handleRefresh(Chrom…va:102)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at org.openhab.binding.chromecast.handler.ChromecastHandler$Coordinator$1.run(Chro…va:231)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301…va:180)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu…va:294)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.lang.Thread.run(Thread.java:748)
Hint: Some lines were ellipsized, use -l to show in full.
[dashbox@localhost sitemaps]$
OpenHab2 Logs:
Nov 12 10:33:31 localhost.localdomain systemd[1]: Starting openHAB 2 - empowering the smart home…
Nov 12 10:33:45 localhost.localdomain karaf[74115]: java.lang.InterruptedException
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.lang.Object.wait(Native Method)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.Channel$ResultProcessor.get(Channel.java:239)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.Channel.send(Channel.java:367)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.Channel.sendStandard(Channel.java:336)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.Channel.getStatus(Channel.java:451)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.ChromeCast.getStatus(ChromeCast.java:179)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.ChromeCast.getRunningApp(ChromeCast.java:187)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at su.litvak.chromecast.api.v2.ChromeCast.getMediaStatus(ChromeCast.java:291)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at org.openhab.binding.chromecast.internal.ChromecastCommander.handleRefresh(ChromecastComma
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at org.openhab.binding.chromecast.handler.ChromecastHandler$Coordinator$1.run(ChromecastHand
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Scheduled
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadP
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Nov 12 10:33:45 localhost.localdomain karaf[74115]: at java.lang.Thread.run(Thread.java:748)