Thank you Wal,
I will try it as soon as I'll recover from the Christmas hangover
happy holidays
Beiträge von katsaplias
-
-
hi, I know how to install and configure mosquitto, but I don't know how to link them together through doorpi.ini.
I'm thinking the following simple scenario:- visitor presses button A -> DoorPI publishes MQTT topic (based on button A) to the MQTT server
- landlord publishes MQTT topic (through MQTT server) -> DoorPI open/closes IO
thanks
-
It has been discussed in the forum by others but I don't have any clear answer.
Any luck of integrating DoorPi with the MQTT (Message Queuing Telemetry Transport) protocol?
That will be very handy when you want integrate DoorPi to a Home Automation system like OpenHAB, Home Assistant or any platform that uses communication to a MQTT server.thanks
-
great project Elux!
how did you accomplished the MQTT setup?
do you have any information to share?
I am trying to integrate the Home Assistant with DoorPi, but I am afraid that there is no easy way to do it.Stavros
-
for sure it's going to be an android mobile or tablet but I haven't got all the info yet to test it with a specific client.
I have seen in the forum, that someone has experimented with his own client app.
I'll try to go through all the info from the link you send me and get back to you with more questions.
Thanks again! -
I want a live stream
-
Thomas, it's fine thank you!
next step is to experiment with the raspicam -
thank you very much, I will give it a try as soon as I can
-
any help, please?
-
Hi,
it's my first attempt to write in this forum.
I am testing DoorPi for few weeks now and I have successfully managed to place a call through SIP.
I am very excited with this project and I want to thank all of you for your great effort creating it, since I was looking for this quite sometime now.
Although, I still have a problem since I can not use any output pin on my Raspberry Pi 1 board.
I get the following error when I'm pressing on output activation key on my phone dial:Code- 2016-05-24 22: 51: 28,874 [ERROR] [doorpi.action.handler] [Z2BORL] error while fire action OutTriggeredAction with args () and kwargs { 'stop_pin': 'NoStopPinSet', 'END_VALUE': '0' , 'timeout' 3.0, 'pin', '12', 'START_VALUE': '1'} for event_name OnDTMF _ "#"
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/dist-packages/doorpi/action/handler.py", line 284, in fire_event_synchron
- result = action.run (silent)
- File "/usr/local/lib/python2.7/dist-packages/doorpi/action/base.py", line 48, in run
- return self .__ callback (** self .__ kwargs)
- File "/usr/local/lib/python2.7/dist-packages/doorpi/action/SingleActions/out_triggered.py", line 14, in out_triggered
- keyboard.set_output doorpi.DoorPi (). (Pin, START_VALUE)
- File "/usr/local/lib/python2.7/dist-packages/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
- raise UnknownOutputPin ( 'output pin with name% s is unknown% s'% (pin, self .__ Output Mapping Table))
- UnknownOutputPin: output pin with 12 name is unknown { 'Entry Door': 'onboardpins'}
I am using the Following:
Raspberry Pi Model B (Rev 2.0, 512Mb)
Raspbian Jessie lite
DoorPi 2.5.0.2
and my config is:Code- [DTMF]
- "#" = Out: 12,1,0,3
- [DoorPi]
- base_path = / usr / local / etc / DoorPi
- eventlog =! BASEPATH! /conf/eventlog.db
- is_alive_led =
- last_snapshot =
- snapshot_path =
- [DoorPiWeb]
- indexfile = index.html
- ip =
- login file = login.html
- online_fallback = http://motom001.github.io/DoorPiWeb
- port = 80
- public = AREA_public
- www =! BASEPATH! /../ DoorPiWeb
- [EVENT_OnStartup]
- 10 = sleep: 1
- [Group]
- administrator = door
- [SIP Phone]
- firewall policy = PolicyNoFirewall
- audio_codecs = PCMA, PCMU
- call_timeout = 15
- capture_device = ALSA: USB PnP Sound Device
- dialtone =! BASEPATH! /media/ShortDialTone.wav
- dialtone_renew_every_start = False
- dialtone_volume = 35
- echo_cancellation_enabled = False
- identity = DoorPi
- local_port = 5060
- max_call_time = 120
- 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 =
- sipserver_server = sip. ****. com
- sipserver_username = ****
- stun_server =
- ua.max_calls = 2
- video_codecs = VP8
- video_device = Static Image: Static picture
- video_display_enabled = False
- video_size = vga
- [User]
- door = pi
- [Write Permission]
- administrator = installer
- [Keyboards]
- onboardpins = gpio
- [Onboardpins_InputPins]
- 11 = call: ****
- [Onboardpins_OutputPins]
- 12 = Entry Door
- [Onboardpins_keyboard]
- bouncetime = 200
- mode = BOARD
- polarity = 0
- pressed_on_keydown = True
- pull_up_down = PUD_DOWN
Thank you for your time and effort