-
Notifications
You must be signed in to change notification settings - Fork 6
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
It works! #2
Comments
Hello kskenyon, I realize your post is a bit older, but I am trying to write a daemon that will poll these devices. Is there some doc (or do you have some info) about what is exchanged between these dch-s150 devices and a host? thanks, Ron |
Something has changed, I run the script with a PIN and I get: DEBUG:asyncio:Using selector: EpollSelector How do I fix the username/password problem? It seems like something has changed on the dlink end. |
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
The text was updated successfully, but these errors were encountered: