so should be
self.client.publish(self.basetopic + "/" +"" + device.Name + "/alerts/state",state) ???
Heartbeat and Online works as aspected.
Except of the retain part of $online .
I don't get any MQTT Messages from...
..no right now just one Camera in CamerEvents.
The Channel Name Called "Garten" the Cam Name is also "Garten". I delete my retained messages....
Hi, a few questions about the MQTT topics.
Very Cool Feature. Is it right that heartbeat has a subtopic...
here is my modiefied CameraEvents.py
Attach event listener to Dahua devices
Borrowed code from...
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...
Here are the specs.
Build Date: 2017-03-06
Sure. But what kind of "version" do you need? My specific DahuaCam and Firmware?
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...
This looks good :)
2019-02-26 22:24:05,505 - __main__ - DEBUG - Heartbeat
2019-02-26 22:24:08,064 - __main__ - DEBUG - [IPC]: --...
Yeah ..looks like.
2019-02-26 21:59:50,727 - __main__ - DEBUG - Heartbeat
2019-02-26 22:00:21,396 - __main__ - DEBUG - [IPC]: -- myboundary...
I think i get it to work.
Changed ConfigParser to configparser.
Edit my config.ini
Here my terminal output:
I guess the problem is this
Can I modify...
I already intstalled ConfigParser with pip under ubuntu18.x
I tried various hints to solve ... No luck.
Is there a Docker Image available?
some problems to run the script:
me@ubuntu18:~/CameraEvents$ python3 CameraEvents.py
Traceback (most recent call last):
The requirements in requiremnts.txt are needed?
Thx again :highfive:
Thx for the info.
I have to install node.js etc. as described here:
NodeJS Module: node-dahua-api
after that gitclone your python script...
Thx for sharing.
Maybe a stupid question but how do I install it on ..lets say ubuntu?
Gitclone it ..and then? ;-)
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...
Maybe a stupid question
i would like to use your node.js in node-red ..it this possible?
thx for a little hint
Separate names with a comma.