zmNinja notifications coming from two separate Zoneminder servers.
Posted: Sat Mar 14, 2020 9:11 pm
I guess this will be more a question for Asker, but was zmNinja ever intended to support object recognition notifications coming from two different Zoneminder servers?
I've setup two Zoneminder servers, one for my house with 4 cameras and one at my parents with 7 cameras. I successfully have object recognition working on both and sending notification with pictures to each of our respective android phones. While I do have both of our servers setup on my zmNinja app, I only ever setup mine to use event notifications which are working great. If I ever needed to check on my parents cameras I could quickly switch over by tapping the little two person icon at the top left of the menu view. I decided to turn on event notifications for my parents house while they were out of town and that also works just fine and my phone is getting both their server's events and mine. The issue arises when I tap one of the events that come in.
If the event is for my house and I was last looking at my cameras in zmNinja then no problem, the event comes up. However, if I happened to be last checking on my parents house cameras and I receive an event notification for my house it doesn't automatically switch over and gets confused. No big deal, I just swipe the app out go back in and switch servers to the correct one and all is good. Except a few times now it has gotten stuck and tries to display my parents 7 cameras after I select my server which has only 4 camera monitor view. So instead I get 7 blank monitors. I also noticed that when I went into the the notification server setup for my server in zmNinja it showed my server info correctly, but listed my parents 7 monitors instead of my 4 monitors. I'm not positive but think this may have messed up the tokens.txt file on my server and I stopped getting notifications from my server until I restarted the server. If this happens again I'll try to get more detailed info, I just wasn't really sure what was going on at first.
I hope that all made sense! I really appreciate all the work you've done to get the object detection and event notifications working in Zoneminder as well as it is.
Thanks,
Paul
I've setup two Zoneminder servers, one for my house with 4 cameras and one at my parents with 7 cameras. I successfully have object recognition working on both and sending notification with pictures to each of our respective android phones. While I do have both of our servers setup on my zmNinja app, I only ever setup mine to use event notifications which are working great. If I ever needed to check on my parents cameras I could quickly switch over by tapping the little two person icon at the top left of the menu view. I decided to turn on event notifications for my parents house while they were out of town and that also works just fine and my phone is getting both their server's events and mine. The issue arises when I tap one of the events that come in.
If the event is for my house and I was last looking at my cameras in zmNinja then no problem, the event comes up. However, if I happened to be last checking on my parents house cameras and I receive an event notification for my house it doesn't automatically switch over and gets confused. No big deal, I just swipe the app out go back in and switch servers to the correct one and all is good. Except a few times now it has gotten stuck and tries to display my parents 7 cameras after I select my server which has only 4 camera monitor view. So instead I get 7 blank monitors. I also noticed that when I went into the the notification server setup for my server in zmNinja it showed my server info correctly, but listed my parents 7 monitors instead of my 4 monitors. I'm not positive but think this may have messed up the tokens.txt file on my server and I stopped getting notifications from my server until I restarted the server. If this happens again I'll try to get more detailed info, I just wasn't really sure what was going on at first.
I hope that all made sense! I really appreciate all the work you've done to get the object detection and event notifications working in Zoneminder as well as it is.
Thanks,
Paul