Skip to content

It works! #2

@kskenyon

Description

@kskenyon

I'm using dlink.py to send dch-s150 motion updates to node-red through the python exec node.

python3 -u /home/pi/dlink.py ip pin loop

Exec node is triggered in spawn mode so it sends continuous output from python as a payload. Do what you want with the output. I use it to trigger occupancy for thermostat control with suitable timers, etc.

It actually makes the Dlink motion sensor useful without the cloud service. No lag.

It does use a fair amount of cpu to loop the python app though. There could be a better way.

However, thanks for your work on this. I think a lot of people would like to use their s150's directly. It's a nice piece of hardware.

K

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions