I use several motion sensors and they work fine (hm-sen-mdir-wm55). Now I bought an HM-Sen-MDIR-SM. The sensor sends values for motion and brightness to homegear / homematic but openhab does not seem to get these values. The item is never mentioned in any logfile of openhab.
Hi thorsten_gilfert
That would be great. I used the same config as for hm-sen-mdir-wm55
Taking a look into the homegear log the data that is received by homegear is the same (motion, brightness, âŚ)
I was wrong⌠I copied my config from the other motion sensors. They have three chanels (two buttons and the pir sensor). hm-sen-mdir-wm55 sends MOTION and BRIGHTNESS on channel 3.
The HM-Sen-MDIR-SM does not have buttons, there is only one channel. Changing the channel to 1 made it work.
I could only test it from remote with brightness (not with motion) but I think if brightness value is shown correctly motion should also work.
So there is no need to check your config thorsten but thanks a log for your reply.
Would you mind to post your .items and .sitemap file?
I failed to get the proper data out of the HM-Sec-MDIR-2.
How do I have to address the BRIGHTNESS and MOTION channel in these files?
item = switch - dimmer - ?
sitemap = switch - slider - number ?
Log entry looks ok to me.
22:56:08.162 [DEBUG] [ternal.communicator.HomematicGateway] - Received new (Integer) value â34â for âMEQ0821xxx:1#BRIGHTNESSâ from gateway with id '9a3707xxâ
22:56:08.186 [DEBUG] [ternal.communicator.HomematicGateway] - Received new (Boolean) value âtrueâ for âMEQ0821xxx:1#MOTIONâ from gateway with id â9a3707xxâ
According to the channel syntax you are using Openhab 1?
Adopted it to Openhab 2 but it doesn´t work for me. The sitemap shows on level 1 the correct label. Upon clicking on âDebug-Werteâ the sitemap on level 2 remains empty :-/
Any ideas?
Thatâs where I started. Without success in the beginning.
I tried different item-types (switch, slider, text, number, string) in the sitemap-files to adress the items configured in the items-file.
Finally I succeded by starting from the scratch with a new items and a new sitemap file containing only code in relation to that sensor.
Will post my config later.
Still wondering how the output of your sitemap file looks like? What do you get upon clicking on the âgroup containerâ.