Search results

  1. T

    imou Ranger 2 - Crackle Sounds

    Hi, i have crackle sound audio noise via RTSP stream. Its randomly about every 1 to 2 minutes. I connected the cam via CAT Cable. Maybe it has something to do with wifi connection? When i connect the cam via wifi it doesent make the noise. Does anybody have the same problem ?
  2. T

    Non-PoE indoor camera recommendation (UK)

    Hi, thread is kind of old. Unlikly the amcrest pro isnt available in Germany right now. I need LAN, Onvif and PTZ. I bought a Ranger2 from imou. But i couldn't use PTZ with onvif. Are there any other recommendations?
  3. T

    CameraEvents Service - Dahua Events to mqtt

    ..so there is only one variable here. maybe worth to integrate :cool:
  4. T

    CameraEvents Service - Dahua Events to mqtt

    Hi, in my example it is: Topic: BlueIris/admin Payload: camera=floor1&trigger I think a general BlueIris integration would be a great add-on to CameraEvents.
  5. T

    CameraEvents Service - Dahua Events to mqtt

    Hi, I would like to use this script to trigger BlueIris Mqtt Interface. BlueIris has a strict mqtt trigger command and payloads. For example: When i like to trigger a CAM called "floor1" the mqtt has to be: BlueIris/admin/camera=floor1&trigger Does anybody know how to rewrite/remap MQTT...
  6. T

    CameraEvents Service - Dahua Events to mqtt

    so should be self.client.publish(self.basetopic + "/" +"" + device.Name + "/alerts/state",state) ???
  7. T

    CameraEvents Service - Dahua Events to mqtt

    Heartbeat and Online works as aspected. Except of the retain part of $online . I don't get any MQTT Messages from "CameraEvents/outGarten/alerts/state" Glad you found the code. But whats the purpose?
  8. T

    CameraEvents Service - Dahua Events to mqtt

    Hi, ..no right now just one Camera in CamerEvents. The Channel Name Called "Garten" the Cam Name is also "Garten". I delete my retained messages. Some duplicates are now gone. My fault sorry [MQTT Broker] IP: localhost Port: 1883 #not currently supported #Mqtt_Username = ''...
  9. T

    CameraEvents Service - Dahua Events to mqtt

    Hi, a few questions about the MQTT topics. heartbeat: CameraEvents/out/$heartbeat Very Cool Feature. Is it right that heartbeat has a subtopic level "/out" I guess heartbeat belongs to the Script state. I would use is it to detect if the script is running. $online: CameraEvents/out/$online...
  10. T

    CameraEvents Service - Dahua Events to mqtt

    Hi, here is my modiefied CameraEvents.py #!/usr/bin/python3 -u """ Attach event listener to Dahua devices Borrowed code from https://github.com/johnnyletrois/dahua-watch And https://github.com/SaWey/home-assistant-dahua-event Author: PsycikNZ """ REQUIREMENTS = ['pycurl>=7'] import...
  11. T

    CameraEvents Service - Dahua Events to mqtt

    Yes single Cams. Just tryed with one of my cameras. It runs. ..as far as I could say. I made a Upstart Service so that it runs as Ubuntu service in Backround. isNVR=False dosent make a differnce as I could say. only changed your line 245 and rename all "ConfigParser" to "configparser"...
  12. T

    CameraEvents Service - Dahua Events to mqtt

    Hi, Here are the specs. Device TypeIPC-HDW5231R-Z Software Version2.460.0000.7.R, Build Date: 2017-03-06 WEB Version3.2.1.427921 ONVIF Version2.42 PTZ Version Here my config. [MQTT Broker] IP: localhost Port: 1883 #not currently supported #Mqtt_Username = '' ;MQTT...
  13. T

    CameraEvents Service - Dahua Events to mqtt

    Sure. But what kind of "version" do you need? My specific DahuaCam and Firmware?
  14. T

    CameraEvents Service - Dahua Events to mqtt

    Your right. But i look at that later. First I have to Bridge my "CameraEvents MQTT Broker" (local Broker just for your CameraEvents Script) to my main Broker. My main Broker needs user credentials :wave: Best regards and have a nice day!
  15. T

    CameraEvents Service - Dahua Events to mqtt

    Hi psycik. This looks good :) 2019-02-26 22:24:05,505 - __main__ - DEBUG - Heartbeat 2019-02-26 22:24:08,064 - __main__ - DEBUG - [IPC]: -- myboundary Content-Type: text/plain Content-Length:44 Code=CrossLineDetection;action=Start;index=0 2019-02-26 22:24:08,065 - __main__ - INFO - Video...
  16. T

    CameraEvents Service - Dahua Events to mqtt

    Yeah ..looks like. 2019-02-26 21:59:50,727 - __main__ - DEBUG - Heartbeat 2019-02-26 22:00:21,396 - __main__ - DEBUG - [IPC]: -- myboundary Content-Type: text/plain Content-Length:44 Code=CrossLineDetection;action=Start;index=0 Traceback (most recent call last): File "CameraEvents.py", line...
  17. T

    CameraEvents Service - Dahua Events to mqtt

    I think i get it to work. Changed ConfigParser to configparser. Edit my config.ini Here my terminal output: me@ubuntu18:~/CameraEvents$ python3 CameraEvents.py 2019-02-26 21:13:23,523 - __main__ - INFO - Loading config 2019-02-26 21:13:23,524 - __main__ - ERROR - Error Reading channel...
  18. T

    CameraEvents Service - Dahua Events to mqtt

    I guess the problem is this https://stackoverflow.com/questions/45173994/how-to-fix-apt-with-broken-configparser-import Can I modify CameraEvents.py from ConfigParser to configparser
  19. T

    CameraEvents Service - Dahua Events to mqtt

    Thx. I already intstalled ConfigParser with pip under ubuntu18.x I tried various hints to solve ... No luck. Is there a Docker Image available?
  20. T

    CameraEvents Service - Dahua Events to mqtt

    Hi, some problems to run the script: me@ubuntu18:~/CameraEvents$ python3 CameraEvents.py Traceback (most recent call last): File "CameraEvents.py", line 15, in <module> import ConfigParser ModuleNotFoundError: No module named 'ConfigParser' me@ubuntu18:~/CameraEvents$ pip search ConfigParser...
  21. T

    CameraEvents Service - Dahua Events to mqtt

    Got it The requirements in requiremnts.txt are needed? paho-mqtt pycurl ConfigParser requests Thx again :highfive:
  22. T

    CameraEvents Service - Dahua Events to mqtt

    Thx for the info. So.. I have to install node.js etc. as described here: NodeJS Module: node-dahua-api after that gitclone your python script and run it?
  23. T

    NodeJS Module: node-dahua-api

    Hi cool! Thx for sharing. Maybe a stupid question but how do I install it on ..lets say ubuntu? Gitclone it ..and then? ;-)
  24. T

    Firmware - Dahua ipc-hdw5231r-z

    Hi, I love my new dahua but I have problems with its digist-Auth ..every Tool that I wanna use with this cam dosen't came across the digist Authentification. Were I can find the latest Firmware thats has Basic-Auth built in for my Dahua ipc-hdw5231r-z Maybe someone could help out. On the...
  25. T

    NodeJS Module: node-dahua-api

    Hi, Maybe a stupid question i would like to use your node.js in node-red ..it this possible? thx for a little hint
Top