I’m working on trying to get an Aeon Labs doorbell (ZW056) working with OpenHAB2. I have it added to the Vera, and have that end working. What I want to do is be able to call specific MP3 files I’ve added to the device. To do this on the Vera, you do it thru LUUP code in a scene such as:
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='15',Data='112 4 6 1 2'},1)
I don’t want to set up scenes for all these, just so I can call them from OH2. In researching, it appears that some have commanded other devices by setting up the device in the item like:
String SDB_MUSIC_CTRL "SDB - Controle Musique" (SDB) { mios="unit:house,device:41/service/DLNAMediaController1/Online" }
and then using the MIOS action on that item, such as:
sendMiosAction(SDB_MUSIC_CTRL, "urn:dlna-org:serviceId:DLNAMediaController1/SelectDMRDevice", newArrayList('URL' -> 'http://192.168.0.123:49494/description.xml'))
I’ve done some basic experimenting, and I’m not sure at all how to get my particular device properly configured to do this. I’m thinking I’m missing something else that needs to be added somewhere (like the DLNA controller?). Here are my items for this device from the generator:
Number FRDoorbellId "ID [%d]" (GDevices) {mios="unit:house,device:50/id"}
String FRDoorbellDeviceStatus "FR_Doorbell Device Status [MAP(miosDeviceStatusUI.map):%s]" (GDevices) {mios="unit:house,device:50/status"}
Number FRDoorbellConfigured "FR_Doorbell Configured [%d]" (GDevices,gRoomFamily) {mios="unit:house,device:50/service/HaDevice1/Configured"}
String FRDoorbellModeSetting "FR_Doorbell Mode Setting [%s]" (GDevices,gRoomFamily) {mios="unit:house,device:50/service/HaDevice1/ModeSetting"}
DateTime FRDoorbellLastUpdate "FR_Doorbell Last Update [%1$ta, %1$tm/%1$te %1$tR]" <calendar> (GDevices,gRoomFamily) {mios="unit:house,device:50/service/HaDevice1/LastUpdate"}
DateTime FRDoorbellFirstConfigured "FR_Doorbell First Configured [%1$ta, %1$tm/%1$te %1$tR]" <calendar> (GDevices,gRoomFamily) {mios="unit:house,device:50/service/HaDevice1/FirstConfigured"}
Switch FRDoorbellStatus "FR_Doorbell Status" (GDevices,gRoomFamily) {mios="unit:house,device:50/service/SwitchPower1/Status"}
Number FRDoorbellPollRatings "FR_Doorbell Poll Ratings [%.4f]" (GDevices,gRoomFamily) {mios="unit:house,device:50/service/HaDevice1/PollRatings"}
DateTime FRDoorbellLastPollSuccess "FR_Doorbell Last Poll Success [%1$ta, %1$tm/%1$te %1$tR]" <calendar> (GDevices,gRoomFamily) {mios="unit:house,device:50/service/ZWaveNetwork1/LastPollSuccess"}
Number FRDoorbellConsecutivePollFails "FR_Doorbell Consecutive Poll Fails [%d]" (GDevices,gRoomFamily) {mios="unit:house,device:50/service/ZWaveNetwork1/ConsecutivePollFails"}
I know that I won’t need all this - I’ll only need one item probably. I’m just not sure how I need to set up the item to serve as a basis for the action commands…
Thanks,
Danny