Multiple triggers via zm trigger - some aren't happening

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
JimS
Posts: 63
Joined: Sun Feb 18, 2007 3:16 pm

Multiple triggers via zm trigger - some aren't happening

Post by JimS »

Got triggering via zm triggering working so thought I would trigger multiple cameras. The first two happen but the 3rd doesn't. Wondering if I need small delay between commands - am I giving it too much at once? Commands are from a python script on another network device. Here are just the lines for the commands.

Code: Select all

 message="2|on+15|1000|exttrigger|exttrig"+'\r'
     sock.send(message.encode('utf-8'))
     message="5|on+15|1000|exttrigger|exttrig"+'\r'
     sock.send(message.encode('utf-8'))
     message="10|on+15|1000|exttrigger|exttrig"+'\r'
     sock.send(message.encode('utf-8'))
JimS
Posts: 63
Joined: Sun Feb 18, 2007 3:16 pm

Re: Multiple triggers via zm trigger - some aren't happening

Post by JimS »

I saw a comment somewhere that it might be possible to trigger multiple zones with one command. If that's true I could try it but need to know how to form the command. I looked at my zmtrigger log file but not sure how to interpret it. There was a trigger at 19:45. It's not too huge so will include it.

Code: Select all

12/16/2024 07:24:54.595368 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm                              .mmap.12' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 07:24:54.938871 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm                              .mmap.13' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 11:20:19.280903 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm                              .mmap.10' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 11:20:20.168443 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm                              .mmap.11' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 14:36:42.729826 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 14:36:53.150829 zmtrigger[1994319].INF [main:269] [Found 1actions expiring at 1734381412]
12/16/2024 14:36:53.270853 zmtrigger[1994319].INF [main:272] [Found action '1|cancel']
12/16/2024 14:36:53.371353 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 14:37:47.700068 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 14:37:58.152682 zmtrigger[1994319].INF [main:269] [Found 1actions expiring at 1734381477]
12/16/2024 14:37:58.342812 zmtrigger[1994319].INF [main:272] [Found action '1|cancel']
12/16/2024 14:37:58.483977 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 14:51:03.295021 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 14:51:19.144604 zmtrigger[1994319].INF [main:269] [Found 1actions expiring at 1734382278]
12/16/2024 14:51:19.234527 zmtrigger[1994319].INF [main:272] [Found action '10|cancel']
12/16/2024 14:51:19.283665 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 15:06:12.431765 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 15:06:28.070365 zmtrigger[1994319].INF [main:269] [Found 1actions expiring at 1734383187]
12/16/2024 15:06:28.240640 zmtrigger[1994319].INF [main:272] [Found action '10|cancel']
12/16/2024 15:06:28.407812 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 16:30:31.908568 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 16:30:32.026781 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 16:30:48.014803 zmtrigger[1994319].INF [main:269] [Found 2actions expiring at 1734388247]
12/16/2024 16:30:48.559886 zmtrigger[1994319].INF [main:272] [Found action '2|cancel']
12/16/2024 16:30:48.861064 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 16:30:49.303278 zmtrigger[1994319].INF [main:272] [Found action '5|cancel']
12/16/2024 16:30:49.597264 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 17:52:55.431018 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 17:52:55.509467 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 17:53:11.138892 zmtrigger[1994319].INF [main:269] [Found 2actions expiring at 1734393190]
12/16/2024 17:53:11.202309 zmtrigger[1994319].INF [main:272] [Found action '2|cancel']
12/16/2024 17:53:11.386191 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 17:53:11.519715 zmtrigger[1994319].INF [main:272] [Found action '5|cancel']
12/16/2024 17:53:11.653700 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 18:06:08.123085 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 18:06:08.369776 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 18:06:24.059133 zmtrigger[1994319].INF [main:269] [Found 2actions expiring at 1734393983]
12/16/2024 18:06:24.182259 zmtrigger[1994319].INF [main:272] [Found action '2|cancel']
12/16/2024 18:06:24.293280 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 18:06:24.418796 zmtrigger[1994319].INF [main:272] [Found action '5|cancel']
12/16/2024 18:06:24.598631 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 18:53:09.986605 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 18:53:10.221010 zmtrigger[1994319].INF [main:407] [Trigger 'on' 'exttrigger']
12/16/2024 18:53:26.234436 zmtrigger[1994319].INF [main:269] [Found 2actions expiring at 1734396805]
12/16/2024 18:53:26.333567 zmtrigger[1994319].INF [main:272] [Found action '2|cancel']
12/16/2024 18:53:26.465831 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 18:53:26.599339 zmtrigger[1994319].INF [main:272] [Found action '5|cancel']
12/16/2024 18:53:26.750236 zmtrigger[1994319].INF [main:434] [Cancelled event]
12/16/2024 19:55:39.112177 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:39.445847 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:39.518550 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:39.869633 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:39.976601 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:40.359525 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:40.425282 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:40.751772 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:40.846220 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:41.147245 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:41.252693 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:41.553149 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:41.617480 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:42.012839 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:42.093911 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:42.395303 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:42.467102 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:42.792526 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:42.877222 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:43.202331 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:43.325137 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:43.658762 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:43.718403 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:44.020559 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:44.181359 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:44.493636 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:44.791297 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8'                      does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:45.266175 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:45.367401 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:45.691898 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:45.751143 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:46.051308 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:46.115792 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:46.416414 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:46.488782 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]
12/16/2024 19:55:54.392354 zmtrigger[1994319].ERR [ZoneMinder::Memory::Mapped:90] [Memory map file '/dev/shm/zm.mmap.3' does not exist in zmMemAttach.  zmc might not be running.]
JimS
Posts: 63
Joined: Sun Feb 18, 2007 3:16 pm

Re: Multiple triggers via zm trigger - some aren't happening

Post by JimS »

I see some other threads where the API method is suggested. I could try that. Got any python examples of doing that? Most of my coding is stealing others code. :)
Post Reply