Author Topic: GC100 Pronto Code  (Read 1109 times)

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 5177
  • Karma: +223/-67
  • "Less is more"
Re: GC100 Pronto Code
« Reply #15 on: June 19, 2017, 06:59:20 am »
Wondering if you can implement the above mod before doing a new release?

Version 2017.06.19 in the development branch implements this.
Please tell me it works!

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P.
Razberry, MySensors Arduino, HomeWave, AltUI, DataYours, openLuup, ZWay, ZeroBrane Studio.

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +40/-7
Re: GC100 Pronto Code
« Reply #16 on: July 04, 2017, 08:49:51 pm »
It works fine.

I notice that in Vera, they round their calculations to the nearest thousand Hz. Personally I think it's best to be precise, by using the calculation without any rounding (as you have done in openLuup), as rounding may compromise the associated bit mark/space values. But for the record, here are some sample values that Vera produces:

Code: [Select]
2nd word & frequency calculated by Vera:

0070  37,000 Hz
006F  37,000 Hz
006D  38,000 Hz
006E  38,000 Hz
006D  38,000 Hz
006C  38,000 Hz
006B  39,000 Hz
006A  39,000 Hz
0069  39,000 Hz
0068  40,000 Hz
0067  40,000 Hz
0066  41,000 Hz
0065  41,000 Hz
0064  41,000 Hz
0063  42,000 Hz
0060  43,000 Hz
005F  44,000 Hz
« Last Edit: July 04, 2017, 08:51:22 pm by a-lurker »