Hi.
I’m new to Openhab, smart home stuff and so on.
I have installed Openhab2.4 via the APT methode on my ubuntu 18.04 machine.
I have succesfully added my Tasmota Sonoff powerswitch S26 to Openhab by using manual config files. I also have succesfully added my Kodi instance by manually using config files.
All is working well.
But now I am trying to configure my Foscam camera (Fosbaby P1) which supports ONVIF and API. But I’m not able to get it done and could use some help. It is frustrating me.
First, I’m from Holland so my English might not be perfect ;-).
Oke, now for the good stuff.
My foscam.things is configured like this:
// foscam.things
// bron:Idea for FOSCAM camera binding
Thing ipcamera:FOSCAM:Evi “Babyfoon Evi” @ “Slaapkamer” [
IPADDRESS=“192.168.XXX.XXX”,
PORT=88,
ONVIF_PORT=888,
USERNAME=“myUser”,
PASSWORD=“myPws”,
ONVIF_MEDIA_PROFILE=0,
POLL_CAMERA_MS=2000
] {}
###########################################################
###########################################################
My foscam.items is configured like so:
// foscam.items
// bron:Idea for FOSCAM camera binding
Switch foscam_updimg “Afbeelding Update” { channel=“ipcamera:FOSCAM:Evi:updateImageNow” }
But my camera stays on Status: UNINITIALIZED in the paper UI. I cannot get past this point.
I have a test openhab environment in which I test all my stuff, This test environment resides on a ubuntu laptop. when correctly configured is goes onto my server (Which is also Ubuntu 18.04). On my test machine I have reinstalled openhab several times and tried the Ipcamera binding serval times via the PAPERUI (Which also ends up with the same error (Status: UNINITIALIZED) But during configuring via de PAPERUI it also gives me error 500 Request failed on first save. On second save it gives me a error 409 Conflict.
I have tested the following urls and they all work.
Video MPEG
http://192.168.XXX.XXX:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=myUser&pwd=myPws
Video H.264
rtsp://myUser:myPws@192.168.XXX.XXX:88/videoMain
Audio
rtsp://myUser:myPws@192.168.XXX.XXX:88/audio
In short, my foscam does not work, and I could use some help…
Steps taken:
Install openhab, install ipbinding, setup camera via PAPER UI. Results in error 500 and 409. And status uninitialized
(No manual config)
#Remove openhab
#Reinstall openhab, install ipbinding, configure foscam via manual config files only (See above) resulting in status uninitialized.
ps: I’m using fixed IP addresses for all my items (configured in the router).
Help?
I have tried the Beta version also, but same result.
Thank you for all your help and support.
Regards Onac