somebody uses this app?
Beiträge von brunh
-
-
Yes, that's it, thank you!
As "OnFoundUnknownTag" connected to the 532? -
thank you for your replies.
sorry, if i made you confused, let me explain again what i want.now my keyboard works this way:
by dialing some figures on the keyboard (or using rfid cards) i get txt files in the folder /usr/local/etc/Doorpi/virtuals/inputs.
e.g. i pressed on keyboard figures "5" "4" "3"
then i can see a file with filename 543.txt in that folder,
and in the same moment i have in doorpi.ini :[virtuell_InputPins]
543 = call:004
42881541 = out:Door,1,0,3 # this id of my mifare card to pn532 rfid readerso i receive the call on sipphone with phone number 004@....... or door will be unlocked.
and my question was if e.g. i pressed 567 or use some wrong card with id 7654321 and i don't have these InputPins in doorpi.ini,
how it is possible to get some notifications from the doorphone? -
Dear Thomas, thank you.
now all numbers that we are dialing on our sensor keyboard are saved in txt files into directory /usr/local/etc/Doorpi/virtuals/inputs. names of the files are equal to enterd numbers.
and that's why we are able now to call siphones that we have in our doorpi.ini.
(actually we deal the same way with cards of a rfid reader)but we want to show that some entered from the keyboard numbers are wrong, that they don't exist in doorpi.ini.
but how to do it we can't understand for now...
-
I use 12-button digit keyboard MPR121.
also i would like to use this function in regarding to rfid reader as well. for example if visitor uses wrong card that doesn't mentioned in doorpi.ini the doorphone will let know aboout it by some actions. -
simple matrix keyboard and LED display consume more thatn 40% of CPU,and if make some time delay will appear unpretty blinking. The problem's solution is separate controller of the keyboard or of the display, e.g. like this http://www.aliexpress.com/item/Free-shipping-1pcs-4-Bits-Digital-Tube-LED-Display-Module-With-Clock-Display-TM1637-for-Arduino/32549643077.html?spm=2114.13010608.0.113.tKR4y1 .
Better to take a fish-eye camera, e.g. like here with two mics http://www.aliexpress.com/item/Surveillance-cameras-200W-super-wide-angle-of-130-degrees-with-dual-microphone-USB2-0-camera-module/32620344388.html?spm=2114.13010608.0.94.w0G37S.
So, we did our doorphone from acrylic board using sensor keyboard (MPR121) and dynamic lighting (APA102) -
Please could you be so kind to help me, i would like to make my doorphone playing some special sounds or blinking of leds to show that wrong number was pressed, the number that doesn't represent in doorpi.ini. Danke.
-
touch keyboard MPR121, smart led APA102
For PoE two converter on the 5V supply for the Orange PC and 12V for the lock.
The panel in standby mode continuously blinks white, pressed button lights in green, the wrong set - red lights.
The dialed number is stored in the INPUT and processed as filesystems.
NSF 532 it is impossible to connect the SPI, and connected as mpr121 via i2c, rfid code stored in the INPUT directory and is treated as filesystems.Drivers from Raspberry and adapted for Orange
-
Hello Andreas!
yes i did, but it didn't help.
i will try to reinstall all again... -
Thank you, Andreas!
unfortunately it didn't help...
now i'm thinking : the file from_pn532.py shouldn't be changed by any way? what should i change if so?
Danke. -
sorry, i was writing in english... i didn't understand why it became in russian
i wrote the problem is solved by changing the file from_gpio.py -
Thank you, Andreas!
i have installed my pn532 on orange pi following exactly this instruction you've sent. And my device found it and can see it, but via i2c.
and now i don't know what should i write in doorpi.ini instead of "device = tty:AMA0:pn532".
the reply on command sudo nfc-list is:
nfc-list uses libnfc 1.7.1NFC device: pn532_i2c:/dev/i2c-0 opened.can you help me please?
Danke. -
i connected pn532 via i2c, please advise me what should i write in doorpi.ini, because like that doesn't work
[keyboards]
testsystem = gpio
virtuell = filesystem
nfcreader = pn532[nfcreader_keyboard]
device = pn532_i2c:/dev/i2c-1 -
проблема решается путем изменения файла from_gpio.py.
спасибо. -
Please be so kind clarify to us: how the value "false" is recording to files of keyboard Filesystem after tripping of the script? And should it be written value "false" if an event works upon updating ?
Danke! -
Hello Thomas! Thank you!
[AREA_installer]
.* =[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led = blinking_led
snapshot_path = !BASEPATH!/snapshot
dialtone = !BASEPATH!/media/ShortDialTone.wav
records = !BASEPATH!/records/!LastKey!/%Y-%m-%d_%H-%M-%S.wav
record_while_dialing = true[DoorPiWeb]
indexfile = index.html
ip =
loginfile = login.html
online_fallback = http://motom001.github.io/DoorPiWeb
port = 8080
public = AREA_public
www = !BASEPATH!/../DoorPiWeb[EVENT_OnStartup]
10 = sleep:1[Group]
administrator = door[AdminNumbers]
**2000 = active
**1234 = active[SIP-Phone]
firewallpolicy = PolicyNoFirewall
audio_codecs = PCMA,PCMU
call_timeout = 15
dialtone = !BASEPATH!/media/ShortDialTone.wav
dialtone_renew_every_start = False
dialtone_volume = 35
echo_cancellation_enabled = False
identity = DoorPi
local_port = 5062
max_call_time = 60
capture_device = ALSA: USB PnP Sound Device
playback_device = ALSA: USB PnP Sound Device
record_while_dialing = False
records = !BASEPATH!/records/%Y-%m-%d_%H-%M-%S.wav
sipphonetyp = linphone
sipserver_password = ****
sipserver_realm = 91.240.85.39
sipserver_server = 91.240.85.39
sipserver_username = 1000
stun_server =
ua.max_calls = 2
video_codecs = VP8
video_device = V4L2: /dev/video0
video_display_enabled = False
video_size = vga[DTMF]
"#" = out:Door,1,0,3
"*6*" = out:lite,0
"*7*" = out:lite,1[User]
door = pi[WritePermission]
administrator = installer[keyboards]
testsystem = gpio
virtuell = filesystem[testsystem_keyboard]
bouncetime = 200
polarity = 1
pull_up_down = PUD_DOWN[testsystem_InputPins]
11 = call:tutelar@sip.linphone.org
12 = out:Door,1,0,3
12 = call:1234@192.168.43.246[testsystem_OutputPins]
13 = Door
#19 = lite
15 = blinking_led#======== Config for Filesystem Keyboard =========
[virtuell_keyboard]
reset_input = true
base_path_input = !BASEPATH!/virtual/inputs/
base_path_output = !BASEPATH!/virtual/outputs/[virtuell_InputPins]
123 = call:1234
door = out:Door,1,0,3
virtueller_door = out:virtueller Door,1,0,3
222 = call:4000
111 = call:tutelar@sip.linphone.org[virtuell_OutputPins]
Door = virtueller Door#==========
[EVENT_OnKeyPressed_testsystem.133]
10 = os_execute:php /usr/local/etc/DoorPi/tools/take_snapshot_doorpi.php
20 = os_execute:sudo /usr/local/bin/mail-bild.sh -
Hi dear all
recently i've bought Orange Pi PC to install Doorpi on it. (orange pi + camera cost 21$)
Installation of Doorpi finished without any errors. Thank you!
but when i have replaced doorpi.ini by config file that well-worked on raspberry, i received the following messages about errors. Please see log.
could you please to help me ? where and what i have to fix?
Danke.
2016-06-03 10:59:25,576 [ERROR] [doorpi.action.handler] [00U6U4] error while fire action OutAction with args () and kwargs {'log_output': 'False', 'value': 'LOW', 'pin': 'blinking_led'} for event_name OnTimeSecondUnevenNumber
Traceback (most recent call last):
File "/usr/local/etc/DoorPi/doorpi/action/handler.py", line 284, in fire_event_synchron
result = action.run(silent)
File "/usr/local/etc/DoorPi/doorpi/action/base.py", line 48, in run
return self.__callback(**self.__kwargs)
File "/usr/local/etc/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
raise UnknownOutputPin('outputpin with name %s is unknown %s' % (pin, self.__OutputMappingTable))
UnknownOutputPin: outputpin with name blinking_led is unknown {}
2016-06-03 10:59:26,134 [ERROR] [doorpi.action.handler] [9FLXQR] error while fire action OutAction with args () and kwargs {'log_output': 'False', 'value': 'HIGH', 'pin': 'blinking_led'} for event_name OnTimeSecondEvenNumber
Traceback (most recent call last):
File "/usr/local/etc/DoorPi/doorpi/action/handler.py", line 284, in fire_event_synchron
result = action.run(silent)
File "/usr/local/etc/DoorPi/doorpi/action/base.py", line 48, in run
return self.__callback(**self.__kwargs)
File "/usr/local/etc/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
raise UnknownOutputPin('outputpin with name %s is unknown %s' % (pin, self.__OutputMappingTable))
UnknownOutputPin: outputpin with name blinking_led is unknown {}
2016-06-03 10:59:26,588 [INFO] [doorpi.sipphone.from_linphone] nict_on_timer_E: sending retransmission
2016-06-03 10:59:26,590 [INFO] [doorpi.sipphone.from_linphone] channel [0x1237128]: message sent to [UDP://91.240.85.39:5060], size: [551] bytes
REGISTER sip:91.240.85.39 SIP/2.0
Via: SIP/2.0/UDP 192.168.43.246:5062;branch=z9hG4bK.LVkOrXbyJ;rport
From: "DoorPi" <sip:1000@91.240.85.39>;tag=AHFkmvgmS
To: "DoorPi" <sip:1000@91.240.85.39>
CSeq: 21 REGISTER
Call-ID: ZnpDdhlihb
Max-Forwards: 70
Supported: replaces, outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact: <sip:1000@192.168.43.246:5062;transport=udp>;+sip.instance="<urn:uuid:b404ef76-6b7d-4699-987a-daacbdefaa3d>"
Expires: 3600
User-Agent: Unknown (belle-sip/1.4.2)^C2016-06-03 10:59:26,595 [INFO] [__main__] KeyboardInterrupt -> DoorPi will shutdown
2016-06-03 10:59:26,596 [DEBUG] [doorpi.doorpi] destroy doorpi -
Hi dear Andreas,
i have a question: is it possible to change settings (resolution) of mjpg-streamer in the process?
i would like to take at the same moment two pictures of different quality - one with low resolution to send via telegram, and with higher resolution to save on sdcard.
i have tried to use command "killall mjpg-streamer", but it didn't help, unfortunately.
Danke! -
Hello, Pula, thanks a lot for this topic!
can you advise me please what should i change if i'd like to use RFID RC522? Because i have bought RC522 already.thank you in advance
-
Wie konfigurieren Video Streams?
StreamTyp: stream
Url: http://91.240.85.39:9001/?acton=streamFunktioniert nicht.
Danke.