• 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


Band pass-filter (new version)
#31
Code:
^[[94m2014-04-02 15:04:54,315 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:54,766 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 0}, u'protocol': u'pilight_firmware', u'uuid': u'0398$
^[[94m2014-04-02 15:04:54,982 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:55,154 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 0}, u'protocol': u'pilight_firmware', u'uuid': u'0398$
^[[94m2014-04-02 15:04:55,563 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:55,805 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:55,891 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 0, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:55,977 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:56,354 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 0, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:56,526 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 0, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:56,613 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:56,699 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 0, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:56,971 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:57,194 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:57,459 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:57,545 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 0, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:57,632 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:58,098 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:04:58,184 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 0, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:05:02,865 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 0, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
^[[94m2014-04-02 15:05:02,950 - Sensor Input - DEBUG Nieuwe firmware: {u'origin': u'receiver', u'code': {u'lpf': 80, u'version': 2, u'hpf': 16000}, u'protocol': u'pilight_firmware', u'uuid': u'$
See the timing, sometimes it's pretty often that it says it's version...
 
Reply
#32
What are the - Sensor Input - DEBUG Nieuwe firmware: lines? I didn't include them.
 
Reply
#33
(04-02-2014, 02:09 PM)curlymo Wrote: What are the - Sensor Input - DEBUG Nieuwe firmware: lines? I didn't include them.
That part is my software Wink It logs this message as "Nieuwe firmware" cause i thought it was a message that there was new firmware. It logs every message received from port 5000.
 
Reply
#34
Can you check if pilight-daemon also receives that much firmware messages to rule out errors in your code. Leave it running in debug mode and the messages should appear every minute.

I also made some fixes in the pilight firmware protocol. Can you check if things are better?
 
Reply
#35
Finally had the time to fire up the soldering iron...


It seems to work like a charm! I use a mix of Kaku old/new and impuls.. Up till now I'm very happy. I literally just fired the first couple commands, so I need to test a bit more, but looking good Smile
 
Reply
#36
So impuls is also working good?
 
Reply
#37
I have worked out the basics for the Globaltronics/Quigg GT-7000/GT-FSi-04a switches.
My problem is that LPF V2.0 cuts off the first 8 pulses from the received data stream for the quigg_switch protocol.
The attached file shows the current behaviour of LPF Firmware V2.0.

wo_rasp

.docx   140413 QUIGG protocol GT-7000 LPF Bug Report.docx (Size: 171.74 KB / Downloads: 8)
 
Reply
#38
Hello I'd like to ask one thing about MAX_PULSELENGTH parameter as
I'd like to add X10 protocol which has a pulse header of 9000uS

On the latest firmware I found value 1600 and I'm not sure if I did my calculations correctly:
MAX_PULSELENGTH = ( longest expected pulse + 10% ) / 10
1600 = (14545 + 10%) /10

Quote:the longest expected pulse is the maximal base pulse-width of all your protocols multiplied by 34

14545 / 34 = 427 uS

This seems a bit strange to me, meaning for a max 9000 uS pulse a
MAX_PULSELENGTH = 33660

Is 33660 a correct value for 9000 us?
I suspect I misunderstood something here...

Thanks,
V.

PS It's strange, I tried to post on this thread previously but I found "Thread closed"...
PPS I just flashed my first ATTiny, AMAZING how easy it is! Thanks CurlyMo!!!!
 
Reply
#39
What MAX_PULSELENGTH value did you finally use?
 
Reply
#40
(04-16-2014, 04:39 AM)curlymo Wrote: What MAX_PULSELENGTH value did you finally use?
For the QUIGG protocol I have not modified anything on the LPF so far.
The GT-7000 Transmitter uses a footer of 88000µS and 20 pairs of 700/1150 pulses, plus 700µS for SYNC, so total pulse train is 126200µS. The GT-FSi-04a receiver works with a 4000µS footer pulse, thus I got everything working (pilight-send, webgui) for the Tx part using:
protocol_plslen_add(quigg_switch, 120);
quigg_switch->pulse = 5;
I may start working on the Rx part after Eastern, but as the GT-7000 transmitters defaults to id=12 after loss of power and seems to use 31 different id's only, the addition of Rx is less of a priority for me right now.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Bandpass filter problem mayonezo 13 1,937 01-07-2018, 11:29 PM
Last Post: mayonezo
Question Passive Component Band-pass filter ripper121 8 1,292 12-16-2017, 01:38 AM
Last Post: wo_rasp
  Filter kit in 315 receiver? ceandre 1 1,035 04-14-2017, 10:10 PM
Last Post: wo_rasp
  Low Pass Filter and Receiver in Series? re-post Gustavo Woltmann 1 1,163 03-08-2017, 05:25 PM
Last Post: pilino1234
  Filter settings in config.json Saiyato 100 22,409 02-22-2017, 08:24 AM
Last Post: wo_rasp
Rainbow Lowpass filter - how DOES it work? DE8MSH 6 2,632 10-07-2016, 09:25 PM
Last Post: wo_rasp
  Low Pass Filter and Receiver in Series? Hauke 3 2,312 08-30-2016, 08:25 AM
Last Post: wo_rasp
  New filter version curlymo 0 1,211 04-02-2016, 08:05 AM
Last Post: curlymo
  Band-pass filter parts curlymo 60 56,306 01-08-2016, 12:23 AM
Last Post: gneandr
  low pass filter francois.leprieur 3 1,868 12-20-2015, 10:18 AM
Last Post: curlymo

Forum Jump:


Browsing: 2 Guest(s)