Quick question and you may can help with this:
I have a KNX MDT AKH 0800.01 heating actor which is so far working fine. Now, I want to add an element to my openhab GUI which is the status of what this actor is doing (heating or not heating). The manual of this device tells me that the RHCC status function is foreseen for this:
Bit DPT RHCC Status HEX Value
0 Error 1=Error 0x01
8 Heating/Cooling 0=cooling/1=heating 0x100
13 Frost Alert 1=frost alert 0x2000
14 Heat Alert 1=heat alert 0x4000
The item that I have created looks like this:
Number Whz_RHCC “Status [%s]” (gWhz,gWhz_Hzg,gSQL,All) { knx=“<6/1/8” }
In my sitemap i have the following:
Text item=Whz_RHCC
The Value that is see in my openhab GUI is:
Whz_RHCC 2.56
The 2.56 value tells me, that openhab can read “something” from the actor, but i am struggling with the interpretation of what the 2.56 should be telling me. Can anyone help me with this?
Also, looking into the logfile, it looks that i have done something wrong:
Events log:
2016-11-13 11:34:18 - Whz_RHCC received command 2.56 2016-11-13 11:34:25 - Whz_RHCC received command 2.56 2016-11-13 11:34:29 - Whz_RHCC received command 2.56 2016-11-13 11:34:34 - Whz_RHCC received command 2.56 2016-11-13 11:34:40 - Whz_RHCC received command 2.56
Openhab log:
2016-11-13 11:35:08.517 [INFO ] [.o.b.w.i.s.WeatherJobScheduler] - Deleting weatherJob-home
2016-11-13 11:35:08.518 [INFO ] [.o.b.w.i.s.WeatherJobScheduler] - Starting and scheduling weatherJob-home with interval of 15 minutes
2016-11-13 11:35:10.613 [INFO ] [c.internal.ModelRepositoryImpl] - Refreshing model ‘unserhaus.items’
2016-11-13 11:35:10.871 [ERROR] [.o.m.c.i.folder.FolderObserver] - An unexpected exception has occured
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
at org.openhab.persistence.jdbc.db.JdbcBaseDAO.getState(JdbcBaseDAO.java:420) ~[na:na]
at org.openhab.persistence.jdbc.db.JdbcBaseDAO.doGetHistItemFilterQuery(JdbcBaseDAO.java:288) ~[na:na]
at org.openhab.persistence.jdbc.internal.JdbcMapper.getHistItemFilterQuery(JdbcMapper.java:147) ~[na:na]
at org.openhab.persistence.jdbc.internal.JdbcPersistenceService.query(JdbcPersistenceService.java:201) ~[na:na]
at org.openhab.core.persistence.internal.PersistenceManager.initialize(PersistenceManager.java:369) ~[na:na]
at org.openhab.core.persistence.internal.PersistenceManager.itemAdded(PersistenceManager.java:342) ~[na:na]
at org.openhab.core.persistence.internal.PersistenceManager.allItemsChanged(PersistenceManager.java:337) ~[na:na]
at org.openhab.core.internal.items.ItemRegistryImpl.allItemsChanged(ItemRegistryImpl.java:201) ~[na:na]
at org.openhab.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:393) ~[na:na]
at org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:159) ~[na:na]
at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:100) ~[na:na]
at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) ~[na:na]
at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) ~[na:na]
If i deactivate the Whz_RHCC item in the items file/configuration, the nexpected exception error is gone.