[Solved] [Pebcak] Configuring HabPanel seems to have broken BasicUI (neither are working)

Hi all,
Finally got time to play today - setup MQTT and got basicui working with a few Sonoff devices :slight_smile:
Decided to check out HabPanel and after setting up one switch widget (which failed to work) - then going back to BasicUI, nothing works.
Everything looks sane - completely confused!

Anyone got an idea?

Hi,

without knowing how the sitemap file looks it is hard to say where to start. Do you use a items file?

Morning
Yes use .items

My sitemap looks like this:

sitemap home label=“Home”
{ Frame label=“Upstairs”

// { Switch item=LandingLight
// Text item=LandingLight

Frame label=“Isaacs Room”
{ Switch item=light
Text item=nightlight
// Text item=light_wifi
// Text item=light_mqtt
// Switch item=Power1
// Text item=Monitor1
// Switch item=Power2
// Text item=Monitor2
}

Frame label=“Den”
{ //Switch item=DenLight
//Text item=DenLight
Switch item=Power1
Text item=Monitor1
Switch item=Power2
Text item=Monitor2
}
}

This is like my 5th hour working with openhabian :slight_smile: MQTT etc was working just fine until i opened up habpanel site :frowning:

So cleaned up my code a little (removed the commented out fields) and now the monitor switches work thought the light still will not work although it seems that mqtt gets its state as when i manually turn on the light and then refresh basicUI the switch reports that its now on, very confused!

sitemap home label=“Home”
{Frame label=“Isaacs Room”
{ Switch item=light
Text item=nightlight
}

Frame label=“Den”
{ Switch item=Power1
Text item=Monitor1
Switch item=Power2
Text item=Monitor2
}
}


Interesting, Solved my shortcomings…

In the .items file - I had another reference to “light” and that was confusing OH and me :slight_smile:

Learning curve is steep but so much fun!

1 Like