Replies: 1 comment
-
By your output, looks like you have a SCM+ meter and your configuration says SCM. Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just found this today, up and running pretty quickly but I'm stuck.
When running in Listen all mode I see my meter and data almost instantly, and updates happen every 10seconds
[2022-11-04 03:23:00] Starting in LISTEN ONLY Mode...
[2022-11-04 03:23:00] No Supervisor detected.
[2022-11-04 03:23:00] Starting rtl_tcp with /usr/bin/rtl_tcp
[2022-11-04 03:23:02] Starting rtlamr with ['/usr/bin/rtlamr', '-msgtype=scm+', '-format=json']
[2022-11-04 03:23:02] You should see all utility meters after this line:
[2022-11-04 03:23:02] 03:23:02.363396 decode.go:45: CenterFreq: 912600155
[2022-11-04 03:23:02] 03:23:02.363647 decode.go:46: SampleRate: 2359296
[2022-11-04 03:23:02] 03:23:02.363666 decode.go:47: DataRate: 32768
[2022-11-04 03:23:02] 03:23:02.363678 decode.go:48: ChipLength: 72
[2022-11-04 03:23:02] 03:23:02.363690 decode.go:49: PreambleSymbols: 16
[2022-11-04 03:23:02] 03:23:02.363702 decode.go:50: PreambleLength: 2304
[2022-11-04 03:23:02] 03:23:02.363714 decode.go:51: PacketSymbols: 128
[2022-11-04 03:23:02] 03:23:02.363726 decode.go:52: PacketLength: 18432
[2022-11-04 03:23:02] 03:23:02.363740 decode.go:59: Protocols: scm+
[2022-11-04 03:23:02] 03:23:02.363753 decode.go:60: Preambles: 0001011010100011
[2022-11-04 03:23:02] 03:23:02.363765 main.go:124: GainCount: 29
[2022-11-04 03:23:14] {"Time":"2022-11-04T03:23:14.893812399Z","Offset":0,"Length":0,"Type":"SCM+","Message":{"FrameSync":5795,"ProtocolID":30,"EndpointType":203,"EndpointID":XXXXXXXX,"Consumption":11402,"Tamper":9600,"PacketCRC":33027}}`
But when I run the container, everything looks great, Home Assistant receives an Online status update.. and nothing happens...
[2022-11-04 03:25:19] RTLAMR2MQTT Starting...
[2022-11-04 03:25:19] Using "/etc/rtlamr2mqtt.yaml" config file
[2022-11-04 03:25:19] RTL SDR Device 0bda:2838 found on USB port 002:004 - Index: 0
[2022-11-04 03:25:19] No USB device specified in the config file, using the first found.
[2022-11-04 03:25:19] Configured MQTT sender:
[2022-11-04 03:25:19] > hostname => 192.168.0.160
[2022-11-04 03:25:19] > port => 1883
[2022-11-04 03:25:19] > username => mqtt
[2022-11-04 03:25:19] > client_id => rtlamr2mqtt
[2022-11-04 03:25:19] > base_topic => rtlamr
[2022-11-04 03:25:19] > availability_topic => rtlamr/status
[2022-11-04 03:25:19] > tls => None
[2022-11-04 03:25:19] Reseting USB device: /dev/bus/usb/002/004
[2022-11-04 03:25:19] Reset sucessful.
[2022-11-04 03:25:19] Sending message to MQTT:
[2022-11-04 03:25:19] > topic => rtlamr/status
[2022-11-04 03:25:19] > payload => online
[2022-11-04 03:25:19] > retain => True
[2022-11-04 03:25:19] Trying to start RTL_TCP: /usr/bin/rtl_tcp -s 2048000
[2022-11-04 03:25:19] RTL_TCP started with PID 9
[2022-11-04 03:25:24] RTL_TCP is ready to receive connections!
[2022-11-04 03:25:24] Trying to start RTLAMR: /usr/bin/rtlamr -msgtype=scm -format=json -filterid=XXXXXXXX -unique=true
[2022-11-04 03:25:24] RTLAMR started with PID 14
[2022-11-04 03:25:24] 03:25:24.819331 decode.go:45: CenterFreq: 912600155
[2022-11-04 03:25:24] 03:25:24.819487 decode.go:46: SampleRate: 2359296
[2022-11-04 03:25:24] 03:25:24.819504 decode.go:47: DataRate: 32768
[2022-11-04 03:25:24] 03:25:24.819515 decode.go:48: ChipLength: 72
[2022-11-04 03:25:24] 03:25:24.819524 decode.go:49: PreambleSymbols: 21
[2022-11-04 03:25:24] 03:25:24.819531 decode.go:50: PreambleLength: 3024
[2022-11-04 03:25:24] 03:25:24.819539 decode.go:51: PacketSymbols: 96
[2022-11-04 03:25:24] 03:25:24.819547 decode.go:52: PacketLength: 13824
[2022-11-04 03:25:24] 03:25:24.819557 decode.go:59: Protocols: scm
[2022-11-04 03:25:24] 03:25:24.819580 decode.go:60: Preambles: 111110010101001100000
[2022-11-04 03:25:24] 03:25:24.819590 main.go:124: GainCount: 29`
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions