my cameras seem to respond differently on successive probes
Can't locate object method "get_ProbeMatch" via package "WSDiscovery10::Elements::Probe
JoeAlamo
haven't experienced that before, seems odd that the camera would be maintaining state for probe requests
ic0n
I'm not sure that it is. Since a unique uuid is generated on every probe, they should all be the same, but theya re not.
So now... when I run probe from command line I get 2 cameras. When run from the web ui I get nothing... status is 0
very strange
oh... I wonder if status is the string '0'
oh shit... braces are the problem
JoeAlamo
Braces where?
ic0n
the probeonvif.php
probably just in storageareas
that's better.
compdoc joined the channel
Ok, and if we don't enter a username and password, we just give fatal error. Awesome
JoeAlamo
:trollface:
ic0n
I'm pretty sure there's some paid work that I should be doing.
knnniggett
speaking of paid work, as soon as gnulnx links our bank account to Xero, I will send out two invoices to get us some money. :-)
gnulnx
hey now
knnniggett
Hee, hee
Not sure how much you have spent already to do the incorporating, but I think I've got enough coming in to pay for most of it
gnulnx
Only about $50
knnniggett
Oh pfft.... then we will be plenty ahead then
gnulnx
However we've got the zoneminder.com SSL cert renewal coming up in a few days, as well as zoneminder.io
which needs to be renewed (domain, not ssl)
JoeAlamo
Cut some costs and use LetsEncrypt etc. for the SSL cert? Assuming you don't need a wildcard certificate
ic0n
I'd really like to be able to print out what we are sending so I don't have to use WireShark to figure it out but the code is so bad...
knnniggett
If you are using a very recent version of Wireshark, there is a new menu item you can click which will assemble the packets into send/receive messages and present it to you in a very easy to read format. I'd have to be in front of it to tell you what I clicked to do that. You could probably print it out.
JoeAlamo
Different to Follow TCP Stream?
asker_ joined the channel
asker has quit
iconnor_ joined the channel
compdoc
I only wish free certs were good for a year or more
JoeAlamo
True, auto-renewal is pretty sweet tho
compdoc
I have to manually renew
just copy/paste, but still
gnulnx
Not sure that lets encrypt, etc, works with amazon elastic load balancers
knnniggett
ic0n: I remember now. In wireshark, right click any one of the UDP packets from the session. Then click Follow->UDP Stream
ic0n
Our getServices call does not seem to be authenticated. I wonder if it needs to be.
knnniggett
According to the onvif spec, the only thing that should not be authenticated is the very first broadcast discovery. Everything else after that is supposed to have the nonce in it, if I recall.
ic0n
ugh.. how is any of this working for anybody?
Method 'GetServices' not implemented: method name or namespace not recognized
So we need to implement getCapabilities....
hey sweet
steelskin joined the channel
ok, so we need to not die on an invalid response.... we need to do the best we can.
Schrottie has quit
Schrottie joined the channel
arms joined the channel
bsaggy has quit
bsaggy joined the channel
steelskin has quit
Holy crap, I've done it!
Success with ONVIF!
knnniggett
Mad scientist laugh?
does it live?
ic0n
pretty much. I can get the list of Profiles using getCapabilities now instead of getServices.
PR updated. Boom. Done.
compdoc
Boom!
ic0n
crap, not done. The copying of info into the monitor page is still crap
I'm not actually sure how any of this works
ok, looking good.
All we need now is for someone to review/merge
knnniggett
This Onvif stuff is tricky since every mfr seems to come up with their own variations of the onvif standard.... I want to test with my own cameras before merging anything to make sure we don't break anything.
ic0n
please do. I actually only added functinality. If it worked before, it should work now.