How can i configure map-widget or advanced-map widget to only show my current position?
If i configure the widget without target, there is an error “no target definded”. It only woks, if i configure target:home, place of my work and current location with rotini service.
Yes I’m afraid so! This is a fairly Hikvision camera (fw 5.4.0). Is there something I could do to help debugging?
Or is there any support for rtsp and/or h264/h265 for me to try?
I have a number of Hikvision cameras, a couple of which are quite old (using a firmware 5.2.x) which seem to be working. Couple of things to double check:
Have you changed your substream 2 to mjpg in your advanced settings?
The mjpg url I use for all my cameras is slightly different to yours: http://user:pass@cam-xxxx/Streaming/channels/102/httppreview
Notification for incompatible sitemaps (non-compatible sitemaps will be filtered out in the next release)
Requirement to setup a special ping item on the server for OpenHAB 1.x users to detect broken live item updates (check itself is slightly flacky at this moment, don’t trust it 100% yet)
How can i set up a switch widget to only send “off” command, but not “on” command if pressed?
I want to have a switch to switch off all lights from the whole house if i press it. But i don´t want to switch on all lights if i press it by accident.
This is my current switch widget - what do i have to change?
Yes, substream is set to mjpeg.
These are my complete substream settings;
Resolution 704x576
Bitrate Type Variable
Video Quality Medium
Frame Rate 15
Max Bitrate 512 Kbps
Video Encodeing MJPEG
I Frame interval 50
I also tried you url - it behaves exactly as the url that I used - i.e. It works if I paste it into a browser window, but in Rotini, nothing.
Would you care to check the substream settings against your own? I figure maybe there’s something in my substream settings that may not be compatible with Rotini.
Thank you smar, for checking! I have tested also Constant bitrate, but still no picture in rotini.
I have now also tested both my phone with android 6.01 as well as my lenovo tablet with 5.01.
I also pasted the URL into mozilla on my phone, and it worked, so there must be some issue around this. Just strange that I’m alone seeing it.
@igor Has something changed with the encoding arbument, or am I otherwise blind to some simple spelling mistake?
Here’s my current set-up;
Frame label="Uthyrningsentre {widget:camera}" {
Video url="http://admin:1234567a@uth_entre/Streaming/channels/102/httppreview" encoding="mjpeg"
}
One other thing - with my Hikvisions, I found that I could only have a single session streaming mjpg. All other sessions will fail. Do you by any chance have your camera streaming to another session, e.g. in a browser, at the same time?
I instantly get a picture. Also in mozilla, both on my desktop and on my phone. If I start VLC from the command line (I run linux), I get some “mjpeg @ 0x7fdaa0c326c0] No JPEG data found in image” messages, but I think it is rather common for the different decoders to spit out messages, so I don’t think this is related.
OK, that’s good then. At least you know the url works and video is able to stream. Could well be a bug in the Rotini then? You’ll have to wait for a response from Igor for now I guess.
My main system is OH1, but all development is done on OH2 as a base for last few months. So in general, MJPEG streams should work on OH2. Unfortunately, I don’t have access to any cameras of that brand to test further at this point.