Search found 116 matches

by Sigge
Sun Dec 10, 2017 10:14 pm
Forum: ZoneMinder 1.30.x
Topic: Using ZMTrigger with ESP8266, MonitorID is problematic
Replies: 6
Views: 3320

Re: Using ZMTrigger with ESP8266, MonitorID is problematic

I am thinking of using an MQTT broker and a php MQTT client that can trigger ZMTrigger. Maybe via a database store. Is this a bad idea?
by Sigge
Sun Dec 10, 2017 8:46 pm
Forum: ZoneMinder 1.30.x
Topic: Using ZMTrigger with ESP8266, MonitorID is problematic
Replies: 6
Views: 3320

Using ZMTrigger with ESP8266, MonitorID is problematic

Hi, inspired by zmtrigger.blogspot and ESP8266-Tiny-Door-and-Window-Sensor I got to work with a project. It is basicly an ESP-01 with magnetic switches. Now, seems rather cumbersome to me that I have to recompile my sensors for every monitor reconfiguration. Is there a better way to reach my monitor...
by Sigge
Tue Oct 31, 2017 8:54 am
Forum: Hardware Compatibility List
Topic: HAIWVISION AK47L7
Replies: 2
Views: 5370

Re: HAIWVISION AK47L7

In the end I had to set up a live555proxy to make this camera stable. That works fine.

Observe, that this cam has a SSH server that you can not change the password for. So make sure it is firewalled.
by Sigge
Wed Oct 04, 2017 2:44 pm
Forum: ZoneMinder 1.30.x
Topic: Change focus on local (USB) camera
Replies: 2
Views: 1814

Re: Change focus on local (USB) camera

Well, focus or other settings. I think the focus is the problem. It look like it is possible to change it from cli: v4l2-ctl --set-ctrl=focus_absolute=100 or v4l2-ctl --set-ctrl=focus_auto=0 Example from an other application: Focus — Focus is set to auto by default on the C930e Webcam. To manually a...
by Sigge
Wed Oct 04, 2017 2:05 pm
Forum: ZoneMinder 1.30.x
Topic: Change focus on local (USB) camera
Replies: 2
Views: 1814

Change focus on local (USB) camera

Is there a way to change the focus of a local usb camera in ZoneMinder?

Or should "v4l2-ctl" be used from outside ZoneMinder?
by Sigge
Wed Jul 26, 2017 8:01 pm
Forum: ZoneMinder 1.30.x
Topic: iconner ppa gives me 1.31.1
Replies: 1
Views: 1208

iconner ppa gives me 1.31.1

is it supposed to do that?
by Sigge
Sun May 14, 2017 8:20 pm
Forum: Hardware Queries
Topic: iptables, nat; How do I block camera from the internet
Replies: 7
Views: 4313

Re: iptables, nat; How do I block camera from the internet

Well, if you drop at INPUT wont all traffic be blocked? My Zonminer is running on the same computer so I want the camera to talk to it. But not have it´s traffic forwarded to the internet. That´s why I put the filter at FORWARD. I am just a bit puzzled as to why it works. At FORWARD mac addresses ar...
by Sigge
Sat May 13, 2017 8:31 am
Forum: ZoneMinder 1.30.x
Topic: Illegal mix of collations
Replies: 1
Views: 1504

Re: Illegal mix of collations

Sorry, found the solution:

Change Mariadb settings:

nano /etc/mysql/my.cnf

Make the following changes:

character-set-server = latin1
collation-server = latin1_swedish_ci
by Sigge
Sat May 13, 2017 8:15 am
Forum: ZoneMinder 1.30.x
Topic: Illegal mix of collations
Replies: 1
Views: 1504

Illegal mix of collations

Updated from 1.30.0 to 1.30.4 on ubuntu 17.04 Got this as response in browser after login: SQL-ERR 'SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='', statement was 'select * from Users where Enabled = 1 ...
by Sigge
Wed May 10, 2017 8:13 am
Forum: Hardware Queries
Topic: iptables, nat; How do I block camera from the internet
Replies: 7
Views: 4313

Re: iptables, nat; How do I block camera from the internet

It does try to connect to internet. See: https://forums.zoneminder.com/viewtopic.php?f=14&t=25518 Many cams do. I run an Ubuntu computer as router so I do not think it has upnp. But is does nat and dhcp for me. All local devices get their gateway from my dhcp server. Changing the gateway would m...
by Sigge
Tue May 09, 2017 8:49 am
Forum: User Contributions
Topic: MAC filtering for unsecure IP cams
Replies: 0
Views: 2346

MAC filtering for unsecure IP cams

Not sure this is the right place but I wanted to share how I did it. I have a iptable nat:ed network. My set up: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o "external nic" -j MASQUERADE iptables -A FORWARD -i "external nic" -o "internal nic"...
by Sigge
Mon May 08, 2017 10:18 pm
Forum: Hardware Queries
Topic: iptables, nat; How do I block camera from the internet
Replies: 7
Views: 4313

Re: iptables, nat; How do I block camera from the internet

iptables -I FORWARD 1 -m mac --mac-source "ipcam mac" -j DROP

Maybe this is the solution? Seems like it is working....
by Sigge
Mon May 08, 2017 9:49 pm
Forum: Hardware Queries
Topic: iptables, nat; How do I block camera from the internet
Replies: 7
Views: 4313

Re: iptables, nat; How do I block camera from the internet

iptables -t nat -A POSTROUTING -o eno1 -j MASQUERADE iptables -A FORWARD -i "external nic" -m mac ! --mac-source "ipcam mac" -o "internal nic" -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i "internal nic" -m mac ! --mac-source ipcam mac&...
by Sigge
Mon May 08, 2017 9:38 pm
Forum: Hardware Queries
Topic: iptables, nat; How do I block camera from the internet
Replies: 7
Views: 4313

Re: iptables, nat; How do I block camera from the internet

This doesn't work for me.

Looks like MAC address is changed before the FORWARD chain. So -m mac does not make sense here.
by Sigge
Wed Mar 22, 2017 9:07 pm
Forum: ZoneMinder 1.30.x
Topic: ZM 1.30.0 & UBNT UVC v3.5.0.62
Replies: 5
Views: 3050

Re: ZM 1.30.0 & UBNT UVC v3.5.0.62

Try adding something like 5 to the three FPS fields. Open the stream in vlc and check the tools->codec values. Sometimes there are two different sets of pixel values. Use the biggest. Make sure you stopped vlc before trying with ZM. Operation now in progress indicates port busy (?). You can try open...