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

Set up doorbot system on the roller shutter at the back for cyclists #948

Open
goatchurchprime opened this issue Oct 17, 2018 · 3 comments
Open

Comments

@goatchurchprime
Copy link
Contributor

@goatchurchprime goatchurchprime commented Oct 17, 2018

referring to #759 but want to apply it so our fobs work on the back roller shutter.

Attempting to make the garage door wireless signal didn't work as the controller uses a different 66 bit code each time, so you can't read and replay it.

However, we can solder into a controller board and use it to send the wireless signal by controlling the buttons. The buttons close a 12V circuit on the battery and sends the signal.

I have soldered in some wires and made a mosfet circuit so that it can be driven from a pinout of an ESP32 (pins 12 and 13).

The MQTT reading code that has been loaded onto the ESP32 is:
https://github.com/goatchurchprime/jupyter_micropython_developer_notebooks/blob/master/scriptlet_technology/MQTT_garageshuttercontroller.ipynb
(this uses async stuff so it can be reset. Could have used the more general-purpose scriptlet tech, but the payloads would have been bigger.)

The command line mqtt commands are:

mosquitto_pub -h mqtt.local -t "garageshutter/code" -m "down 0.9"
mosquitto_pub -h mqtt.local -t "garageshutter/code" -m "up 0.9"

The "0.9" is the seconds that the button is held down.

(The shutter has stopped working at the moment. I think I've hit the button too many times and it's sulking. Hopefully it will work later again.)

Next up: showing we can run an I2C wire from by the shutters up to a doorbot in room29 to carry the rfid readers. Then we can build this back in as a direct plugin from the rpi.

@ajlennon

This comment has been minimized.

Copy link
Contributor

@ajlennon ajlennon commented Oct 17, 2018

If it's like this you just need to work out the pseudo RNG algorithm in use

https://auto.howstuffworks.com/remote-entry2.htm

@DoESsean

This comment has been minimized.

Copy link
Contributor

@DoESsean DoESsean commented Jul 11, 2019

Is there still a requirement or desire for this? It seems like it was something that might have been given some consideration, but has been completely forgotten about, particularly given the discussions around getting on street cycle parking.

@johnmckerrell

This comment has been minimized.

Copy link
Member

@johnmckerrell johnmckerrell commented Jul 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.