Search results

  1. P

    The Raspberry PI thread - What do you do with yours?

    I think I have 5 in total. And old 2 basically as a temp sensor, need to replace it. And 2b as a ups monitoring machine and has shairport on it (airplay server) Another 2b with flightradar and planefiner on it. A 3 with docker running tt-rss and a bunch of media apps A 3b+ (new today) that I'll...
  2. P

    CameraEvents Service - Dahua Events to mqtt

    Can you post the model of the nas....or another container you use. I should have amd64, arm32v6 (rPi3) and arm64x7 (Odroid C2). hopefully one of those is usable.
  3. P

    CameraEvents Service - Dahua Events to mqtt

    Try this then: Docker Hub I've only pushed the amd64 version. Are you sure it's not arm64?
  4. P

    CameraEvents Service - Dahua Events to mqtt

    W what architecture does the nas use? arm32, arm64 or amd64?
  5. P

    Viewing IVS recordings on mobile

    Is this the case with version 3 of iDMSS? It has Smart recording, but it doesn't seem to work anywhere near like the Motion detect which has a nice highlighted area
  6. P

    Dahua NVR Connected Camera, using 37777 and not the LAN port number

    Yeah I think the new one is. Something like 4431-e-as
  7. P

    Dahua NVR Connected Camera, using 37777 and not the LAN port number

    And it seems to go offline every couple of days. All the others seem to be connected to their port numbers (which allows the navigate from the registration page work 100080 etc). But thing one only seems to show up on 37777. Any ideas why, and how to fix? It's a 4431 (I have 3) and this one...
  8. P

    CameraEvents Service - Dahua Events to mqtt

    It was pretty unstable. Quite messy, and never got it to the point where I could release it. And after switching to python it worked much more reliably
  9. P

    CameraEvents Service - Dahua Events to mqtt

    Hmm for Online/Heartbeat I do post: self.basetopic +"/$online" self.basetopic +"/$heartbeat" Ahh Found it: self.client.publish(self.basetopic +"" + device.Name + "/alerts/state",state) (line 415
  10. P

    CameraEvents Service - Dahua Events to mqtt

    I’m not sure what the out one is. If one of your camera called out? Or has a channel called out? And the heartbeat/online should only be on the CameraEvents high level. Online should go true on start and gonfalse if the service is disconnected. But I must have missed a retain in it, as...
  11. P

    CameraEvents Service - Dahua Events to mqtt

    SO these are single cameras? Does it work any better with isNVR=False? And have you got the python file you're running so that I can look at incorporating your changes you've had to make.
  12. P

    CameraEvents Service - Dahua Events to mqtt

    The version of code you're now running. And it would be useful to know the cam/firmware version - obviously between your cam and my nvr the API has changed.
  13. P

    CameraEvents Service - Dahua Events to mqtt

    DO Do you want to post your version to me, and I'll look at putting some of those changes in and dealing with the change in API (the 1/0 thing) I should also make "do you want an image" configurable for if you're not using that function, they're pretty large to be chucking around mqtt for no...
  14. P

    CameraEvents Service - Dahua Events to mqtt

    it seems to not be getting an image. I assume this might be related to that last change I had to make (listed in the readme, that for my specific NVR I have to put channel (index)+1. So for a snapshot if it's index=0 (as per your example) I have to ask the NVR for channel=1. Yours is...
  15. P

    CameraEvents Service - Dahua Events to mqtt

    So this section crossData = json.loads(Alarm["data"]) _LOGGER.info(Alarm["Code"] + " received: " + Alarm["data"] ) if "Direction" not in crossData: direction = "unknown" else: direction = crossData["Direction"] region = crossData["Name"] object = crossData["Object"]["ObjectType"] regionText =...
  16. P

    CameraEvents Service - Dahua Events to mqtt

    Hmm You don't get a json string with the CrossLineDetection? Content-Type: text/plain Content-Length:905 Code=CrossLineDetection;action=Stop;index=0;data={ "Class" : "Normal", "CountInGroup" : 1, "DetectLine" : [ [ 3843, 5677 ], [ 6512, 5136 ] ], "Direction" ...
  17. P

    CameraEvents Service - Dahua Events to mqtt

    Hmm are you running python 3? I've probably written it in 2.7. You can try changing the case of configparser....if it's it's changed any of the methods it may not help you.
  18. P

    CameraEvents Service - Dahua Events to mqtt

    p You're running in python (not docker?) pip install ConfigParser Same with everything else in that requriements.txt. I believe there's a command that will take the requirements.txt and go get everything it needed.
  19. P

    CameraEvents Service - Dahua Events to mqtt

    yes, this is almost my first attempt at automated testing. Something else new for me to play with.
  20. P

    CameraEvents Service - Dahua Events to mqtt

    No mine is completely separate to the node-js. Just git clone to a folder, and run. I only added a comment there as I want working on a similar service in that it talked to the dahua api and that was the only thread that seemed to discuss the api.
  21. P

    CameraEvents Service - Dahua Events to mqtt

    Yeah there was a base I'd read, (and I believe I've kept the original credit). And adapted it. I had a similar service that was windows (c#), but most of my gear had moved to docker/python so I was keen to re-write it as I learnt python more.
  22. P

    CameraEvents Service - Dahua Events to mqtt

    As per: NodeJS Module: node-dahua-api psyciknz/CameraEvents This is a python service I run in docker. One of the first I wrote from scratch, so the documentation is probably a little light. I've updated the readme for some run information, (git clone, python CameraEvents.py). And will...
  23. P

    Dahua NVR plus NAS

    Why not just use the NVR for storage?
  24. P

    VPN for remote view

    I’d be curious to see your unifi rules. I assume you have a USG? Even if you post me directly to not clutter your thread.
  25. P

    VPN for remote view

    Do you have the vpn clients on a different subnet to the camera? I do and have a similar issue. Though I’m blocking my nvr from the internet....but it blocks me from accessing it from vpn as well.
  26. P

    Looking for new Dahua - pref same footprint as 4300c

    Well no, some of you may already have known some of the information I was after and have a recommendation. And you can see @mat200's answer pointing out a wrong assumption.
  27. P

    Looking for new Dahua - pref same footprint as 4300c

    Yeah its just a punish having to go into each one to find the dimensions. The normal ones seem to be 122mm...the old 4300c is 110mm. So the closest I found was a IPC-HDBW1320E | Dahua Technology (IPC-HDBW1320E and it's wireless variant)....does this include all the IVS features? As it's not...
  28. P

    Looking for new Dahua - pref same footprint as 4300c

    Got a 4300c mini dome. Great little cameras, but not ir. So I’d like ir one to hook up to. Y nvr5216. If possible in the same 100mm diameter, as most of the ir ones are 110/120mm What options might there be? Don’t really need ptz
  29. P

    DHI-NVR5216-16P-4KS2 - HTPP API (web fw 3.2.3.1829) -No Snapshot.cgi function

    So I ended up gambling and trying the updated 216 firmware. After doing this I was able to access the camera (snapshot.cgi function and the ConfigManager.cgi?action=GetConfing&name=ChannelTitle). Must have been something wrong with the existing firmware on the box.
  30. P

    Dahua NVR5216-4KS2 / NVR5216-16P-4KS2

    I've just bought a 2nd hand nvr-5216-4ks2. Type: DHI-NVR5216-16P-4KS2 Record Channel:16 Alarm In:4 Alarm Out:2 SN:<redacted> Web:3.2.3.1829 System Version:3.210.0002.0, Build Date: 2017-07-08 I understand there's a new firmware, but are unsure where the device was sourced from. I've seen all...