Python Forum

Full Version: monitor when a device connects (mac address)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi, i am looking at creating the following script.

i currently have been working on a project over the last year for a wiegand access control system based on a raspberry pi. the system was tested and is now live and fitted in the commercial premises and working great. this was a base for something more tailored to our normal spec.

we mainly fit automatic gates and alot of the options that come for access on these gates are the following:

card access
ringing a phone number (gsm or landline) to open the gate
smart intercom systems

etc etc

with all the above we run into the problem of fitting numerous differnt controllers/systems all into 2 cabinet connected to each other and it gets a bit messy.

as above we have created out own access system using python and the raspberry pi to trigger a set of pins to give the gate a "open signal"



the next step of this project i am focusing on now is the following:

when a mobile/laptop/mac address - connects to the pi and its in a accepted list (a .txt file or something or even in the python script itself) it automatically triggers a GPIO pin on the pi. this would then send the "open signal" to the gate and open.

the idea was to have a password on the bluetooth or a hosted wifi network so when the device connects and gets accepted it triggers the output.

any help would be appreciated

thanks
have you checked here for possible packages that can help: https://pypi.org/search/?q=monitor+mac+address
hi, i did use the search yes before i posted but i dont see any of them helping with what i need
anyone ?
this is on PyPi, looks like a partial solution
https://pypi.org/project/micropython-wiegand/