Issue of the topic: All seems to be working except I can not get a chart to appear in my sitemap.
Please post configurations (if applicable):
Sitemap configuration related to the issue
Group icon="switch" label="Medion Switch" item=MedionSwitch_MedionSwitch {
Switch icon="switch" item=MedionSwitch_MedionSwitch
Text item=MedionSwitch_MedionVoltage
Chart item=MedionSwitch_MedionVoltage label="voltage"
Text label="Current" item=MedionSwitch_MedionCurrent
Text label="Power Factor" item=MedionSwitch_MedionFactor
Text label="Power" item=MedionSwitch_MedionPower
}
If logs where generated please post these here using code fences: events.log 2020-12-28 19:31:44.176 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionSwitchâ changed from OFF to ON
2020-12-28 19:32:54.505 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionFactorâ changed from 0.0 to 0.57
2020-12-28 19:32:54.542 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionPowerâ changed from 0.0 W to 4.0 W
2020-12-28 19:32:54.548 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionCurrentâ changed from 0.0 to 0.026
2020-12-28 19:42:54.522 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionVoltageâ changed from 237 to 236
2020-12-28 19:42:54.531 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionCurrentâ changed from 0.026 to 0.027
2020-12-28 19:47:54.537 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionPowerâ changed from 4.0 W to 3.0 W
2020-12-28 19:47:54.545 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionFactorâ changed from 0.57 to 0.52
2020-12-28 19:47:54.549 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionVoltageâ changed from 236 to 235
2020-12-28 19:47:54.555 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item âMedionSwitch_MedionCurrentâ changed from 0.027 to 0.026
openhab.log 2020-12-28 19:47:37.586 [ERROR] [components.UIComponentSitemapProvider] - Cannot build sitemap page_f5131ac12b
java.lang.ClassCastException: class java.math.BigDecimal cannot be cast to class java.lang.Integer (java.math.BigDecimal and java.lang.Integer are in module java.base of loader âbootstrapâ)
That error in openhab.log seems to be the problem.
Hi,
Do you have any details how you solved this issue? I am facing exactly same problem, and restart did not help me. Sitemap works correctly till I try to add a chart. After chart removal from sitemap it starts to work again.
Chart definition in SiteMap: (defined via GUI) Chart item=TemperatureSensorsvetnice_Temperature refresh=10000 period="D" label="Test_Chart"
Error in openhab.log
2020-12-31 13:34:00.666 [ERROR] [omponents.UIComponentSitemapProvider] - Cannot build sitemap SiteMap1
java.lang.ClassCastException: class java.math.BigDecimal cannot be cast to class java.lang.Integer (java.math.BigDecimal and java.lang.Integer are in module java.base of loader âbootstrapâ)
Platform configuration:
Hardware: Raspberry Pi 3B
OS: Raspbian 10
Java: Zulu11.43+100-CA (build 11.0.9.1+1-LTS)
openHAB version: 3.0.0
Charts works well in OpenHAB 3 GUI, just sitemaps are problem.
âŠOr is there any way to show OH3 GUI directly in the Android app, without need of defining SiteMap?
Thank you for any advice.
Hi guys, Iâm facing same issue.
I found this migrating from oh 2.3 to 3.0.1, on the sitemap of 2.3 version was working well, but on the new 3 version not. I see something line a broken image on the pcâbrowser.
I tryed to do the @Rob_Clark suggestions, rebooting also rpi, I tryed also to create many different widget in order to try if there is something wrong with the container, but nothing is fixing it.