-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Efergy e2 Electricity Monitor #14
Comments
Try playing with the gain parameter and the limit parameter. peteakalad notifications@github.com skrev:
Skickat från min Android-telefon med K-9 E-post. Ursäkta min awesomeness. |
Had a play, got a gain of 28 giving clean non-clipping signal in audacity, but with wide variance of bit detection levels I'm not getting consistent results when > 1 pulse is decoded, and I'm not seeing the static bits/bytes which I'm expecting to see in any of the output (transmitter includes static transmitter id every transmission). ./rtl_433 -g28 -a -f 433460000 -t -s 1024000 -t -l 4960 Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle Short distance: 98, long distance: 457, packet distance: 10967 p_limit: 319 [00] {26} 20 00 00 00 : 00100000 00000000 00000000 00000000 signal_bszie = 524288 - sg_index = 262144 Short distance: 193, long distance: 642, packet distance: 10998 p_limit: 316 [00] {17} 00 00 00 : 00000000 00000000 00000000 signal_bszie = 262144 - sg_index = 2883584 Short distance: 102, long distance: 361, packet distance: 10508 p_limit: 1368 [00] {10} 00 00 : 00000000 00000000 signal_bszie = 524288 - sg_index = 2621440 Short distance: 176, long distance: 2626, packet distance: 6573 p_limit: 5747 [00] {281} 20 00 00 01 00 00 00 04 00 00 00 40 00 00 02 00 00 00 40 00 04 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 : 00100000 00000000 00000000 00000001 00000000 00000000 00000000 00000100 00000000 00000000 00000000 01000000 00000000 00000000 00000010 00000000 00000000 00000000 01000000 00000000 00000100 00000000 00000000 00000100 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 signal_bszie = 524288 - sg_index = 2359296 Short distance: 3, long distance: 255, packet distance: 11014 p_limit: 78 [00] {29} ff ff ff f0 : 11111111 11111111 11111111 11110000 signal_bszie = 393216 - sg_index = 2097152 Short distance: 63, long distance: 439, packet distance: 10464 p_limit: 4273 [00] {10} 04 00 : 00000100 00000000 signal_bszie = 524288 - sg_index = 1572864 User cancel, exiting... |
On 06/23/2013 05:27 PM, peteakalad wrote:
Add -D and send me the output. You can then force the correct lengths MvH |
Sure I've run it with -D, here's a zip of the output and the data files dumped. https://mega.co.nz/#!gV9CWKDb!a97Z9keVx9btdrhIGQQ63Hzo9_9SJ83ikwkeNSNKCXQ |
On 06/23/2013 09:29 PM, peteakalad wrote:
Ok, this signal does not fall into the on-off keying class. Between the So unfortunately the current code will never be able to decode your MvH |
Yes that makes sense. I'll have a bash at that, though seems like could be steep learning curve not experienced in signal processing. If I get anywhere I'll let you know. Cheers |
I believe you need to use rtl_fm to decode messages from Efergy devices. There's some example code here: |
Hi,
I've been trying to use rtl_433 to decode the 433Mhz transmissions from an efergy e2 electricity monitor but haven't had much luck.
I've an understanding of the packet structure from http://electrohome.pbworks.com/w/page/34379858/Efergy%20Elite%20Wireless%20Meter%20Hack but need some help getting the transmission decoded.
I've confirmed the signal is being received ok and is PWM with pulse width varying (short pulse=0), and can decode it manually and confirm the checksum is ok looking at the signal in audacity.
In rtl_433 I've tried changing the bit detection level and the gain level (30dB seems to give better signal looking at audacity) with no luck, rtl_433 always indicates only 1 pulse. I'm not sure if there is a way to work out what the long and short pulse lengths are from audacity?
Some files:
Output from rtl_sdr:
https://dl.dropboxusercontent.com/s/vcbndu2tomg3q3v/rtl_sdr-out-efergyE2.bin?token_hash=AAHZk9niEOTVD94k200UhAmQdgUwLHcSGiG26RdLHNBieA&dl=1
Two files outputted from rtl_433 -f 433460000 -a -t
https://dl.dropboxusercontent.com/s/gh8pichacji36bn/gfile001.data?token_hash=AAFvNb8nxuwWX2zGZV0o28eijui1ggD-2i6tfnpCtTalzA&dl=1
https://dl.dropboxusercontent.com/s/2ra1sqykxjw3k8f/gfile002.data?token_hash=AAE4_yIDMZMFHX9CIn1tdLEji8fo80o-FmFmuSOGq2Ulgg&dl=1
Output from: rtl_433 -f 433460000 -a
Registering protocol[01] Rubicson Temperature Sensor
Registering protocol[02] Prologue Temperature Sensor
Registering protocol[03] Silvercrest Remote Control
Registering protocol[04] ELV EM 1000
Registering protocol[05] ELV WS 2000
Registering protocol[06] Waveman Switch Transmitter
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000.
Sample rate decimation set to 0. 250000->250000
Bit detection level set to 10000.
Tuner gain set to Auto.
Reading samples in async mode...
Tuned to 433460000 Hz.
*** signal_start = 480540, signal_end = 551423
signal_len = 70883, pulses = 1
Distance coding: Pulse length 50882
Short distance: 1000000, long distance: 0, packet distance: 0
p_limit: 50882
[00] {0} 00 : 00000000
*** signal_start = 1980531, signal_end = 2051473
signal_len = 70942, pulses = 1
Distance coding: Pulse length 50941
Short distance: 1000000, long distance: 0, packet distance: 0
p_limit: 50941
[00] {0} 00 : 00000000
^CSignal caught, exiting!
User cancel, exiting...
Thanks for any help!
Peter
The text was updated successfully, but these errors were encountered: