• 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
pilight Nano USB interface
#82
Looking at the Logic Analyser pulses it is indeed curious that it is working. But if a device is not analysing pulse durations but using flank detection instead, combined with low speed hardware, not recognizing unexpected pulses ?
All I can tell so far is that my Intertechno and Brennenstuhl devices do work well with the original remote, and work well with pilight on small distances, but I am monitoring failures on larger distances and sometimes multiple switches react, but only one should.

As debugging with pilight-raw is a bit nasty, i changed receiveOOK such that it prints all raw pulses that may belong to one pulsetrain in one row, and print the number of pulses that may belong to that pulsetrain at the end:
Code:
void *receiveOOK(void *param) {
   int duration = 0;
   int iLoop = 0;

   struct hardware_t *hw = (hardware_t *)param;
   while(main_loop && hw->receiveOOK) {
      duration = hw->receiveOOK();
      iLoop++;
      if(duration > 0) {
// Footer criteria deteted
         if (duration>5100) {
// Add number of pulses at the end and reset counter value
            printf(" %d -#: %d\n%s: ",duration, iLoop, hw->id);
            iLoop = 0;
         } else {
            printf(" %d", duration);
         }
      }
   };
   return NULL;
}
The benefit is that it is:
- far easier to read raw data pulsetrains
- capture raw data and copy them back into pilight-send
- compare pulsetrains with each other
 
Reply
  


Messages In This Thread
pilight Nano USB interface - by curlymo - 03-09-2015, 05:48 PM
RE: pilight Nano USB interface - by meloen - 05-02-2015, 11:20 AM
RE: pilight Nano USB interface - by curlymo - 05-02-2015, 01:39 PM
RE: pilight Nano USB interface - by terrar - 05-07-2015, 12:11 PM
RE: pilight Nano USB interface - by curlymo - 05-07-2015, 12:24 PM
RE: pilight Nano USB interface - by terrar - 05-07-2015, 12:47 PM
RE: pilight Nano USB interface - by curlymo - 05-07-2015, 12:58 PM
RE: pilight Nano USB interface - by terrar - 05-07-2015, 01:09 PM
RE: pilight Nano USB interface - by GENETX - 05-11-2015, 08:35 PM
RE: pilight Nano USB interface - by curlymo - 05-11-2015, 09:09 PM
RE: pilight Nano USB interface - by koos147 - 06-02-2015, 08:10 PM
RE: pilight Nano USB interface - by curlymo - 06-02-2015, 10:27 PM
RE: pilight Nano USB interface - by noxx - 06-22-2015, 04:07 PM
RE: pilight Nano USB interface - by curlymo - 06-22-2015, 04:46 PM
RE: pilight Nano USB interface - by noxx - 06-23-2015, 08:21 AM
RE: pilight Nano USB interface - by pilino1234 - 06-23-2015, 08:37 AM
RE: pilight Nano USB interface - by curlymo - 06-23-2015, 08:51 AM
RE: pilight Nano USB interface - by pilino1234 - 06-23-2015, 08:55 AM
RE: pilight Nano USB interface - by noxx - 06-23-2015, 09:39 AM
RE: pilight Nano USB interface - by curlymo - 06-23-2015, 09:06 AM
RE: pilight Nano USB interface - by noxx - 06-23-2015, 05:22 PM
RE: pilight Nano USB interface - by curlymo - 06-23-2015, 10:14 AM
RE: pilight Nano USB interface - by pilino1234 - 06-23-2015, 05:28 PM
RE: pilight Nano USB interface - by noxx - 06-23-2015, 05:49 PM
RE: pilight Nano USB interface - by curlymo - 06-23-2015, 06:33 PM
RE: pilight Nano USB interface - by noxx - 06-23-2015, 08:01 PM
RE: pilight Nano USB interface - by curlymo - 06-23-2015, 08:16 PM
RE: pilight Nano USB interface - by dc6jn - 06-24-2015, 05:49 PM
RE: pilight Nano USB interface - by curlymo - 06-24-2015, 07:11 PM
RE: pilight Nano USB interface - by dc6jn - 06-24-2015, 09:42 PM
RE: pilight Nano USB interface - by curlymo - 07-17-2015, 01:50 PM
RE: pilight Nano USB interface - by tpm88 - 08-09-2015, 09:17 AM
RE: pilight Nano USB interface - by curlymo - 08-09-2015, 09:24 AM
RE: pilight Nano USB interface - by tpm88 - 08-09-2015, 12:11 PM
RE: pilight Nano USB interface - by mkloeffer - 09-06-2015, 07:36 PM
RE: pilight Nano USB interface - by curlymo - 09-06-2015, 07:47 PM
RE: pilight Nano USB interface - by mkloeffer - 09-08-2015, 07:18 PM
RE: pilight Nano USB interface - by curlymo - 09-08-2015, 07:51 PM
RE: pilight Nano USB interface - by mkloeffer - 09-09-2015, 07:05 AM
RE: pilight Nano USB interface - by hasselh - 09-15-2015, 01:51 PM
RE: pilight Nano USB interface - by curlymo - 09-15-2015, 03:00 PM
RE: pilight Nano USB interface - by hasselh - 09-15-2015, 06:16 PM
RE: pilight Nano USB interface - by curlymo - 09-15-2015, 06:48 PM
RE: pilight Nano USB interface - by hasselh - 09-15-2015, 08:38 PM
RE: pilight Nano USB interface - by psbest - 10-10-2015, 09:38 PM
RE: pilight Nano USB interface - by pilino1234 - 10-11-2015, 01:07 PM
RE: pilight Nano USB interface - by psbest - 10-12-2015, 05:16 PM
RE: pilight Nano USB interface - by pilino1234 - 10-12-2015, 05:46 PM
RE: pilight Nano USB interface - by curlymo - 10-12-2015, 07:31 PM
RE: pilight Nano USB interface - by psbest - 10-12-2015, 08:25 PM
RE: pilight Nano USB interface - by curlymo - 10-12-2015, 09:20 PM
RE: pilight Nano USB interface - by psbest - 10-12-2015, 09:23 PM
RE: pilight Nano USB interface - by curlymo - 10-12-2015, 10:03 PM
RE: pilight Nano USB interface - by psbest - 10-13-2015, 08:54 PM
RE: pilight Nano USB interface - by psbest - 10-14-2015, 01:20 PM
RE: pilight Nano USB interface - by pilino1234 - 10-14-2015, 02:07 PM
pilight Nano USB interface - by psbest - 10-22-2015, 09:31 PM
RE: pilight Nano USB interface - by accountabc - 10-25-2015, 02:27 PM
RE: pilight Nano USB interface - by hasselh - 11-08-2015, 02:12 PM
RE: pilight Nano USB interface - by accountabc - 11-08-2015, 03:19 PM
RE: pilight Nano USB interface - by curlymo - 11-08-2015, 03:34 PM
RE: pilight Nano USB interface - by accountabc - 11-08-2015, 04:07 PM
RE: pilight Nano USB interface - by LF-X - 11-11-2015, 11:06 PM
RE: pilight Nano USB interface - by curlymo - 11-11-2015, 11:13 PM
RE: pilight Nano USB interface - by sash.sc - 11-17-2015, 04:16 PM
RE: pilight Nano USB interface - by AirbusRichard - 01-10-2016, 08:39 PM
RE: pilight Nano USB interface - by curlymo - 01-10-2016, 08:40 PM
RE: pilight Nano USB interface - by AirbusRichard - 01-10-2016, 09:14 PM
RE: pilight Nano USB interface - by alasdairc - 05-15-2016, 11:31 PM
RE: pilight Nano USB interface - by kniazio - 05-16-2016, 05:25 AM
RE: pilight Nano USB interface - by curlymo - 05-16-2016, 08:08 AM
RE: pilight Nano USB interface - by kniazio - 05-16-2016, 10:30 AM
RE: pilight Nano USB interface - by curlymo - 05-16-2016, 11:35 AM
RE: pilight Nano USB interface - by kniazio - 05-16-2016, 12:02 PM
RE: pilight Nano USB interface - by curlymo - 05-16-2016, 02:06 PM
RE: pilight Nano USB interface - by kniazio - 05-16-2016, 07:49 PM
RE: pilight Nano USB interface - by kniazio - 05-17-2016, 11:38 AM
RE: pilight Nano USB interface - by curlymo - 05-17-2016, 05:33 PM
RE: pilight Nano USB interface - by Christer - 10-07-2016, 06:03 PM
RE: pilight Nano USB interface - by andies - 02-03-2017, 05:39 PM
RE: pilight Nano USB interface - by curlymo - 02-03-2017, 06:15 PM
RE: pilight Nano USB interface - by andies - 02-03-2017, 06:23 PM
RE: pilight Nano USB interface - by curlymo - 02-03-2017, 07:32 PM
RE: pilight Nano USB interface - by andies - 02-04-2017, 08:23 AM
RE: pilight Nano USB interface - by curlymo - 02-04-2017, 10:18 AM
RE: pilight Nano USB interface - by andies - 02-04-2017, 09:58 PM
RE: pilight Nano USB interface - by curlymo - 02-04-2017, 09:59 PM
RE: pilight Nano USB interface - by andies - 02-05-2017, 11:34 AM
RE: pilight Nano USB interface - by curlymo - 02-05-2017, 12:16 PM
RE: pilight Nano USB interface - by andies - 02-05-2017, 12:42 PM
RE: pilight Nano USB interface - by curlymo - 02-05-2017, 12:51 PM
RE: pilight Nano USB interface - by andies - 02-05-2017, 02:25 PM
RE: pilight Nano USB interface - by curlymo - 02-05-2017, 02:38 PM
RE: pilight Nano USB interface - by andies - 02-05-2017, 03:15 PM
RE: pilight Nano USB interface - by curlymo - 02-05-2017, 03:29 PM
RE: pilight Nano USB interface - by tihe - 02-11-2017, 06:37 PM
RE: pilight Nano USB interface - by curlymo - 02-11-2017, 09:00 PM
RE: pilight Nano USB interface - by andies - 02-20-2017, 02:56 PM
RE: pilight Nano USB interface - by curlymo - 02-20-2017, 07:15 PM
RE: pilight Nano USB interface - by andies - 02-21-2017, 01:20 PM
RE: pilight Nano USB interface - by curlymo - 02-21-2017, 07:16 PM
RE: pilight Nano USB interface - by andies - 02-21-2017, 07:18 PM
RE: pilight Nano USB interface - by curlymo - 02-21-2017, 09:09 PM
RE: pilight Nano USB interface - by andies - 02-21-2017, 09:13 PM
RE: pilight Nano USB interface - by curlymo - 02-21-2017, 09:15 PM
RE: pilight Nano USB interface - by andies - 03-15-2017, 08:07 AM
RE: pilight Nano USB interface - by honselbonsel - 04-04-2018, 12:01 PM
RE: pilight Nano USB interface - by curlymo - 04-04-2018, 02:03 PM
RE: pilight Nano USB interface - by sensorback - 04-24-2018, 11:32 PM
RE: pilight Nano USB interface - by curlymo - 04-25-2018, 06:20 AM
RE: pilight Nano USB interface - by sensorback - 04-25-2018, 10:47 AM
RE: pilight Nano USB interface - by curlymo - 04-25-2018, 05:28 PM
RE: pilight Nano USB interface - by sensorback - 04-27-2018, 08:48 PM
RE: pilight Nano USB interface - by sensorback - 04-27-2018, 09:28 PM
RE: pilight Nano USB interface - by curlymo - 04-27-2018, 09:52 PM
RE: pilight Nano USB interface - by bitboy - 05-12-2019, 05:52 PM
RE: pilight Nano USB interface - by peteje@web.de - 07-10-2019, 11:07 AM
RE: pilight Nano USB interface - by curlymo - 07-10-2019, 06:14 PM
RE: pilight Nano USB interface - by terrar - 03-09-2015, 06:26 PM
RE: pilight Nano USB interface - by curlymo - 03-09-2015, 06:34 PM
RE: pilight Nano USB interface - by Eekhoorn - 03-10-2015, 03:03 PM
RE: pilight Nano USB interface - by curlymo - 03-10-2015, 03:39 PM
RE: pilight Nano USB interface - by curlymo - 03-10-2015, 05:24 PM
RE: pilight Nano USB interface - by Eekhoorn - 03-11-2015, 07:42 PM
RE: pilight Nano USB interface - by Zatta - 03-12-2015, 05:02 PM
RE: pilight Nano USB interface - by curlymo - 03-12-2015, 05:06 PM
RE: pilight Nano USB interface - by meloen - 03-12-2015, 08:10 PM
RE: pilight Nano USB interface - by GENETX - 03-12-2015, 09:40 PM
RE: pilight Nano USB interface - by curlymo - 03-12-2015, 09:45 PM
RE: pilight Nano USB interface - by GENETX - 03-12-2015, 10:18 PM
RE: pilight Nano USB interface - by Eekhoorn - 03-12-2015, 10:43 PM
RE: pilight Nano USB interface - by curlymo - 03-12-2015, 10:46 PM
RE: pilight Nano USB interface - by GENETX - 03-12-2015, 10:56 PM
RE: pilight Nano USB interface - by Zatta - 03-13-2015, 05:28 PM
RE: pilight Nano USB interface - by Eekhoorn - 03-14-2015, 01:46 PM
RE: pilight Nano USB interface - by curlymo - 03-14-2015, 01:52 PM
RE: pilight Nano USB interface - by Eekhoorn - 03-14-2015, 02:13 PM
RE: pilight Nano USB interface - by curlymo - 03-14-2015, 02:53 PM
RE: pilight Nano USB interface - by reichwar - 03-14-2015, 06:56 PM
RE: pilight Nano USB interface - by curlymo - 03-14-2015, 08:09 PM
RE: pilight Nano USB interface - by Eekhoorn - 03-15-2015, 09:21 AM
RE: pilight Nano USB interface - by curlymo - 03-15-2015, 09:52 AM
RE: pilight Nano USB interface - by GENETX - 03-15-2015, 02:36 PM
RE: pilight Nano USB interface - by curlymo - 03-15-2015, 02:42 PM
RE: pilight Nano USB interface - by GENETX - 03-15-2015, 03:17 PM
RE: pilight Nano USB interface - by curlymo - 03-15-2015, 03:26 PM
RE: pilight Nano USB interface - by GENETX - 03-15-2015, 04:33 PM
RE: pilight Nano USB interface - by curlymo - 03-15-2015, 04:34 PM
RE: pilight Nano USB interface - by GENETX - 03-15-2015, 04:58 PM
RE: pilight Nano USB interface - by GENETX - 03-16-2015, 09:06 PM
RE: pilight Nano USB interface - by curlymo - 03-16-2015, 09:20 PM
RE: pilight Nano USB interface - by GENETX - 03-16-2015, 09:36 PM
RE: pilight Nano USB interface - by Kennie - 03-19-2015, 07:32 PM
RE: pilight Nano USB interface - by curlymo - 03-19-2015, 07:36 PM
RE: pilight Nano USB interface - by curlymo - 03-25-2015, 01:26 PM
RE: pilight Nano USB interface - by koos147 - 04-02-2015, 08:12 PM
RE: pilight Nano USB interface - by curlymo - 04-02-2015, 08:22 PM
RE: pilight Nano USB interface - by koos147 - 04-02-2015, 08:29 PM
RE: pilight Nano USB interface - by wo_rasp - 04-03-2015, 07:34 AM
RE: pilight Nano USB interface - by koos147 - 04-03-2015, 05:42 PM
RE: pilight Nano USB interface - by curlymo - 04-03-2015, 06:55 PM
RE: pilight Nano USB interface - by koos147 - 04-04-2015, 11:29 AM
RE: pilight Nano USB interface - by curlymo - 04-04-2015, 11:40 AM
RE: pilight Nano USB interface - by auspex - 04-08-2015, 11:32 AM
RE: pilight Nano USB interface - by daenny - 04-08-2015, 09:47 PM
RE: pilight Nano USB interface - by curlymo - 04-08-2015, 10:39 PM
RE: pilight Nano USB interface - by daenny - 04-08-2015, 11:07 PM
RE: pilight Nano USB interface - by curlymo - 04-08-2015, 11:41 PM
RE: pilight Nano USB interface - by auspex - 04-09-2015, 08:42 AM
RE: pilight Nano USB interface - by koos147 - 04-12-2015, 05:04 PM
RE: pilight Nano USB interface - by curlymo - 04-12-2015, 05:28 PM
RE: pilight Nano USB interface - by Eekhoorn - 04-16-2015, 08:05 AM
RE: pilight Nano USB interface - by curlymo - 04-16-2015, 08:31 AM
RE: pilight Nano USB interface - by alasdairc - 04-21-2015, 01:42 AM
RE: pilight Nano USB interface - by curlymo - 04-21-2015, 07:55 AM
RE: pilight Nano USB interface - by alasdairc - 04-21-2015, 09:31 AM
RE: pilight Nano USB interface - by curlymo - 04-21-2015, 10:16 AM
RE: pilight Nano USB interface - by alasdairc - 04-21-2015, 10:22 AM
RE: pilight Nano USB interface - by curlymo - 04-21-2015, 11:04 AM
RE: pilight Nano USB interface - by alasdairc - 04-21-2015, 11:08 AM
RE: pilight Nano USB interface - by curlymo - 04-21-2015, 11:23 AM
RE: pilight Nano USB interface - by alasdairc - 04-21-2015, 01:37 PM
RE: pilight Nano USB interface - by curlymo - 04-21-2015, 01:57 PM
RE: pilight Nano USB interface - by alasdairc - 04-22-2015, 11:11 PM
Re: pilight Nano USB interface - by curlymo - 04-22-2015, 11:12 PM
RE: pilight Nano USB interface - by alasdairc - 04-22-2015, 11:14 PM
RE: pilight Nano USB interface - by alasdairc - 04-23-2015, 01:11 AM
RE: pilight Nano USB interface - by curlymo - 04-23-2015, 05:56 AM
RE: pilight Nano USB interface - by alasdairc - 04-23-2015, 08:43 AM
RE: pilight Nano USB interface - by curlymo - 04-23-2015, 08:45 AM
RE: pilight Nano USB interface - by alasdairc - 04-23-2015, 08:46 AM
RE: pilight Nano USB interface - by curlymo - 04-23-2015, 08:26 PM
RE: pilight Nano USB interface - by alasdairc - 04-23-2015, 08:46 PM
RE: pilight Nano USB interface - by wo_rasp - 04-23-2015, 11:09 PM
RE: pilight Nano USB interface - by curlymo - 04-24-2015, 08:35 AM
RE: pilight Nano USB interface - by wo_rasp - 04-24-2015, 03:46 PM
RE: pilight Nano USB interface - by alasdairc - 04-24-2015, 03:53 PM
RE: pilight Nano USB interface - by curlymo - 04-24-2015, 04:54 PM
RE: pilight Nano USB interface - by wo_rasp - 04-24-2015, 10:51 PM
RE: pilight Nano USB interface - by alasdairc - 04-25-2015, 03:44 PM
RE: pilight Nano USB interface - by curlymo - 04-25-2015, 03:53 PM
RE: pilight Nano USB interface - by alasdairc - 04-25-2015, 03:54 PM
RE: pilight Nano USB interface - by alasdairc - 04-25-2015, 04:59 PM
RE: pilight Nano USB interface - by curlymo - 04-25-2015, 05:12 PM
RE: pilight Nano USB interface - by alasdairc - 04-25-2015, 05:13 PM
RE: pilight Nano USB interface - by curlymo - 04-25-2015, 05:16 PM
RE: pilight Nano USB interface - by alasdairc - 04-25-2015, 05:58 PM
RE: pilight Nano USB interface - by wo_rasp - 04-27-2015, 02:52 PM
RE: pilight Nano USB interface - by curlymo - 04-29-2015, 10:15 AM
RE: pilight Nano USB interface - by alasdairc - 04-29-2015, 11:03 AM
RE: pilight Nano USB interface - by curlymo - 04-29-2015, 11:06 AM
RE: pilight Nano USB interface - by alasdairc - 04-29-2015, 11:56 AM
RE: pilight Nano USB interface - by curlymo - 04-29-2015, 12:07 PM
RE: pilight Nano USB interface - by alasdairc - 04-29-2015, 02:33 PM
RE: pilight Nano USB interface - by curlymo - 04-29-2015, 02:39 PM
RE: pilight Nano USB interface - by wo_rasp - 04-30-2015, 09:08 AM
RE: pilight Nano USB interface - by curlymo - 04-30-2015, 09:29 AM
[split] Windows Support - by curlymo - 04-30-2015, 02:14 PM
RE: Windows Support - by curlymo - 04-30-2015, 03:02 PM
RE: Windows Support - by meloen - 04-30-2015, 07:52 PM
RE: Windows Support - by curlymo - 04-30-2015, 08:04 PM
RE: Windows Support - by meloen - 04-30-2015, 08:17 PM
RE: Windows Support - by curlymo - 04-30-2015, 09:27 PM
RE: pilight Nano USB interface - by alasdairc - 04-30-2015, 09:58 PM
RE: pilight Nano USB interface - by curlymo - 04-30-2015, 10:02 PM
RE: Windows Support - by meloen - 05-02-2015, 10:19 AM
RE: Windows Support - by curlymo - 05-02-2015, 10:39 AM
RE: Windows Support - by meloen - 05-02-2015, 11:13 AM
RE: Windows Support - by curlymo - 05-02-2015, 11:17 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  hardware info lost after pilight restart Rschnauzer 3 138 03-17-2021, 11:44 AM
Last Post: Rschnauzer
Question pilight stopped working sl4m01 3 798 11-26-2020, 09:17 PM
Last Post: PPacman
  pilight-raw changes output format from 7 to 8 Rschnauzer 1 560 11-26-2020, 01:52 PM
Last Post: curlymo
Question pilight nightly webgui offline after some hours fleisch 4 548 10-26-2020, 05:19 PM
Last Post: fleisch
  pilight bugs Ascenion 1 582 03-23-2020, 06:29 PM
Last Post: curlymo
  [Solved] pilight service crashing on first webserver access after reboot VrahoK 20 4,007 12-21-2019, 09:46 AM
Last Post: curlymo
  pilight-control modify values coolinx 16 3,209 11-13-2019, 08:02 PM
Last Post: curlymo
  Bug: double free or corruption in pilight-send blackzombie 12 2,771 10-07-2019, 08:15 PM
Last Post: blackzombie
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 906 08-13-2019, 05:43 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 27,433 03-14-2019, 09:01 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)