Go to advanced search

by drifterf
Wed Jul 17, 2019 4:30 pm
Forum: Python
Topic: only read a certain length of a output
Replies: 9
Views: 174

Re: only read a certain length of a output

thank you for the advise :)
by drifterf
Tue Jul 16, 2019 4:14 pm
Forum: Wanted
Topic: Assist In python and peewee setup
Replies: 2
Views: 147

Re: Assist In python and peewee setup

will email now mate, thank you
by drifterf
Tue Jul 16, 2019 5:26 am
Forum: Python
Topic: write python output to a excel field
Replies: 3
Views: 123

Re: write python output to a excel field

thank you i will have a read
by drifterf
Mon Jul 15, 2019 6:07 pm
Forum: Python
Topic: write python output to a excel field
Replies: 3
Views: 123

Re: write python output to a excel field

current script that accepts codes alredy programmed in the csv or denies if they are not #!/usr/bin/env python import pigpio, csv FILE_TO_READ = '/home/pi/furniss_acu/database/database.csv' CSV_ID_KEY = 'Number :' class decoder: """ A class to read Wiegand codes of an arbitrary length. The code leng...
by drifterf
Mon Jul 15, 2019 6:05 pm
Forum: Python
Topic: write python output to a excel field
Replies: 3
Views: 123

write python output to a excel field

hi, i currently have a script that when a proximity fob is presented to the reader it displays the fob number (PIGPIO wiegand script) i would like to make a python script so when i run it and then present the access fob it automatically puts the output into the next un-used column of the csv file. c...
by drifterf
Mon Jul 15, 2019 5:40 pm
Forum: Python
Topic: only read a certain length of a output
Replies: 9
Views: 174

Re: only read a certain length of a output

pi@raspberrypi:~ $ apt-cache policy python3-pigpio python3-pigpio: Installed: 1.68-3+rpi1 Candidate: 1.68-3+rpi1 Version table: *** 1.68-3+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages 100 /var/lib/dpkg/status pi@raspberrypi:~ $ apt-cache policy python-pigpio pytho...
by drifterf
Mon Jul 15, 2019 5:02 pm
Forum: Python
Topic: only read a certain length of a output
Replies: 9
Views: 174

Re: only read a certain length of a output

hi, thank you

i believe it is installed as it tells me i am on version 68 i believe
by drifterf
Mon Jul 15, 2019 4:47 pm
Forum: Python
Topic: only read a certain length of a output
Replies: 9
Views: 174

Re: only read a certain length of a output

also sorry to jump on you joan but could you help with this (env) pi@raspberrypi:~/acu $ python main.py Traceback (most recent call last): File "main.py", line 1, in <module> from acu.app import App File "/home/pi/acu/acu/app.py", line 2, in <module> import pigpio ModuleNotFoundError: No module name...
by drifterf
Mon Jul 15, 2019 4:44 pm
Forum: Wanted
Topic: Assist In python and peewee setup
Replies: 2
Views: 147

Assist In python and peewee setup

Hi, i have a project which was working fine. its a access control project for letting people through a automatic gate so i have a front end web based site that loads on startup and goes full screen, it then allows the user to login and add users or delete them. the original person who helped me with...
by drifterf
Mon Jul 15, 2019 4:38 pm
Forum: Python
Topic: only read a certain length of a output
Replies: 9
Views: 174

Re: only read a certain length of a output

hi, so are you saying read bits of it such as every 4th number or something ?

thanks
by drifterf
Mon Jul 15, 2019 3:43 pm
Forum: Python
Topic: only read a certain length of a output
Replies: 9
Views: 174

only read a certain length of a output

Hi, i have a python script which reads a wiegand proximity reader input, displays the card number and if the user has been allowed access or denied. the script i posted below does accept any card presented to it but whats im actually after is the shorten the output length. at the moment when i prese...
by drifterf
Wed Jul 10, 2019 5:20 am
Forum: Other projects
Topic: android notifcation to trigger gpio ?
Replies: 0
Views: 85

android notifcation to trigger gpio ?

hi guys, i am after the following and suggestions. i have a intercom system which pushes notifacations to android or ios to be notified when someone is in attendance at the gate. what i want to do is trigger a gpio when a call on the intercom is made. i was thinking of loading android os maybe onto ...
by drifterf
Sun Jul 07, 2019 11:14 am
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Re: Trigger gpio when a device connects

any help ? thanks
by drifterf
Wed Jul 03, 2019 5:35 pm
Forum: Python
Topic: Peewee.py Issue i think ?
Replies: 2
Views: 108

Re: Peewee.py Issue i think ?

ok thank you, i have the issue where on the web based page that we use (when it worked) to add/delete cards that the cards no longer show up, im assuming the above is not a issue then and i should carry on trying to find the fault ?
by drifterf
Tue Jul 02, 2019 6:41 pm
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Re: Trigger gpio when a device connects

Do you know the MAC address of the device connecting? If so you could use arping sudo arping -c 5 -i wlan0 b8:27:eb:6b:b7:d0 Though if that finds anything - why are you on my network :?: :lol: :?: The -c 5 says 5 pings ( NOT - One ping only Anatoli ) The -i wlan0 says use the wireless LAN interface...
by drifterf
Tue Jul 02, 2019 6:33 pm
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Re: Trigger gpio when a device connects

thanks, i will have a look through, in a ideal world i would just want a script reading a csv/txt file or something where i could input the mac addresses and when the device connects it triggers a gpio pin. wifi would prob be better but either would be fine to get it working
by drifterf
Tue Jul 02, 2019 6:06 pm
Forum: Python
Topic: Peewee.py Issue i think ?
Replies: 2
Views: 108

Peewee.py Issue i think ?

hi guys, i created a Access control system from the PI and had someone create me a web based way of adding/removing cards etc. i can no longer get intouch with this person and need to fix the following issue. when i run one of the commands i need for this i get the following error : flask import-sam...
by drifterf
Fri Jun 28, 2019 4:14 pm
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Re: Trigger gpio when a device connects

anyone ?
by drifterf
Tue Jun 25, 2019 4:45 pm
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Re: Trigger gpio when a device connects

ok so could someone point me in the right direction of doing this in linux please ? im lost currently. thanks
by drifterf
Sun Jun 23, 2019 5:05 pm
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Re: Trigger gpio when a device connects

thanks for your reply. i believe it is only IOT windows based for pi though, would this do that
by drifterf
Sat Jun 22, 2019 5:11 pm
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Re: Trigger gpio when a device connects

no one ?
by drifterf
Thu Jun 20, 2019 5:58 pm
Forum: Python
Topic: Trigger gpio when a device connects
Replies: 12
Views: 1080

Trigger gpio when a device connects

Hi everyone, i had a search and could not find what i am after. i would like to trigger a gpio pin when a device connects to bluetooth/wifi i was thinking of using the MAC address i would like to make a python script where i can add the accepted MAC addresses to it so when they connect to the networ...
by drifterf
Mon May 27, 2019 2:41 pm
Forum: Other projects
Topic: aeroplane live feed to ground
Replies: 4
Views: 403

Re: aeroplane live feed to ground

hi thanks for the info, this opens alot of thoghts. its not for security its just a idea to give people attending the show a view from inside whilst it is happening
by drifterf
Sat May 25, 2019 8:13 am
Forum: Other projects
Topic: aeroplane live feed to ground
Replies: 4
Views: 403

aeroplane live feed to ground

as in the subject, this is what i am trying to achieve we do cctv at events in the uk, we are doing a airshow soon and have just been asked if its possible to put a camera in a aeroplane and broadcast the stream back to a tv on the ground. i can fit a camera that gives out a rtsp network video strea...
by drifterf
Thu Apr 25, 2019 4:34 pm
Forum: Other projects
Topic: New Mobile OS made from scratch on a Raspberry Pi
Replies: 11
Views: 892

Re: New Mobile OS made from scratch on a Raspberry Pi

no input from me tbh but i really like this :)

Go to advanced search