YOU MESSED UP ALL MY OH INSTALLATION - that was my first impression as I did something wrong I thought…after smooth running of OH in order to get camera working I followed matt’s recommendations, deleted ipcamera binding through paperui, tried to install jar files matt sent by placing them in addons folder - not successful:
bundle:install -s /usr/share/openhab2/addons/netty-buffer-4.1.42.Final.jar
bundle:install -s /usr/share/openhab2/addons/netty-codec-4.1.42.Final.jar
bundle:install -s /usr/share/openhab2/addons/netty-codec-http-4.1.42.Final.jar
bundle:install -s /usr/share/openhab2/addons/netty-common-4.1.42.Final.jar
bundle:install -s /usr/share/openhab2/addons/netty-handler-4.1.42.Final.jar
bundle:install -s /usr/share/openhab2/addons/netty-resolver-4.1.42.Final.jar
bundle:install -s /usr/share/openhab2/addons/netty-transport-4.1.42.Final.jar
bundle:install -s /usr/share/openhab2/addons/org.openhab.binding.ipcamera-2.5.9-SNAPSHOT.jar
Then deleted cache and temp folder and got OH down - number of errors, after an hour of troubleshooting got OH back again.
In case you get the same issues here is proper way of deleting cache and temp files:
STOP OH service:
systemctl stop openhab2.service
then and only then - after you get cursor back!!! delete cache and temp files:
openhab-cli clean-cache
and finally restart your OH service by:
systemctl restart openhab2.service
once restarted reboot machine!
I almost got hardattack, so much configuration and effort put and I did not have any backup!
BACKUP YOUR MACHINE’s MicroSD BEFORE YOU DO ANYTHING!!!
Once done, I have installed IPCAMERA binding again.
then ran terminal and tried to install the latest *.jar file you have sent me and guess what?
Error executing command: Error installing bundles:
Unable to install bundle /usr/share/openhab2/addons/org.openhab.binding. ipcamera-2.5.9-SNAPSHOT.jar: org.osgi.framework.BundleException: Error reading b undle content.
so I stick with what I have, went and tried to create camera again:
GUESS WHAT:
OFFLINE, wenta and checked RTSP string in VLC:
WORKING
ADDED RTSP string as a input in additional settings:
ONLINE!
checking HTTP: http://192.168.1.100:8086/ipcamera.mjpeg:
NOT WORKING (((
WHAT AM I DOING WRONG???