Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payload error in event VideoMotion when stop. #22

Closed
jbolanosg opened this issue Jan 21, 2021 · 5 comments
Closed

Payload error in event VideoMotion when stop. #22

jbolanosg opened this issue Jan 21, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@jbolanosg
Copy link

I believe that it is a error the next line:

self.client.publish(self.basetopic +"/" + Alarm["Code"] + "/" + Alarm["channel"] ,"ON")

imagen

The payload must be OFF

@psyciknz
Copy link
Owner

Yes looks like you're right. I'll make a fix for that.

@psyciknz psyciknz added the bug Something isn't working label Jan 21, 2021
@psyciknz psyciknz self-assigned this Jan 21, 2021
psyciknz added a commit that referenced this issue Jan 21, 2021
@psyciknz
Copy link
Owner

Should be solved....BUT, for some reason i can't create arm and arm64 docker images at the moment with Travis. So if you use those you'll have download and build yourself. Sorry. Something in a pip command is failing.

@jbolanosg
Copy link
Author

I already did it...i Already have a the new image ARM64 with your correction.

@psyciknz
Copy link
Owner

Did you manually build? I'll have to figure out a new travis flow

@jbolanosg
Copy link
Author

Yes with this steps:

  1. cd /tmp

  2. git clone https://github.com/psyciknz/CameraEvents

  3. cd CameraEvents/

  4. docker build -t psyciknz/cameraevents:latest .

  5. docker run --restart unless-stopped -d --env TZ=America/Bogota -v /appdata/cameraevents:/opt/cameraevents/conf --name dahua-cameraevents psyciknz/cameraevents:latest

My machine is a Tv Box with Ubuntu 20.04 and Amlogic S905X2 processor (ARM64).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants