If anyone is interested, here are some item configurations for managing a Motorola Baby Monitor in OpenHAB in stead of Hubble. Tested with a MBP854CONNECT. It requires a static IP address (which in turn requires a DHCP reservation).
Still to figure out:
How to get the motion alarms.
How to get the sound alarms.
How to get two-way audio.
How to make the move commands move much less (changing the number doesn’t help - I currently send the move command, sleep for 0.5 seconds and then send the “stop moving” command).
I have now found a solution for the motion detection. It will however ditch the motion detection feature of the Motorola camera itself, and instead let TinyCam Monitor Pro detect motion in the feed from the camera. You need:
An available Android device. I’ve got those as wall controllers for my system, so I just picked one of them.
TinyCam Monitor Pro with a custom_vendor.xml file defining the controls for the camera. I will post this once it is compelte. You will need the Pro version for Tasker support and motion detection.
Tasker, to receive motion detection events from TinyCAM Monitor Pro (profile -> plugin -> TinyCam Monitor).
RESTask, to send the events to OpenHAB (task -> plugin -> RESTask).
I also turned a couple of other Android devices into Webcams, using IP Webcam Pro which integrates smoothly into TinyCam Monitor Pro. That gives both motion detection capabilities directly (IP Webcam Pro -> Tasker), and through TinyCam Monitor using the same indirect motion detection feature as the Motorola.
Both the Motorola camera and IP Webcam Pro offers audio/video streams that you can integrate into a web page and serve through your sitemap.
And while Tasker is now in my Android terminals, as a bonus I can also use it to locate the whereabouts of people, cats, dogs and things using TrackR devices and Tasker Bluetooth Near detection.
Note: A side effect is that the move_left and move_right commands move almost the whole way around when used in a browser or OpenHAB, but they work much better in TinyCam (they only move a couple of degrees) - although they are using the exact same URL. The move_up and move_down commands still behave bad no matter where you trigger them (except in the Hubble app).
TinyCam has support for center and stop moving commands - but the camera does not. The camera has support for vertical / horizontal equivalents, but TinyCam does not. I have rules for that in OpenHAB, and a REST call would solve the problem, but there’s no way in custom_vendors.xml to get TinyCam to send anything to any other IP than the camera. So the file above only has support for vertical center / stop moving.
Edit: Added vertical center / stop moving as custom buttons. A bit more cumbersome, but at least the center one is nice to have.
I have Motorola Focus73 and access to my camera through commands decribes above.
Do you have any idea about the command to activate Day night vission because without Hubble, the day night vision is not activated.
It’s been a while since I did it though - so if you are running a newer firmware, they might have changed things.
Tip: I reverse-engineered the protocol by going into the web pages that reside on the camera, and just run a simple inspect in Chrome to see what happened when I loaded pages or clicked on buttons. Since you are running OpenHAB, you’re probably tech savvy enough to pull that off too.
Hi. @Pal Have you been able to use the monitor sound detection to trigger anything? I would like to both put the video / picture on a habpanel dashboard (which I think I can do using what you’ve posted) but would also like it to trigger something if sound is detected. Have you done anything similar?
If anyone is interested I have written a binding that can turn a $60 Amcrest IP camera into a baby monitor. I have working PTZ movement, movement and audio alarms including an adjustable threshold so the audio alarm does not go off when using white noise in the room, or the baby is only lightly stirring. Openhab then allows any number of cool features like push alert messages to your mobile phone through myopenhab.org and sending messages to my TV and controlling night lights.