-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weird value with rfxcom #1
Comments
Can you elaborate? For instance, what values are you seeing that you aren't expecting? Can you send xpl-logger output of for the unexpected values? Note that xpl-rfxcom-rx reports everything it receives even if the sending device is not yours. ;-) |
Thanks for your response It seems to work for x10 but i cannot see my oregon sensors (maybe they are in the "unknown" line) |
What are the model numbers of the oregon sensor you have? |
I only have Thermo-Hygro sensors model : THGR228N |
Hi, Here is verbose output of rfxcom-rx: With libxpl-perl 0.11 version, I receive this data for thgr228n sensors: I have this packages installed en Debian Squeeze: thanks, |
Can either of you - @giejo has fewer sensors so that might be marginally easier to figure out - send me some output from the command:
so I can see what is actually being read from the tty device. I think I see what is going on - thanks to @domos78 including the old 0.11 output - the lines like:
are actually supposed to have 501a on the start and two more bytes on the end so they'd be recognized correctly but for some reason these are missing. No idea why but hopefully seeing the actual data on the tty will help figure it out. (Or at least reproduce it as a step to figuring it out.) Regards, |
Hello, Processed: master oregon 44.ea4c10ec702020841b: 17:14:07.691223 read(6, "\x44\xea", 8192) = 2 Best reagrds, |
Thanks. Now I'm really confused as it looks like the bytes read from the tty are exactly what is being reported as being processed in the case of the incorrect output. In other words, if those were really the bytes the code is interpreting them as I'd expect. I've no idea why the bytes would be "missing" perhaps the serial port isn't initialized correctly or something? I might have to sleep on it as it isn't immediately obvious to me what would cause this sort of behaviour. -Mark. |
Another note, I tested on two different PCs running Debian Squeeze, with the same problem. Dan |
Dan, Just to rule out an obvious change between 0.11 and 0.12, can you try 0.12 with Device::RFXCom::RX with the change in: beanz/device-rfxcom-perl@819698c Regards, |
I modified the file /usr/share/perl5/Device/RFXCOM/RX.pm, it that does not seem to be the same as your ( only for comments) Here are the changes made in RX.pm: *** /usr/share/perl5/Device/RFXCOM/RX.pm.origine 2011-03-21 21:06:12.000000000 +0100 *** 31,38 **** Unfortunately the problem remains the same: dan@hestia:~$ /usr/bin/xpl-rfxcom-rx --verbose --rfxcom-rx-verbose --interface eth0 --rfxcom-rx-baud 4800 --rfxcom-rx-tty /dev/rfxcom Best regards, |
I've a similar problem myself, with v0.12 of rfxcom-rx, with Oregon some THN132ES sensors. My OWL119 works perfectly but for some reason the two Oregon sensor have stopped. Have there been any more thoughts on this one? Thanks, Tim |
Thanks for the additional information. I can get hold of an THN132ES in a few days. So hopefully I'll be able to reproduce the problem and get to the bottom of this now. |
Give me a shout if you need any more info. |
I have got exactly the same issues !!!! I take a look on the net and i found in this thread that it should be an os failure, so i decide to retry my homemade code and ...... my python script see this laking second octet !!!! I try on a standard PC with standard debian and i got the same issue ... i'm not a perl specialist and i have't be able to localize the mistake in the code but i think there is an ttyUSB initialization problem |
Hi, I have the same issue since upgrading. |
Hi, thanks for your great work.
On a fresh new install (git clone) when i try rfxcom-rx, i ve got some weid values (i have some oregon sensors and X10 ms13)
The text was updated successfully, but these errors were encountered: