Recent content by trollmar

  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...
Top