Xioami Honeywell Smoke Detector issue

Hello,
anybody using Xiaomi/Honeywell smoke detector?
i already using the Xiaomi Gateway with some temperature sensors and switch buttons. but now i added some Smoke Detectors.

The Binding found all connected detectors and i add some items/sitemaps on openhab.
But i can’t read the values. only battery value is 100%

Here’s my config and result on sitemap:

Items:

    Number WZSmokeDetector_Density		"Luftdichte [%.1f]"			<sun>			(Wohnzimmer)		{ channel="mihome:smoke:158d000xxxxxx:density" }
    Switch WZSmokeDetector_Alarmihome	"FEUERALARM  [%s]"				<fire>			(Wohnzimmer)		{ channel="mihome:smoke:158d000xxxxxx:alarm" }
    String WZSmokeDetector_Status		"Rauchmelder Status [%s]"		<fire>			(Wohnzimmer)		{ channel="mihome:smoke:158d000xxxxxx:status" }
    Number WZSmokeDetector_Battery 		"Rauchmelder Batterie [%.1f %]"		<battery> 		(Wohnzimmer)		{ channel="mihome:smoke:158d000xxxxxx:batteryLevel" }
    Switch WZSmokeDetector_BatteryLow 	"Rauchmelder Batterie leer [%s]"		<energy> 		(Wohnzimmer)		{ channel="mihome:smoke:158d000xxxxxx:lowBattery" }

Sitemap:

    Frame label="Wonhnzimmer" {
    	Text item=WZSmokeDetector_Density  label="Luftdichte [%.1f]"
    	Text item=WZSmokeDetector_Alarmihome label="Feueralarm"
    	Text item=WZSmokeDetector_Battery  label="Batterie [%.1f %%]"
    	Text item=WZSmokeDetector_Status label="Status [%s]"
    	Text item=WZSmokeDetector_BatteryLow label="Batterie leer [%s]" 
    	}

BasicUi Sitemap:

Text item=WZSmokeDetector_Alarmihome label="Feueralarm[%s]"

Post the logs please.

Thats the result:

2018-07-30 18:09:36.630 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.644 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Density' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.657 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Density' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.668 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Density' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.680 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.692 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Alarmihome' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.705 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Alarmihome' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.715 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Alarmihome' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.727 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.752 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Battery' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.772 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Battery' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.789 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Battery' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.811 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.832 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Status' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.845 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Status' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.856 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_Status' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.867 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.880 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_BatteryLow' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.893 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_BatteryLow' for widget org.eclipse.smarthome.model.sitemap.Text
2018-07-30 18:09:36.903 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'WZSmokeDetector_BatteryLow' for widget org.eclipse.smarthome.model.sitemap.Text


Post screenshots from the complete xioami-configuration in PaperUi please.

Wait. Actually openhab2 service dit not work correctly after updating raspberry. i will check it out and post the correct errors again.

After restarting everything works fine. - but smoke sensor still have no output.
I didn’t use Items in PaperUi because i add all Items in config file.
Here are the Screenshot with of the thing:

I limited the generating logs with error logs only. actually i didn’t get an error after reload basicui sitemap

Unfold the channels and link the items please.

Does it work now?
Remove the binding-configuration in the item-definition.
Post the log please.

It still not working.
Why i should remove the binding configuration? I use Weather sensors and switches too and it works with the same way:

Number   MasterBedroom_Humidity      "Luftfeuchtigkeit"      <humidity>      (MasterBedroom, gHumidity)  { channel="mihome:sensor_weather_v1:158d0001f55be1:humidity"}
Number   MasterBedroom_Temperature      "Temperatur"      <temperature>      (MasterBedroom, gHumidity)  { channel="mihome:sensor_weather_v1:158d0001f55be1:temperature"}
Number   MasterBedroom_Battery     "Batterie"      <battery>      (MasterBedroom, gBattery)  { channel="mihome:sensor_weather_v1:158d0001f55be1:batteryLevel"}

Actually OH2 log only errors. I remember that i have modify some config files for disabling Info-Logs. only State changes and errors are logged. But i didn’t get any errors now

What does PaperUI,Control show?
Post the state changes please.
I think, you don’t need this definition for 2.3., because you use things and channels in PaperUI, so I would check, if it works without.

PaperUi didn‘t show the Smoke Detector Items in Control-Board, it only shows in BasicUi. I will make some smoke tests to get more results of smoke detectors.

All smoke detector infos works well but only “Status” displays “unknown” actually. I’m not sure which status messages are available.

I already did a smoke test with co2 testspray and all tests passed.

Did you manage to solve the issue? I’ve got the same, no values are shown despite i don’t see errors.

Hello,
some status messages only displays after event occured. I got some results after testing it with testspray

I am not sure if your case is the same as mine. However, I am going to share my workaround that could help someone else.

I am using Xiaomia Smoke Detector with deConz Raspbee, nothing is properly transmitted to OpenHAB but the “Last Updated” item. When any change happens with the Smoke Detector (like fire alarm is on), only the Last Updated value will change.

I used that as a trigger and made a rule to get the value of the $.state.fire using HTTP Get.

rule "Check Fire Alarm Status"
when
    Item TestSwitch changed
then
    val String myString = sendHttpGetRequest("http://192.168.1.12:80/api/E4618457B9/sensors/5")
    val String isFire =  transform("JSONPATH", "$.state.fire", myString)
    sendTelegram("myMobile", "Fire Alarm of Test Smoke Detector is " + isFire)
end

Hello all,

the topic is a bit older, but I have the same problem with reading the items. Has anyone found a solution in the meantime?