• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending and receiving at the same time

I'm experiencing issues with sending and receiving commands at the same time.

I have a own written python program with a connection to pilight.
I have a door sensor on my front door. When i open the door, the light should turn on.

What it does, it reads the socket connection with pilight. When i receive the front door sensor, i use os.system() to execute the pilight-send command.

This exact command works when i use it by hand, but not when it's executed automatically.

If i use a delay, like 1 second or more. Then it's working most of the time...

If i monitor pilight-receive, i don't even see a line with origin: sender. Only receiver notes.

So, what's up with this. Is sending not possible while receiving?
It is, i use this myself. Can you post the script.
Helloooo geerttttt, where is the script?


Possibly Related Threads...
Thread Author Replies Views Last Post
  433nano stops receiving with FHEM RichiG 1 35 03-27-2020, 07:36 PM
Last Post: curlymo
  433nano stops receiving robertkrause 59 1,773 02-19-2020, 07:37 PM
Last Post: curlymo
  Wrong time after switch from DST Rschnauzer 2 490 10-29-2018, 06:00 PM
Last Post: Rschnauzer
  How to check if a time is between two times? rorie 4 703 10-18-2018, 07:06 AM
Last Post: curlymo
  Date/time out of sync with pi system time wimd 7 2,426 04-25-2017, 11:30 AM
Last Post: Niek
  sending special sequences with raw protocol eunger 1 1,137 05-12-2016, 08:40 PM
Last Post: curlymo
  Sending delay timk 3 1,628 04-16-2016, 09:51 PM
Last Post: curlymo
  Running script one time. yabapolido 8 5,244 12-03-2015, 01:48 PM
Last Post: Prutsky
  Sending with 2 transmitters (AdHoc) tobid 11 4,927 08-23-2015, 05:12 PM
Last Post: curlymo
  Daemon hanging after sending raw derfrink 4 2,415 03-13-2015, 02:43 PM
Last Post: wo_rasp

Forum Jump:

Browsing: 1 Guest(s)