I was digging around in a bucket of discarded electronics hoping to find an old smartphone I could adapt to a Camera for Domoticz. Instead I found an old
Motorola Hubble Camera my wife got and discarded after it didn't prove to be useful. I also quickly
found a forum where people had successfully broken into the cam to use it for their own purposes. Using their info I found this cam is pretty ideal for Domoticz. I was able to find the RTSP stream as well as the current frame image. On top of that, the camera has a thermometer which I was able to write a quick lua script for to get it as a thermometer in Domoticz. The one caveat was I had to sign up for their stupid service (free) to connect to the camera with a smartphone using Bluetooth, once you do that you can set the Wifi settings of your network into the camera since it has no ethernet connection. Then once I completed that I blocked the camera from being able to communicate outside my network and deleted the app from my phone, otherwise it would be constantly streaming to their server. Now there may be computer clients to do this via Bluetooth I don't know, the company we got the cam from only provided an app for the phone as far as I could tell. A side note here is after you block its connection its status light will flash red all the time, that's fine it just means it can't talk to the server. I covered mine with black electrical tape. Here's the info for connecting the cam to Domoticz once it's on your network:
Address for the jpg "stream":
http://<camera IP>/cgi/jpg/image.cgi
Address for the HTTP Poller Dummy Thermometer:
http://<camera IP>/?action=command&command=value_temperature
RTSP stream if you want it:
rtsp://<camera IP>:6667/blinkhd
RTSP may require user and pass depending on firmware:
rtsp://user:pass@<camera IP>:6667/blinkhd
and yes the user and password for the camera are user and pass!
Lua Code for the HTTP Poller:
Code: Select all
-- Retrieve the request content
s = request['content'];
local temp = string.sub(s, 19, 23) -- get the temp out of the returned string
--print(temp) -- debug
domoticz_updateDevice(48,"0",temp) -- dummy thermometer likes svalue not nvalue.