How to reset Raspbian forgotten password if you still have SSH login

There’s bunch of instruction talking about how to reset password on raspbian. But they all require physical access to the raspberry pi and take out the SD card and need keyboard and monitor the reset the password.

My case is I forgot my password of course. There’s many reasons: The system is seldomly used. Forgot to put the password into password manager app. The login credential is remembered in SSH client. However, because the credential is kept in SSH client which means I can still log into the raspbian, only thing is I don’t know the password now, and no way to change it.

I tried all possible ‘dictionary attack’ to my pi but no success. Then at the last resort, I figured out something works.

Continue reading “How to reset Raspbian forgotten password if you still have SSH login”

Use Siri to control FAAC C720 slide gate

Background:

I have a FAAC C720 slide gate which is controlled by 433Mhz remote. Due to the fact I only have two sets of the remotes, it is not that convenient to have every home members to control the gate easily. I have to keep one remote at home and the other one on the car. So, this comes to my needs.

Scope:

  1. Control the slide gate through WiFi network
  2. Integrate into Smart Home automation platform

Solutions:

Attempt 1: Clone the remote 433Mhz signal by sending through Raspberry Pi and controlled via WiFi network.

My plan was to leverage Raspberry Pi RF 433Mhz receiver and transmitter to capture the remote signal then replicate and send it out by Pi. In this case, once the correct RF signal can be generated by Pi, I can play with it into any Smart Home automation platform. After couple attempts, I successfully sniffed and captured the signals, but still failed. Because I didn’t realize the FAAC 433Mhz remote signal is encrypted by rolling code. It is almost impossible for me to decode the code. I have to give up this path.

Attempt 2: I searched a lot on Internet looking for successful case of FAAC gate / door automation, but not really helpful. However, there’s one product comes into my sight. It is called Gogogate2. It meets all my requirement and more. It is also compatible with FAAC C720 gate. On their website there’s also a connection diagram guide you how to connect Gogogate2 to FAAC C720 control board. Very nice, but a little expensive for me.

Continue reading “Use Siri to control FAAC C720 slide gate”