• 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
Verify pilight send/receive function
#1
Hello,

is it possible to define a function to verify the send and receive functions of a raspberry with installed pilight by sending a specified standard pattern and check with receive over-the-air, if the pattern is received correct.
By this it would be possible to define a quality factor per installation by the amount of received noise.

Best regards,

Herwig
Raspberry B+  
Low-pass filter, Receiver RXB6, Sender I-XI
Version 7.0.178 (nightly version), Android App 6.0.4
 
Reply
#2
Can you clarify more?
 
Reply
#3
Hello,

today it is impossible to check whether the transmitter, the receiver or the filter works correct. Nor is it possible to realistic compare the quality of the different transmitter and receiver chips.
If a defined standard pattern sequence is send and received over the air, it is possible to get a comparable factor to qualify each installation.

Best regards,

Herwig
Raspberry B+  
Low-pass filter, Receiver RXB6, Sender I-XI
Version 7.0.178 (nightly version), Android App 6.0.4
 
Reply
#4
I'm open to any concrete implementation.
 
Reply
#5
Hallo,

as far I understood you: the existing implementation of pilight-receive does report the sent code from pilight-send internally and not over-the-air.
Is it possible to suppress this internal copy function by a parameter?

Best regards,

Herwig
Raspberry B+  
Low-pass filter, Receiver RXB6, Sender I-XI
Version 7.0.178 (nightly version), Android App 6.0.4
 
Reply
#6
Hey,

as far as i know, pilight can not send and receice at the same time. Therefore i do not see the benefit by supressing the internal message.

In my opinion you need two raspberries with standalone pilights. Using one for sending, the other pi should pick up the signal. Using ad hoc will not work, because both instances will send and will not receive.

Correct me, if i am wrong or did not get the topic.

Greetings,
tobid
 
Reply
#7
(11-03-2015, 07:23 PM)tobid Wrote: ... pilight can not send and receice at the same time...
Then the idea would be dead, if it is not easy for each user to check the quality.

Best regards,

Herwig
Raspberry B+  
Low-pass filter, Receiver RXB6, Sender I-XI
Version 7.0.178 (nightly version), Android App 6.0.4
 
Reply
#8
Resurrecting this thread with a slightly different twist:


Can someone definitively confirm if it is impossible to do a send - receive test over the air?
It is stated above that this is not possible, but not definitively ("i think this is not possible ...").

I just started with pilight, and had the first instinct to test the hardware setup by a direct send-receive test.
But i did read somewhere, that when trying simultaneous send-receive it will be routed internally and not go over the air.
Still i found a howto blogpost that did in deed recommend such a test, apparently the author did not know about "origin": "sender" .

Possible feature-request:
If pilight can't simultaneously send&receive, would it be possible to write a small stand-alone script that does a send-receive test over the air? I guess this could be a very simple binary data test, no protocols etc. needed.
 
Reply
#9
The development and rewrite code of pilight already does this. That codebase will make it to stable somewhere in the future.
 
Reply
#10
(03-25-2018, 12:51 AM)...)curlymo Wrote: The development and rewrite code of pilight already does this.

1.
Does over-the air automatically?

2.
From the install instructions in the manual:
Quote:...This development version of pilight is also automatically generated each night. You can download it from the pilight nightly repository...

I interpret that i can apt install the dev. version?
I did so and got
Code:
pilight-daemon -V
pilight-daemon version v7.0-252-g97d4b57
Can't find a commit msg g97d4b57 on github, so not sure what i got...

Anyways, if i send on one terminal and receive on another, i still get
"origin": "sender"...
(Tested on a laptop, so without the receiver actually and without editing config).

Testing on the pi send-receive does not work, the commands just hang.
send gives an error:
Code:
pilight-receive
^C[Mar 25 11:57:27:112517] pilight-receive: ERROR: could not connect to pilight-daemon
the service is running, hardware & platform is configured:
Code:
{
       "devices": {},
       "rules": {},
       "gui": {},
       "settings": {
               "log-level": 6,
               "pid-file": "/var/run/pilight.pid",
               "log-file": "/var/log/pilight.log",
               "webserver-enable": 1,
               "webserver-root": "/usr/local/pilight/webgui",
               "webserver-http-port": 5001,
               "webserver-cache": 1,
               "gpio-platform": "raspberrypi2",
               "standalone": 1
       },
       "hardware": {
               "433gpio": {
                       "sender": 0,
                       "receiver": 1
               }
       },
       "registry": {}
}
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Implement 433gpio send buffer to prevent interference hepcat72 6 498 07-18-2019, 10:03 AM
Last Post: curlymo
  pilight values api TopdRob 2 1,050 10-08-2017, 01:08 PM
Last Post: HarrisRo
  433 MHz smoke and motion detectors false alarms - receive repeats frenchie71 4 1,767 11-28-2016, 02:58 PM
Last Post: frenchie71
  pilight JSON syntax checker Rschnauzer 7 3,322 04-13-2016, 10:41 PM
Last Post: OrTiN
  pilight and Arduino ethernet communication omniteo790 1 1,427 03-20-2016, 12:08 PM
Last Post: creamers
  pilight and lirc (lirc_web) tobid 25 8,967 02-04-2016, 08:57 PM
Last Post: diman87
  running two different pilight sites in the GUI stratege-0815 6 3,729 08-14-2015, 09:24 AM
Last Post: stratege-0815
Information pilight Scenes Luppie 13 7,308 06-10-2015, 09:40 AM
Last Post: TheWheel
  Improving pilight-debug / pilight-learn Bram 15 11,060 06-02-2015, 11:24 PM
Last Post: anfichtn
  GET or POST values to pilight through webgui creamers 3 2,566 05-03-2015, 09:48 PM
Last Post: creamers

Forum Jump:


Browsing: 1 Guest(s)