Here’s a nodejs implementation
https://www.npmjs.com/package/ring-api
Read the statement by Michael Teeuw here.
Best posts made by mdissel
-
RE: Ring Doorbell / Alarm Module
Latest posts made by mdissel
-
RE: Auto on/off of the TV (not the Pi)?
@fuet said in Auto on/off of the TV (not the Pi)?:
I use a simple command in my crontab:
0 23 * * * vcgencmd display_power 0
0 6 * * * vcgencmd display_power 1This turns the monitor off at 11pm and back on at 6am.
I’ve configured the monitor off with display_power 0, but the next morning my raspberry pi is also shutdown… Any tips?
(no other scheduled tasks running) -
RE: gui not autologging in and pm2 is not starting automatically
Thanks for your help! I think if I could solve the not autologging in into the GUI my problem is fixed.
I’ve started raspi-config and selected auto-login desktop, but after reboot the login form is shown. and when manually typing in the password i get “cannot currently show the desktop”. No password change has occured (the password is accepted in ssh)@bhepler said in gui not autologging in and pm2 is not starting automatically:
@mdissel - When you installed pm2, did you run the command that it spit out for you? Try running this command:
pm2 startup
. It will give you a command that you will have to copy & paste and run with the sudo command. Something like this:sudo su -c "env PATH=$PATH:/home/unitech/.nvm/versions/node/v4.3/bin pm2 startup
.Yes, I did.
Anyhow, copy & paste that command and see if that solves your problem.
As for “cannot currently show the desktop”, I’m assuming that you’re working directly on the pi itself and not SSH from another computer. A couple things to check:
- You’re running Raspian Stretch, with desktop (not lite).
Yes… it worked at some time,
- You ran the system updates as soon as you got the pi connected to the internet (
sudo apt-get update && sudo apt-get upgrade -y
)
Yes. I did
- You’re still using the pi user and not some other user account.
It did work with the pi user.
Thanks again!
-
gui not autologging in and pm2 is not starting automatically
I’ve followed the out-of-the-box installation guide, and after a SD card failure restored the backup to a fresh sd-card.
I’ve reconfigured pm2 to autostart mm, but it seems that pm2 is not starting automatically…
Other strange thing is that the GUI is not auto-logging in and when manually typing in the password i get “cannot currently show the desktop”…so something is wrong with my configuration, manually mm is working fine (using npm start)
-
RE: Ring Doorbell / Alarm Module
Here’s a nodejs implementation
https://www.npmjs.com/package/ring-api