-
-
Save drmulligan/e372d3758112dc7e17bb767a83a2fe20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sending message to MQTT: | |
> topic => rtlamr/status | |
> payload => online | |
> retain => True | |
Trying to start RTL_TCP: /usr/bin/rtl_tcp -s 2048000 | |
RTL_TCP started with PID 211 | |
Found 1 device(s): | |
0: Realtek, RTL2832U, SN: 00000991 | |
Using device 0: Generic RTL2832U | |
Found Elonics E4000 tuner | |
Tuned to 100000000 Hz. | |
listening... | |
RTL_TCP is ready to receive connections! | |
server: 127.0.0.1:1234, host: 127.0.0.1, port: 1234 | |
Attempting to tune rtl_tcp to a different freq to shake things up | |
Successfully tickled rtl_tcp | |
Trying to start RTLAMR: /usr/bin/rtlamr -msgtype=scm,scm+ -format=json -filterid=12345678,87654321 -unique=true | |
RTLAMR started with PID 218 | |
Meter "87654321" - Consumption 0154.011. Sending value to MQTT. | |
Sending message to MQTT: | |
> topic => rtlamr/87654321/state | |
> payload => {"Time": "2021-12-06T18:43:07.307791078-07:00", "Offset": 0, "Length": 0, "Type": "SCM+", "Message": {"FrameSync": 5795, "ProtocolID": 30, "EndpointType": 171, "EndpointID": 87654321, "Consumption": 154011, "Tamper": 18688, "PacketCRC": 54442}} | |
> retain => True | |
Meter "12345678" - Consumption 08293150. Sending value to MQTT. | |
Sending message to MQTT: | |
> topic => rtlamr/12345678/state | |
> payload => {"Time": "2021-12-06T18:43:20.19557333-07:00", "Offset": 0, "Length": 0, "Type": "SCM", "Message": {"ID": 12345678, "Type": 12, "TamperPhy": 0, "TamperEnc": 0, "Consumption": 829315, "ChecksumVal": 32811}} | |
> retain => True | |
Sleep_for defined, time to sleep! | |
Terminating all subprocess... | |
Kill process called. | |
Killing RTL_TCP... | |
Killed. | |
Killing RTLAMR... | |
Killed in the first attempt. | |
Sleeping for 300 seconds, see you later... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment