HAOS add-on listen mode #237
Replies: 2 comments 2 replies
-
I went to HomeAssistant settings, Addons, rtlamr2mqtt, configuration and changed the "listen_only: false" to true. Then I went to http://homeassistant.local:8123/config/mqtt and put "rtlmar/debug" into the "listen to a topic" section and "start listening".
However, trying to "add water source" to my energy dashboard gives me a "No matching statistics found" I'm making progress but I'm stuck again. I would appreciate any insight. |
Beta Was this translation helpful? Give feedback.
-
I changed the protocol to r900 and the format to #####.# and the "add water source" recognized the meter data. The USD/gal entry had to be changed to 10 times my actual cost. I think this is because the USD/gal multiplier multiples the raw consumption data instead of the payload data sent to MQTT. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the rtlamr2mqtt add-on installed in my HOAS RPi 4 with the nooelec dongle and I am having a hard time understanding the "I don't know my meters ID, what can I do?" section of the GitHub page. Since I'm not running docker, the stated instructions do not work for me. How do I retrieve all the meter IDs broadcasting in my general area? I don't understand the Instructions "run the container in DEBUG mode". Researching DEBUG MODE leads to a lot of other issues trying to get it to run in HAOS. All I have done so far is install and run the add-on. Pasting <docker run --rm -ti -e LISTEN_ONLY=yes -e RTL_MSGTYPE="all" --device=/dev/bus/usb:/dev/bus/usb allangood/rtlamr2mqtt> into Terminal results in "bash: docker: command not found". Can someone please guide me to obtaining my smart meter IDs?
log:
[2024-07-25 15:31:49] Using "/data/options.json" config file
[2024-07-25 15:31:49] Fetching default MQTT configuration from http://supervisor/services/mqtt
[2024-07-25 15:31:49] RTLAMR2MQTT Starting...
[2024-07-25 15:31:49] RTL SDR Device 0bda:2838 found on USB port 001:003 - Index: 0
[2024-07-25 15:31:49] No USB device specified in the config file, using the first found.
[2024-07-25 15:31:49] Configured MQTT sender:
[2024-07-25 15:31:49] > hostname => core-mosquitto
[2024-07-25 15:31:49] > port => 1883
[2024-07-25 15:31:49] > username => addons
[2024-07-25 15:31:49] > client_id => rtlamr2mqtt
[2024-07-25 15:31:49] > base_topic => rtlamr
[2024-07-25 15:31:49] > availability_topic => rtlamr/status
[2024-07-25 15:31:49] > tls => None
[2024-07-25 15:31:49] Resetting USB device: /dev/bus/usb/001/003
[2024-07-25 15:31:49] Reset sucessful.
[2024-07-25 15:31:49] Sending message to MQTT:
[2024-07-25 15:31:49] > topic => rtlamr/status
[2024-07-25 15:31:49] > payload => online
[2024-07-25 15:31:49] > retain => True
[2024-07-25 15:31:50] Trying to start RTL_TCP: /usr/bin/rtl_tcp -s 2048000
[2024-07-25 15:31:50] RTL_TCP started with PID 10
[2024-07-25 15:31:55] RTL_TCP is ready to receive connections!
[2024-07-25 15:31:55] Trying to start RTLAMR: /usr/bin/rtlamr -msgtype=scm+ -format=json -filterid=123456789 -unique=true
[2024-07-25 15:31:55] RTLAMR started with PID 15
[2024-07-25 15:31:55] 15:31:55.141112 decode.go:45: CenterFreq: 912600155
[2024-07-25 15:31:55] 15:31:55.141456 decode.go:46: SampleRate: 2359296
[2024-07-25 15:31:55] 15:31:55.141471 decode.go:47: DataRate: 32768
[2024-07-25 15:31:55] 15:31:55.141479 decode.go:48: ChipLength: 72
[2024-07-25 15:31:55] 15:31:55.141487 decode.go:49: PreambleSymbols: 16
[2024-07-25 15:31:55] 15:31:55.141495 decode.go:50: PreambleLength: 2304
[2024-07-25 15:31:55] 15:31:55.141502 decode.go:51: PacketSymbols: 128
[2024-07-25 15:31:55] 15:31:55.141510 decode.go:52: PacketLength: 18432
[2024-07-25 15:31:55] 15:31:55.141521 decode.go:59: Protocols: scm+
[2024-07-25 15:31:55] 15:31:55.141530 decode.go:60: Preambles: 0001011010100011
[2024-07-25 15:31:55] 15:31:55.141538 main.go:124: GainCount: 29
Beta Was this translation helpful? Give feedback.
All reactions