jdiazbb / rfxcmd

Automatically exported from code.google.com/p/rfxcmd
1 stars 0 forks source link

lighting 5 (lightwave) broken in 0.24 #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./rfxcmd.py -d /dev/ttyUSB0
2.
3.

What is the expected output? What do you see instead?

in version 0.23

------------------------------------------------
Received        = 0A 14 00 01 F3 9C 65 04 00 00 50
Date/Time       = 2013-05-08 00:17:09
Packet Length       = 0A
Packettype      = Lighting5
Subtype         = LightwaveRF, Siemens
Seqnbr          = 01

in version 0.24

Received        = 0A 14 00 01 F3 9C 65 04 00 00 60
Date/Time       = 2013-05-08 00:18:57
Packet Length       = 0A
Packettype      = Lighting5
Traceback (most recent call last):
  File "./rfxcmd.py", line 3005, in <module>
    rawcmd = read_rfx()
  File "./rfxcmd.py", line 2216, in read_rfx
    decodePacket( message )
  File "./rfxcmd.py", line 887, in decodePacket
    command = rfx.rfx_subtype_14_cmnd0[ByteToHex(message[8])]
NameError: global name 'rfx' is not defined

Same on transmit....

What version of the product are you using? On what operating system?

0.23 works for lightwaverf 0.24 does not, temp/humidity sensors work on both 
versions.
Ubuntu Linux 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.

Thanks

Original issue reported on code.google.com by GregDogK...@gmail.com on 7 May 2013 at 11:20

GoogleCodeExporter commented 8 years ago
Thanks. Fixed in 0.24b.

Original comment by sebastia...@gmail.com on 18 May 2013 at 12:29

GoogleCodeExporter commented 8 years ago

Original comment by sebastia...@gmail.com on 18 May 2013 at 12:46