Emonpi.local cannot see Heat Meter or TX3

This is a long, long running saga. Trying to set up heat pump monitoring for my home. Started over a year ago using a Pi3 Model B+, a Packom hat and an Emon TX3. Could not get the heat meter to connect (Sontex 531) using the Packom hat. Packom hat could see DS18B20 temperature sensors. TX3 connected using USB to UART serial connector as unable to use RFM69 card with Packom Hat. TX3 was used for pulse counting from Heat Pump electric meter which worked. Stopped a year ago due to other commitments and left it alone until a few weeks ago.

As I couldn’t get the Packom Hat to work, purchased a MBus to USB adaptor and connected the temperature sensors to the TX3 using a RJ45 to terminal block breakout and RJ45 cable. Purchased an SDM230 ModBus meter and USB adaptor.

Current state of play is SDM230 meter working and reporting to Inputs. Also reporting in to Emoncms. Suitable interfacer script copied to EmonHub Config for this. Interfacer Scripts copied for Sontex 531 and for Emon TX3 but neither show in feeds.

Have checked both Baud rate and Address of Sontex 531 in its configuration menu and both set correctly in the interfacer script (Baud Rate 2400, address 0). Script as follows:

[[MBUS]]
    Type = EmonHubMBUSInterfacer
    [[[init_settings]]]
        device = /dev/ttyAMA0
        baud = 2400
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        read_interval = 10
        validate_checksum = False
        nodename = MBUS
        [[[[meters]]]]
            [[[[[heatmeter]]]]]
                address = 0
                type = sontex531

I have seen various bits in threads regarding possible conflicts and also Sontex meters being read on the wrong page. Have also checked continuity of cable and connections between the meter and the USB adaptor which are all OK.

Script for EmonTX3 as follows:

[[USB0]]
    Type = EmonHubOEMInterfacer
    [[[init_settings]]]
        com_port = /dev/ttyUSB0
        com_baud = 115200
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        nodename = emonTx3

The interfacer script for the TX4 was deleted to avoid any conflicts. I cannot update the firmware for the TX3 unless I can see it. Did try to use the RFM69 card at one stage, but ended up with pages and pages of ‘alien’ inputs either from nearby MyEnergi equipment (Zappi, Eddi, Harvi) or Heatmiser wiring centre (RF thermostats) or both! Subsequently removed it.

Am now (again) completely stuck. Had quite a bit of help from the forum last year but to no avail. I would really appreciate the necessary help to get this working as intended.

Have another one to get working in a different property next week, so fingers crossed that installation will be easier as using very latest Emonpi2, Sontex Supercal 5, SDM230 and a single temperature sensor.

[Edited for presentation. Moderator (RW)]

Can you post the whole emonhub config file and the initial portion of the log immediately after emonhub service has been reset, please?

Hi Brian
Thanks for your reply. Config file as follows:

#######################################################################
#######################      emonhub.conf     #########################
#######################################################################
### emonHub configuration file, for info see documentation:
### https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md
#######################################################################
#######################    emonHub  settings    #######################
#######################################################################

[hub]
    ### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
    loglevel = DEBUG
    autoconf = 1
### Uncomment this to also send to syslog
# use_syslog = yes
#######################################################################
#######################       Interfacers       #######################
#######################################################################

[interfacers]
    ### This interfacer manages the RFM12Pi/RFM69Pi/emonPi module
    [[EmonPi2]]
        Type = EmonHubOEMInterfacer
        [[[init_settings]]]
            com_port = /dev/ttyAMA0
            com_baud = 115200
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
            subchannels = ToRFM12,

[[USB0]]
    Type = EmonHubOEMInterfacer
    [[[init_settings]]]
        com_port = /dev/ttyUSB0
        com_baud = 115200
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        nodename = emonTx3

[[SDM230]]
    Type = EmonHubMinimalModbusInterfacer
    [[[init_settings]]]
        device = /dev/ttyUSB0
        baud = 2400
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        read_interval = 10
        nodename = sdm230
        # prefix = sdm_
        [[[[meters]]]]
            [[[[[sdm230]]]]]
                address = 1
                registers = 0,6,12,18,30,70,72,74,76
                names = V,I,P,VA,PF,FR,EI,EE,RI
                precision = 2,3,1,1,3,3,3,3,3

[[MBUS]]
    Type = EmonHubMBUSInterfacer
    [[[init_settings]]]
        device = /dev/ttyAMA0
        baud = 2400
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        read_interval = 10
        validate_checksum = False
        nodename = MBUS
        [[[[meters]]]]
            [[[[[heatmeter]]]]]
                address = 0
                type = sontex531


    
    [[SPI]]
        Type = EmonHubRFM69LPLInterfacer
        [[[init_settings]]]
            nodeid = 5
            networkID = 210
            resetPin = 24
            selPin = 16
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
    
    
    [[MQTT]]
        Type = EmonHubMqttInterfacer
        [[[init_settings]]]
            mqtt_host = 127.0.0.1
            mqtt_port = 1883
            mqtt_user = emonpi
            mqtt_passwd = emonpimqtt2016
        
        [[[runtimesettings]]]
            pubchannels = ToRFM12,
            subchannels = ToEmonCMS,
            
            # emonhub/rx/10/values format
            # Use with emoncms Nodes module
            node_format_enable = 0
            node_format_basetopic = emonhub/
            
            # emon/emontx/power1 format - use with Emoncms MQTT input
            # http://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md
            nodevar_format_enable = 1
            nodevar_format_basetopic = emon/
            
            # Single JSON payload published  - use with Emoncms MQTT
            node_JSON_enable = 0
            node_JSON_basetopic = emon/
    
    [[emoncmsorg]]
        Type = EmonHubEmoncmsHTTPInterfacer
        [[[init_settings]]]
        [[[runtimesettings]]]
            pubchannels = ToRFM12,
            subchannels = ToEmonCMS,
            url = https://emoncms.org
            apikey = xxxxxxxx
            senddata = 1    # Enable sending data to Emoncms.org
            sendnames = 1    # Send full input names (compression will be automatically enabled)
            interval = 30    # Bulk send interval to Emoncms.org in seconds

    [[DS18B20]]
        Type = EmonHubDS18B20Interfacer
        [[[init_settings]]]
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
            read_interval = 10
            nodename = sensors
            # ids = 28-000008e2db06, 28-000009770529, 28-0000096a49b4
            # names = ambient, cyl_bot, cyl_top

#######################################################################
#######################          Nodes          #######################
#######################################################################

## See config user guide: https://github.com/openenergymonitor/emonhub
## If autoconf is enabled above, node configuration will automatically
## populate based on templates listed in available.conf

[nodes]

This is the log from 10.35 for 2 minutes taken after emonhub restart. MBus saying invalid data and no sign of TX3


2024-03-03 10:30:02,016 DEBUG    SDM230     [243.21, 7.17, 1715.4, 1742.6, 0.985, 50.098, 423.596, 0.0, 29.422]
2024-03-03 10:30:02,017 DEBUG    SDM230     17931 NEW FRAME : 
2024-03-03 10:30:02,018 DEBUG    SDM230     17931 Timestamp : 1709461800.052779
2024-03-03 10:30:02,019 DEBUG    SDM230     17931 From Node : sdm230
2024-03-03 10:30:02,019 DEBUG    SDM230     17931    Values : [243.21, 7.17, 1715.4, 1742.6, 0.985, 50.098, 423.596, 0, 29.422]
2024-03-03 10:30:02,020 DEBUG    SDM230     17931 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:30:02,021 DEBUG    SDM230     17931 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:30:02,126 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.21
2024-03-03 10:30:02,128 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 7.17
2024-03-03 10:30:02,129 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 1715.4
2024-03-03 10:30:02,130 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 1742.6
2024-03-03 10:30:02,132 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.985
2024-03-03 10:30:02,133 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.098
2024-03-03 10:30:02,134 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.596
2024-03-03 10:30:02,136 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:30:02,137 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:30:06,412 DEBUG    emoncmsorg Buffer size: 3
2024-03-03 10:30:06,414 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709461806&cb=1 (173 bytes of data, 3 frames, compressed)
2024-03-03 10:30:06,414 INFO     emoncmsorg compression ratio: 32%
2024-03-03 10:30:06,496 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2008.6 ms
2024-03-03 10:30:06,780 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (365 ms)
2024-03-03 10:30:08,700 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.1 ms
2024-03-03 10:30:08,901 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:30:12,003 DEBUG    SDM230     [242.98, 7.191, 1720.5, 1743.5, 0.985, 50.098, 423.6, 0.0, 29.422]
2024-03-03 10:30:12,004 DEBUG    SDM230     17933 NEW FRAME : 
2024-03-03 10:30:12,004 DEBUG    SDM230     17933 Timestamp : 1709461810.036295
2024-03-03 10:30:12,005 DEBUG    SDM230     17933 From Node : sdm230
2024-03-03 10:30:12,005 DEBUG    SDM230     17933    Values : [242.98, 7.191, 1720.5, 1743.5, 0.985, 50.098, 423.6, 0, 29.422]
2024-03-03 10:30:12,006 DEBUG    SDM230     17933 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:30:12,006 DEBUG    SDM230     17933 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:30:12,280 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242.98
2024-03-03 10:30:12,281 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 7.191
2024-03-03 10:30:12,282 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 1720.5
2024-03-03 10:30:12,283 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 1743.5
2024-03-03 10:30:12,284 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.985
2024-03-03 10:30:12,286 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.098
2024-03-03 10:30:12,287 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.6
2024-03-03 10:30:12,288 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:30:12,290 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:30:17,011 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-03 10:30:19,216 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.1 ms
2024-03-03 10:30:19,416 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:30:22,053 DEBUG    SDM230     [243.11, 7.188, 1718.9, 1746.8, 0.985, 50.049, 423.605, 0.0, 29.422]
2024-03-03 10:30:22,054 DEBUG    SDM230     17936 NEW FRAME : 
2024-03-03 10:30:22,055 DEBUG    SDM230     17936 Timestamp : 1709461820.080506
2024-03-03 10:30:22,055 DEBUG    SDM230     17936 From Node : sdm230
2024-03-03 10:30:22,056 DEBUG    SDM230     17936    Values : [243.11, 7.188, 1718.9, 1746.8, 0.985, 50.049, 423.605, 0, 29.422]
2024-03-03 10:30:22,057 DEBUG    SDM230     17936 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:30:22,057 DEBUG    SDM230     17936 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:30:22,287 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.11
2024-03-03 10:30:22,289 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 7.188
2024-03-03 10:30:22,290 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 1718.9
2024-03-03 10:30:22,292 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 1746.8
2024-03-03 10:30:22,293 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.985
2024-03-03 10:30:22,294 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:30:22,295 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.605
2024-03-03 10:30:22,296 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:30:22,297 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:30:26,429 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2002.8 ms
2024-03-03 10:30:28,633 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-03 10:30:28,834 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:30:32,039 DEBUG    SDM230     [243.24, 7.187, 1716.3, 1747.4, 0.985, 50.049, 423.61, 0.0, 29.422]
2024-03-03 10:30:32,040 DEBUG    SDM230     17939 NEW FRAME : 
2024-03-03 10:30:32,040 DEBUG    SDM230     17939 Timestamp : 1709461830.073181
2024-03-03 10:30:32,041 DEBUG    SDM230     17939 From Node : sdm230
2024-03-03 10:30:32,042 DEBUG    SDM230     17939    Values : [243.24, 7.187, 1716.3, 1747.4, 0.985, 50.049, 423.61, 0, 29.422]
2024-03-03 10:30:32,042 DEBUG    SDM230     17939 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:30:32,043 DEBUG    SDM230     17939 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:30:32,231 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.24
2024-03-03 10:30:32,232 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 7.187
2024-03-03 10:30:32,233 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 1716.3
2024-03-03 10:30:32,234 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 1747.4
2024-03-03 10:30:32,236 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.985
2024-03-03 10:30:32,237 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:30:32,238 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.61
2024-03-03 10:30:32,239 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:30:32,240 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:30:36,810 DEBUG    emoncmsorg Buffer size: 3
2024-03-03 10:30:36,811 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709461836&cb=1 (167 bytes of data, 3 frames, compressed)
2024-03-03 10:30:36,812 INFO     emoncmsorg compression ratio: 30%
2024-03-03 10:30:37,050 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.5 ms
2024-03-03 10:30:37,192 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (379 ms)
2024-03-03 10:30:39,255 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.2 ms
2024-03-03 10:30:39,456 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:30:41,589 ERROR    SDM230     Could not read register @ 12: Checksum error in rtu mode: b'0\xb4' instead of b'\xcb\x14' . The response is: b'D\xd7h_0\xb4' (plain response: b'D\xd7h_0\xb4')
2024-03-03 10:30:42,935 DEBUG    SDM230     [243.32, 7.18, 1748.3, 0.985, 50.049, 423.615, 0.0, 29.422]
2024-03-03 10:30:42,936 DEBUG    SDM230     17941 NEW FRAME : 
2024-03-03 10:30:42,937 DEBUG    SDM230     17941 Timestamp : 1709461840.070017
2024-03-03 10:30:42,937 DEBUG    SDM230     17941 From Node : sdm230
2024-03-03 10:30:42,938 DEBUG    SDM230     17941    Values : [243.32, 7.18, 1748.3, 0.985, 50.049, 423.615, 0, 29.422]
2024-03-03 10:30:42,938 DEBUG    SDM230     17941 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:30:42,939 DEBUG    SDM230     17941 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:30:43,186 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.32
2024-03-03 10:30:43,188 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 7.18
2024-03-03 10:30:43,189 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 1748.3
2024-03-03 10:30:43,190 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.985
2024-03-03 10:30:43,192 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:30:43,193 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.615
2024-03-03 10:30:43,194 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:30:43,195 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:30:46,464 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-03 10:30:48,674 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2008.5 ms
2024-03-03 10:30:48,875 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:30:52,011 DEBUG    SDM230     [243.22, 7.185, 1727.4, 1746.1, 0.986, 50.049, 423.62, 0.0, 29.422]
2024-03-03 10:30:52,012 DEBUG    SDM230     17943 NEW FRAME : 
2024-03-03 10:30:52,013 DEBUG    SDM230     17943 Timestamp : 1709461850.050693
2024-03-03 10:30:52,013 DEBUG    SDM230     17943 From Node : sdm230
2024-03-03 10:30:52,014 DEBUG    SDM230     17943    Values : [243.22, 7.185, 1727.4, 1746.1, 0.986, 50.049, 423.62, 0, 29.422]
2024-03-03 10:30:52,014 DEBUG    SDM230     17943 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:30:52,015 DEBUG    SDM230     17943 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:30:52,141 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.22
2024-03-03 10:30:52,142 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 7.185
2024-03-03 10:30:52,144 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 1727.4
2024-03-03 10:30:52,145 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 1746.1
2024-03-03 10:30:52,146 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.986
2024-03-03 10:30:52,147 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:30:52,149 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.62
2024-03-03 10:30:52,150 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:30:52,151 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:30:57,090 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.4 ms
2024-03-03 10:30:59,295 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.4 ms
2024-03-03 10:30:59,496 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:31:01,998 DEBUG    SDM230     [242.97, 7.194, 1729.0, 1751.7, 0.986, 50.049, 423.624, 0.0, 29.422]
2024-03-03 10:31:01,998 DEBUG    SDM230     17945 NEW FRAME : 
2024-03-03 10:31:01,999 DEBUG    SDM230     17945 Timestamp : 1709461860.031998
2024-03-03 10:31:02,000 DEBUG    SDM230     17945 From Node : sdm230
2024-03-03 10:31:02,000 DEBUG    SDM230     17945    Values : [242.97, 7.194, 1729, 1751.7, 0.986, 50.049, 423.624, 0, 29.422]
2024-03-03 10:31:02,000 DEBUG    SDM230     17945 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:31:02,001 DEBUG    SDM230     17945 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:31:02,194 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242.97
2024-03-03 10:31:02,195 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 7.194
2024-03-03 10:31:02,196 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 1729
2024-03-03 10:31:02,197 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 1751.7
2024-03-03 10:31:02,198 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.986
2024-03-03 10:31:02,198 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:31:02,199 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.624
2024-03-03 10:31:02,200 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:31:02,202 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:31:06,506 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.5 ms
2024-03-03 10:31:07,259 DEBUG    emoncmsorg Buffer size: 3
2024-03-03 10:31:07,261 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709461867&cb=1 (164 bytes of data, 3 frames, compressed)
2024-03-03 10:31:07,261 INFO     emoncmsorg compression ratio: 30%
2024-03-03 10:31:07,629 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (367 ms)
2024-03-03 10:31:08,711 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.4 ms
2024-03-03 10:31:08,912 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:31:11,984 DEBUG    SDM230     [242.52, 8.176, 2056.2, 2126.2, 0.976, 50.049, 423.63, 0.0, 29.422]
2024-03-03 10:31:11,985 DEBUG    SDM230     17948 NEW FRAME : 
2024-03-03 10:31:11,985 DEBUG    SDM230     17948 Timestamp : 1709461870.016261
2024-03-03 10:31:11,986 DEBUG    SDM230     17948 From Node : sdm230
2024-03-03 10:31:11,986 DEBUG    SDM230     17948    Values : [242.52, 8.176, 2056.2, 2126.2, 0.976, 50.049, 423.63, 0, 29.422]
2024-03-03 10:31:11,987 DEBUG    SDM230     17948 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:31:11,988 DEBUG    SDM230     17948 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:31:12,143 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242.52
2024-03-03 10:31:12,145 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 8.176
2024-03-03 10:31:12,146 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 2056.2
2024-03-03 10:31:12,147 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 2126.2
2024-03-03 10:31:12,148 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.976
2024-03-03 10:31:12,150 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:31:12,151 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.63
2024-03-03 10:31:12,152 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:31:12,153 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:31:17,022 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2002.7 ms
2024-03-03 10:31:19,231 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2008.5 ms
2024-03-03 10:31:19,432 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:31:22,066 DEBUG    SDM230     [242.06, 10.774, 2671.6, 2664.3, 0.99, 50.0, 423.636, 0.0, 29.422]
2024-03-03 10:31:22,067 DEBUG    SDM230     17951 NEW FRAME : 
2024-03-03 10:31:22,068 DEBUG    SDM230     17951 Timestamp : 1709461880.098515
2024-03-03 10:31:22,068 DEBUG    SDM230     17951 From Node : sdm230
2024-03-03 10:31:22,069 DEBUG    SDM230     17951    Values : [242.06, 10.774, 2671.6, 2664.3, 0.99, 50, 423.636, 0, 29.422]
2024-03-03 10:31:22,070 DEBUG    SDM230     17951 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:31:22,070 DEBUG    SDM230     17951 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:31:22,296 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242.06
2024-03-03 10:31:22,298 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 10.774
2024-03-03 10:31:22,300 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 2671.6
2024-03-03 10:31:22,301 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 2664.3
2024-03-03 10:31:22,302 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.99
2024-03-03 10:31:22,304 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50
2024-03-03 10:31:22,305 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.636
2024-03-03 10:31:22,307 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:31:22,308 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.422
2024-03-03 10:31:26,445 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2008.4 ms
2024-03-03 10:31:28,649 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2002.9 ms
2024-03-03 10:31:28,850 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:31:32,069 DEBUG    SDM230     [241.92, 16.722, 3426.6, 4284.7, 0.777, 50.0, 423.645, 0.0, 29.427]
2024-03-03 10:31:32,070 DEBUG    SDM230     17954 NEW FRAME : 
2024-03-03 10:31:32,071 DEBUG    SDM230     17954 Timestamp : 1709461890.085687
2024-03-03 10:31:32,072 DEBUG    SDM230     17954 From Node : sdm230
2024-03-03 10:31:32,072 DEBUG    SDM230     17954    Values : [241.92, 16.722, 3426.6, 4284.7, 0.777, 50, 423.645, 0, 29.427]
2024-03-03 10:31:32,073 DEBUG    SDM230     17954 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:31:32,073 DEBUG    SDM230     17954 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:31:32,245 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 241.92
2024-03-03 10:31:32,247 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 16.722
2024-03-03 10:31:32,248 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 3426.6
2024-03-03 10:31:32,249 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 4284.7
2024-03-03 10:31:32,250 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.777
2024-03-03 10:31:32,252 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50
2024-03-03 10:31:32,253 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.645
2024-03-03 10:31:32,254 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:31:32,255 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.427
2024-03-03 10:31:37,060 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-03 10:31:37,685 DEBUG    emoncmsorg Buffer size: 3
2024-03-03 10:31:37,687 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709461897&cb=1 (184 bytes of data, 3 frames, compressed)
2024-03-03 10:31:37,688 INFO     emoncmsorg compression ratio: 33%
2024-03-03 10:31:38,066 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (377 ms)
2024-03-03 10:31:39,264 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.1 ms
2024-03-03 10:31:39,465 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:31:42,053 DEBUG    SDM230     [241.36, 17.533, 3612.5, 4050.6, 0.896, 50.049, 423.655, 0.0, 29.433]
2024-03-03 10:31:42,054 DEBUG    SDM230     17956 NEW FRAME : 
2024-03-03 10:31:42,055 DEBUG    SDM230     17956 Timestamp : 1709461900.088792
2024-03-03 10:31:42,055 DEBUG    SDM230     17956 From Node : sdm230
2024-03-03 10:31:42,055 DEBUG    SDM230     17956    Values : [241.36, 17.533, 3612.5, 4050.6, 0.896, 50.049, 423.655, 0, 29.433]
2024-03-03 10:31:42,056 DEBUG    SDM230     17956 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:31:42,056 DEBUG    SDM230     17956 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:31:42,222 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 241.36
2024-03-03 10:31:42,223 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 17.533
2024-03-03 10:31:42,224 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 3612.5
2024-03-03 10:31:42,225 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 4050.6
2024-03-03 10:31:42,226 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.896
2024-03-03 10:31:42,227 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:31:42,228 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.655
2024-03-03 10:31:42,229 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:31:42,229 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.433
2024-03-03 10:31:42,488 DEBUG    MainThread Signal 15 received.
2024-03-03 10:31:42,563 INFO     MainThread Exiting hub...
2024-03-03 10:31:46,473 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.2 ms
2024-03-03 10:31:48,678 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.2 ms
2024-03-03 10:31:48,879 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:31:48,980 INFO     MainThread Exit completed
2024-03-03 10:31:50,174 INFO     MainThread EmonHub v2.6.5
2024-03-03 10:31:50,175 INFO     MainThread Opening hub...
2024-03-03 10:31:50,175 INFO     MainThread Running as user: pi
2024-03-03 10:31:50,176 INFO     MainThread Logging level set to DEBUG
2024-03-03 10:31:50,176 INFO     MainThread Creating EmonHubOEMInterfacer 'EmonPi2'
2024-03-03 10:31:50,177 DEBUG    MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2024-03-03 10:31:50,179 INFO     MainThread Creating EmonHubOEMInterfacer 'USB0'
2024-03-03 10:31:50,182 DEBUG    MainThread Opening serial port: /dev/ttyUSB0 @ 115200 bits/s
2024-03-03 10:31:50,184 INFO     MainThread Creating EmonHubMinimalModbusInterfacer 'SDM230'
2024-03-03 10:31:50,191 INFO     MainThread Connecting to Modbus device=/dev/ttyUSB0 baud=2400 parity=none datatype=float
2024-03-03 10:31:50,194 INFO     MainThread Setting SDM230 read_interval: 10
2024-03-03 10:31:50,194 INFO     MainThread Setting SDM230 nodename: sdm230
2024-03-03 10:31:50,195 INFO     MainThread Setting SDM230 prefix: 
2024-03-03 10:31:50,195 INFO     MainThread Setting SDM230 meters sdm230 address 1
2024-03-03 10:31:50,195 INFO     MainThread Setting SDM230 meters sdm230 registers [0, 6, 12, 18, 30, 70, 72, 74, 76]
2024-03-03 10:31:50,196 INFO     MainThread Setting SDM230 meters sdm230 names ["V", "I", "P", "VA", "PF", "FR", "EI", "EE", "RI"]
2024-03-03 10:31:50,196 INFO     MainThread Setting SDM230 meters sdm230 precision [2, 3, 1, 1, 3, 3, 3, 3, 3]
2024-03-03 10:31:50,196 DEBUG    MainThread Setting SDM230 pubchannels: ['ToEmonCMS']
2024-03-03 10:31:50,197 INFO     MainThread Creating EmonHubMBUSInterfacer 'MBUS'
2024-03-03 10:31:50,198 DEBUG    MainThread Connecting to MBUS serial: /dev/ttyAMA0 2400
2024-03-03 10:31:50,199 INFO     MainThread Setting MBUS read_interval: 10
2024-03-03 10:31:50,199 INFO     MainThread Setting MBUS nodename: MBUS
2024-03-03 10:31:50,199 INFO     MainThread Setting MBUS validate_checksum: False
2024-03-03 10:31:50,200 INFO     MainThread Setting MBUS meters: {"heatmeter": {"address": "0", "type": "sontex531"}}
2024-03-03 10:31:50,200 DEBUG    MainThread Setting MBUS pubchannels: ['ToEmonCMS']
2024-03-03 10:31:50,201 INFO     MainThread Creating EmonHubRFM69LPLInterfacer 'SPI'
2024-03-03 10:31:50,211 INFO     MainThread Creating RFM69 LowPowerLabs interfacer
2024-03-03 10:31:50,212 INFO     MainThread RFM69 node_id = 5
2024-03-03 10:31:50,212 INFO     MainThread RFM69 network_id = 210
2024-03-03 10:31:50,212 INFO     MainThread RFM69 interruptPin = 22
2024-03-03 10:31:50,212 INFO     MainThread RFM69 resetPin = 24
2024-03-03 10:31:50,212 INFO     MainThread RFM69 selPin = 16
2024-03-03 10:31:50,213 INFO     MainThread Starting radio setup
2024-03-03 10:31:50,913 ERROR    MainThread Could not connect to RFM69 module
2024-03-03 10:31:50,914 DEBUG    MainThread Setting SPI pubchannels: ['ToEmonCMS']
2024-03-03 10:31:50,915 INFO     MainThread Creating EmonHubMqttInterfacer 'MQTT'
2024-03-03 10:31:50,916 DEBUG    MainThread Setting MQTT pubchannels: ['ToRFM12']
2024-03-03 10:31:50,916 DEBUG    MainThread Setting MQTT subchannels: ['ToEmonCMS']
2024-03-03 10:31:50,917 INFO     MainThread Setting MQTT node_format_enable: 0
2024-03-03 10:31:50,917 INFO     MainThread Setting MQTT nodevar_format_enable: 1
2024-03-03 10:31:50,917 INFO     MainThread Setting MQTT nodevar_format_basetopic: emon/
2024-03-03 10:31:50,917 INFO     MainThread Setting MQTT node_JSON_enable: 0
2024-03-03 10:31:50,918 INFO     MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2024-03-03 10:31:50,920 DEBUG    MainThread Setting emoncmsorg interval: 30
2024-03-03 10:31:50,920 DEBUG    MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2024-03-03 10:31:50,920 DEBUG    MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2024-03-03 10:31:50,921 INFO     MainThread Setting emoncmsorg apikey: set
2024-03-03 10:31:50,921 INFO     MainThread Setting emoncmsorg url: https://emoncms.org
2024-03-03 10:31:50,921 INFO     MainThread Setting emoncmsorg senddata: 1
2024-03-03 10:31:50,921 INFO     MainThread Setting emoncmsorg sendstatus: 0
2024-03-03 10:31:50,922 INFO     MainThread Setting emoncmsorg sendnames: 1
2024-03-03 10:31:50,922 INFO     MainThread Setting emoncmsorg compress: 0
2024-03-03 10:31:50,923 INFO     MainThread Creating EmonHubDS18B20Interfacer 'DS18B20'
2024-03-03 10:31:50,948 INFO     MainThread Setting DS18B20 read_interval: 10
2024-03-03 10:31:50,949 INFO     MainThread Setting DS18B20 nodename: sensors
2024-03-03 10:31:50,949 INFO     MainThread Setting DS18B20 ids: 
2024-03-03 10:31:50,949 INFO     MainThread Setting DS18B20 names: 
2024-03-03 10:31:50,950 DEBUG    MainThread Setting DS18B20 pubchannels: ['ToEmonCMS']
2024-03-03 10:31:50,951 DEBUG    MainThread Automatic configuration of nodes enabled
2024-03-03 10:31:52,183 DEBUG    SDM230     [241.75, 17.55, 3659.3, 3978.1, 0.87, 49.951, 423.665, 0.0, 29.44]
2024-03-03 10:31:52,184 DEBUG    SDM230     1 NEW FRAME : 
2024-03-03 10:31:52,185 DEBUG    SDM230     1 Timestamp : 1709461910.197538
2024-03-03 10:31:52,186 DEBUG    SDM230     1 From Node : sdm230
2024-03-03 10:31:52,186 DEBUG    SDM230     1    Values : [241.75, 17.55, 3659.3, 3978.1, 0.87, 49.951, 423.665, 0, 29.44]
2024-03-03 10:31:52,187 DEBUG    SDM230     1 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:31:52,187 DEBUG    SDM230     1 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:31:52,221 INFO     MQTT       Connecting to MQTT Server
2024-03-03 10:31:52,324 INFO     MQTT       connection status: Connection successful
2024-03-03 10:31:52,325 DEBUG    MQTT       CONACK => Return code: 0
2024-03-03 10:31:52,326 DEBUG    emoncmsorg Buffer size: 1
2024-03-03 10:31:52,328 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709461912&cb=1 (117 bytes of data, 1 frames, compressed)
2024-03-03 10:31:52,329 INFO     emoncmsorg compression ratio: 63%
2024-03-03 10:31:52,427 INFO     MQTT       on_subscribe
2024-03-03 10:31:52,725 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (395 ms)
2024-03-03 10:31:57,212 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-03 10:31:59,417 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2004.1 ms
2024-03-03 10:31:59,618 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:32:01,977 DEBUG    SDM230     [242.0, 16.771, 3212.3, 3457.2, 0.904, 49.951, 423.675, 0.0, 29.446]
2024-03-03 10:32:01,978 DEBUG    SDM230     4 NEW FRAME : 
2024-03-03 10:32:01,979 DEBUG    SDM230     4 Timestamp : 1709461920.002365
2024-03-03 10:32:01,979 DEBUG    SDM230     4 From Node : sdm230
2024-03-03 10:32:01,980 DEBUG    SDM230     4    Values : [242, 16.771, 3212.3, 3457.2, 0.904, 49.951, 423.675, 0, 29.446]
2024-03-03 10:32:01,981 DEBUG    SDM230     4 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:32:01,981 DEBUG    SDM230     4 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:32:02,165 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242
2024-03-03 10:32:02,167 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 16.771
2024-03-03 10:32:02,168 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 3212.3
2024-03-03 10:32:02,169 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 3457.2
2024-03-03 10:32:02,170 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.904
2024-03-03 10:32:02,172 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 49.951
2024-03-03 10:32:02,173 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.675
2024-03-03 10:32:02,174 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:32:02,175 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.446
2024-03-03 10:32:06,637 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2004.1 ms
2024-03-03 10:32:08,841 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.1 ms
2024-03-03 10:32:09,042 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:32:12,059 DEBUG    SDM230     [242.73, 10.869, 130.6, 202.6, 0.607, 50.0, 423.682, 0.0, 29.448]
2024-03-03 10:32:12,060 DEBUG    SDM230     7 NEW FRAME : 
2024-03-03 10:32:12,061 DEBUG    SDM230     7 Timestamp : 1709461930.095359
2024-03-03 10:32:12,061 DEBUG    SDM230     7 From Node : sdm230
2024-03-03 10:32:12,062 DEBUG    SDM230     7    Values : [242.73, 10.869, 130.6, 202.6, 0.607, 50, 423.682, 0, 29.448]
2024-03-03 10:32:12,062 DEBUG    SDM230     7 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:32:12,063 DEBUG    SDM230     7 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:32:12,110 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242.73
2024-03-03 10:32:12,112 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 10.869
2024-03-03 10:32:12,113 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 130.6
2024-03-03 10:32:12,115 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 202.6
2024-03-03 10:32:12,116 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.607
2024-03-03 10:32:12,117 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50
2024-03-03 10:32:12,119 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.682
2024-03-03 10:32:12,120 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:32:12,121 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.448
2024-03-03 10:32:17,053 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.4 ms
2024-03-03 10:32:19,260 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2005.8 ms
2024-03-03 10:32:19,460 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:32:22,425 ERROR    SDM230     Could not read register @ 72: Checksum error in rtu mode: b'A\xfc' instead of b"J'" . The response is: b'\x04\x04C\xd3\xd7LA\xfc' (plain response: b'\x04\x04C\xd3\xd7LA\xfc')
2024-03-03 10:32:22,797 DEBUG    emoncmsorg Buffer size: 2
2024-03-03 10:32:22,799 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709461942&cb=1 (159 bytes of data, 2 frames, compressed)
2024-03-03 10:32:22,800 INFO     emoncmsorg compression ratio: 43%
2024-03-03 10:32:22,939 DEBUG    SDM230     [243.74, 1.04, 185.8, 261.1, 0.71, 50.0, 0.0, 29.448]
2024-03-03 10:32:22,939 DEBUG    SDM230     10 NEW FRAME : 
2024-03-03 10:32:22,940 DEBUG    SDM230     10 Timestamp : 1709461940.075871
2024-03-03 10:32:22,940 DEBUG    SDM230     10 From Node : sdm230
2024-03-03 10:32:22,941 DEBUG    SDM230     10    Values : [243.74, 1.04, 185.8, 261.1, 0.71, 50, 0, 29.448]
2024-03-03 10:32:22,941 DEBUG    SDM230     10 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:32:22,942 DEBUG    SDM230     10 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:32:23,076 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.74
2024-03-03 10:32:23,077 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 1.04
2024-03-03 10:32:23,078 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 185.8
2024-03-03 10:32:23,079 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 261.1
2024-03-03 10:32:23,080 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.71
2024-03-03 10:32:23,081 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50
2024-03-03 10:32:23,082 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:32:23,083 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.448
2024-03-03 10:32:23,204 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (403 ms)
2024-03-03 10:32:26,471 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2005.4 ms
2024-03-03 10:32:28,676 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.5 ms
2024-03-03 10:32:28,878 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:32:32,029 DEBUG    SDM230     [243.47, 1.138, 202.3, 280.1, 0.725, 50.0, 423.683, 0.0, 29.448]
2024-03-03 10:32:32,030 DEBUG    SDM230     12 NEW FRAME : 
2024-03-03 10:32:32,031 DEBUG    SDM230     12 Timestamp : 1709461950.057287
2024-03-03 10:32:32,031 DEBUG    SDM230     12 From Node : sdm230
2024-03-03 10:32:32,031 DEBUG    SDM230     12    Values : [243.47, 1.138, 202.3, 280.1, 0.725, 50, 423.683, 0, 29.448]
2024-03-03 10:32:32,032 DEBUG    SDM230     12 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:32:32,032 DEBUG    SDM230     12 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:32:32,220 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.47
2024-03-03 10:32:32,221 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 1.138
2024-03-03 10:32:32,222 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 202.3
2024-03-03 10:32:32,223 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 280.1
2024-03-03 10:32:32,225 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.725
2024-03-03 10:32:32,226 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50
2024-03-03 10:32:32,226 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.683
2024-03-03 10:32:32,227 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:32:32,228 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.448
2024-03-03 10:32:37,089 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-03 10:32:39,294 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-03 10:32:39,495 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:32:42,015 DEBUG    SDM230     [243.57, 0.748, 59.9, 178.1, 0.305, 50.049, 423.683, 0.0, 29.448]
2024-03-03 10:32:42,016 DEBUG    SDM230     14 NEW FRAME : 
2024-03-03 10:32:42,017 DEBUG    SDM230     14 Timestamp : 1709461960.048682
2024-03-03 10:32:42,017 DEBUG    SDM230     14 From Node : sdm230
2024-03-03 10:32:42,018 DEBUG    SDM230     14    Values : [243.57, 0.748, 59.9, 178.1, 0.305, 50.049, 423.683, 0, 29.448]
2024-03-03 10:32:42,019 DEBUG    SDM230     14 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:32:42,019 DEBUG    SDM230     14 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:32:42,161 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.57
2024-03-03 10:32:42,163 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 0.748
2024-03-03 10:32:42,164 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 59.9
2024-03-03 10:32:42,166 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 178.1
2024-03-03 10:32:42,167 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.305
2024-03-03 10:32:42,168 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:32:42,169 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.683
2024-03-03 10:32:42,171 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:32:42,172 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.448
2024-03-03 10:32:46,502 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2002.6 ms
2024-03-03 10:32:48,706 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.1 ms
2024-03-03 10:32:48,907 DEBUG    MBUS       Decoded MBUS data: None
2024-03-03 10:32:52,002 DEBUG    SDM230     [243.65, 0.735, 64.2, 177.5, 0.328, 50.049, 423.683, 0.0, 29.448]
2024-03-03 10:32:52,003 DEBUG    SDM230     18 NEW FRAME : 
2024-03-03 10:32:52,003 DEBUG    SDM230     18 Timestamp : 1709461970.039144
2024-03-03 10:32:52,004 DEBUG    SDM230     18 From Node : sdm230
2024-03-03 10:32:52,004 DEBUG    SDM230     18    Values : [243.65, 0.735, 64.2, 177.5, 0.328, 50.049, 423.683, 0, 29.448]
2024-03-03 10:32:52,005 DEBUG    SDM230     18 Sent to channel(start)' : ToEmonCMS
2024-03-03 10:32:52,005 DEBUG    SDM230     18 Sent to channel(end)' : ToEmonCMS
2024-03-03 10:32:52,108 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.65
2024-03-03 10:32:52,110 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 0.735
2024-03-03 10:32:52,111 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 64.2
2024-03-03 10:32:52,113 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 177.5
2024-03-03 10:32:52,114 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.328
2024-03-03 10:32:52,115 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-03 10:32:52,116 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 423.683
2024-03-03 10:32:52,117 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-03 10:32:52,119 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 29.448
2024-03-03 10:32:53,284 DEBUG    emoncmsorg Buffer size: 4
2024-03-03 10:32:53,286 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709461973&cb=1 (190 bytes of data, 4 frames, compressed)
2024-03-03 10:32:53,287 INFO     emoncmsorg compression ratio: 26%
2024-03-03 10:32:53,667 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (379 ms)
2024-03-03 10:32:57,024 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2004.9 ms
2024-03-03 10:32:59,228 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2002.8 ms
2024-03-03 10:32:59,429 DEBUG    MBUS       Decoded MBUS data: None

Trust this is what you require.

I really need the log at startup please :slight_smile:

[edit]
Are you sure the TX is connected to USB0 serial port? There are loads of threads here on checking that :slight_smile: Have you checked the TX/RX lines are the right way round?

On the emoncms on the Pi, go into admin → Serial Config. Whilst this is for configuring the TX4 primarily, it will tell you what Serial ports the Pi is connected to and if you stop emonhub, you should be able to connect to the TX3 and see output on the serial monitor.

Can you also summarise what is and isn’t working of these interfaces.

I think

  • SDM30 USB ModBus working
  • Sontex USB MBus Not working
  • TX3 connected with a serial cable (USB/UART) to USB0 - Not Working
  • DS18B20 Connected to TX3

Hi Brian
Thanks for the reply. Did a restart yesterday just before dashing out to go to property where other system awaits setting up. Can’t see emonhub on emoncms so will redo on my return at end of week.

With regard to the TX connections, I had this working reporting pulse counting when the Packom hat was attached. It was the only USB connected device where as now there are three. Will check as requested.

I take it I go into admin → Serial Config using ssh and PuTTy. Played around with this a lot when trying to get the Packom Hat working and likely to have to do this again today setting up Sontex Supercal 5 on other system to be commissioned today. Again a job for my return at the weekend.

Your summary of what is and is not working correct.

Thanks for your continued assistance.

No, from emoncms,

image

Stop emonhub first.

If it doesn’t work this way you need to go in via SSH and work out which Serial port the TX is actually connected to.

Afternoon Brian
Is this what you want?

2024-03-09 11:21:05,169 INFO     MainThread EmonHub v2.6.5
2024-03-09 11:21:05,171 INFO     MainThread Opening hub...
2024-03-09 11:21:05,172 INFO     MainThread Running as user: pi
2024-03-09 11:21:05,172 INFO     MainThread Logging level set to DEBUG
2024-03-09 11:21:05,172 INFO     MainThread Creating EmonHubOEMInterfacer 'EmonPi2'
2024-03-09 11:21:05,174 DEBUG    MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2024-03-09 11:21:05,175 INFO     MainThread Creating EmonHubOEMInterfacer 'USB0'
2024-03-09 11:21:05,179 DEBUG    MainThread Opening serial port: /dev/ttyUSB0 @ 115200 bits/s
2024-03-09 11:21:05,180 INFO     MainThread Creating EmonHubMinimalModbusInterfacer 'SDM230'
2024-03-09 11:21:05,196 INFO     MainThread Connecting to Modbus device=/dev/ttyUSB0 baud=2400 parity=none datatype=float
2024-03-09 11:21:05,200 INFO     MainThread Setting SDM230 read_interval: 10
2024-03-09 11:21:05,200 INFO     MainThread Setting SDM230 nodename: sdm230
2024-03-09 11:21:05,201 INFO     MainThread Setting SDM230 prefix: 
2024-03-09 11:21:05,201 INFO     MainThread Setting SDM230 meters sdm230 address 1
2024-03-09 11:21:05,201 INFO     MainThread Setting SDM230 meters sdm230 registers [0, 6, 12, 18, 30, 70, 72, 74, 76]
2024-03-09 11:21:05,202 INFO     MainThread Setting SDM230 meters sdm230 names ["V", "I", "P", "VA", "PF", "FR", "EI", "EE", "RI"]
2024-03-09 11:21:05,202 INFO     MainThread Setting SDM230 meters sdm230 precision [2, 3, 1, 1, 3, 3, 3, 3, 3]
2024-03-09 11:21:05,202 DEBUG    MainThread Setting SDM230 pubchannels: ['ToEmonCMS']
2024-03-09 11:21:05,203 INFO     MainThread Creating EmonHubMBUSInterfacer 'MBUS'
2024-03-09 11:21:05,204 DEBUG    MainThread Connecting to MBUS serial: /dev/ttyAMA0 2400
2024-03-09 11:21:05,205 INFO     MainThread Setting MBUS read_interval: 10
2024-03-09 11:21:05,205 INFO     MainThread Setting MBUS nodename: MBUS
2024-03-09 11:21:05,206 INFO     MainThread Setting MBUS validate_checksum: False
2024-03-09 11:21:05,206 INFO     MainThread Setting MBUS meters: {"heatmeter": {"address": "0", "type": "sontex531"}}
2024-03-09 11:21:05,207 DEBUG    MainThread Setting MBUS pubchannels: ['ToEmonCMS']
2024-03-09 11:21:05,207 INFO     MainThread Creating EmonHubRFM69LPLInterfacer 'SPI'
2024-03-09 11:21:05,238 INFO     MainThread Creating RFM69 LowPowerLabs interfacer
2024-03-09 11:21:05,239 INFO     MainThread RFM69 node_id = 5
2024-03-09 11:21:05,239 INFO     MainThread RFM69 network_id = 210
2024-03-09 11:21:05,239 INFO     MainThread RFM69 interruptPin = 22
2024-03-09 11:21:05,239 INFO     MainThread RFM69 resetPin = 24
2024-03-09 11:21:05,240 INFO     MainThread RFM69 selPin = 16
2024-03-09 11:21:05,240 INFO     MainThread Starting radio setup
2024-03-09 11:21:05,941 ERROR    MainThread Could not connect to RFM69 module
2024-03-09 11:21:05,942 DEBUG    MainThread Setting SPI pubchannels: ['ToEmonCMS']
2024-03-09 11:21:05,943 INFO     MainThread Creating EmonHubMqttInterfacer 'MQTT'
2024-03-09 11:21:05,945 DEBUG    MainThread Setting MQTT pubchannels: ['ToRFM12']
2024-03-09 11:21:05,945 DEBUG    MainThread Setting MQTT subchannels: ['ToEmonCMS']
2024-03-09 11:21:05,946 INFO     MainThread Setting MQTT node_format_enable: 0
2024-03-09 11:21:05,946 INFO     MainThread Setting MQTT nodevar_format_enable: 1
2024-03-09 11:21:05,946 INFO     MainThread Setting MQTT nodevar_format_basetopic: emon/
2024-03-09 11:21:05,947 INFO     MainThread Setting MQTT node_JSON_enable: 0
2024-03-09 11:21:05,948 INFO     MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2024-03-09 11:21:05,951 DEBUG    MainThread Setting emoncmsorg interval: 30
2024-03-09 11:21:05,951 DEBUG    MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2024-03-09 11:21:05,952 DEBUG    MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2024-03-09 11:21:05,952 INFO     MainThread Setting emoncmsorg apikey: set
2024-03-09 11:21:05,952 INFO     MainThread Setting emoncmsorg url: https://emoncms.org
2024-03-09 11:21:05,953 INFO     MainThread Setting emoncmsorg senddata: 1
2024-03-09 11:21:05,953 INFO     MainThread Setting emoncmsorg sendstatus: 0
2024-03-09 11:21:05,954 INFO     MainThread Setting emoncmsorg sendnames: 1
2024-03-09 11:21:05,954 INFO     MainThread Setting emoncmsorg compress: 0
2024-03-09 11:21:05,955 INFO     MainThread Creating EmonHubDS18B20Interfacer 'DS18B20'
2024-03-09 11:21:05,997 INFO     MainThread Setting DS18B20 read_interval: 10
2024-03-09 11:21:05,998 INFO     MainThread Setting DS18B20 nodename: sensors
2024-03-09 11:21:05,999 INFO     MainThread Setting DS18B20 ids: 
2024-03-09 11:21:05,999 INFO     MainThread Setting DS18B20 names: 
2024-03-09 11:21:06,000 DEBUG    MainThread Setting DS18B20 pubchannels: ['ToEmonCMS']
2024-03-09 11:21:06,001 DEBUG    MainThread Automatic configuration of nodes enabled
2024-03-09 11:21:11,998 DEBUG    SDM230     [243.2, 0.685, 44.9, 167.3, 0.269, 50.049, 625.922, 0.0, 40.336]
2024-03-09 11:21:11,999 DEBUG    SDM230     2 NEW FRAME : 
2024-03-09 11:21:12,000 DEBUG    SDM230     2 Timestamp : 1709983270.032500
2024-03-09 11:21:12,001 DEBUG    SDM230     2 From Node : sdm230
2024-03-09 11:21:12,001 DEBUG    SDM230     2    Values : [243.2, 0.685, 44.9, 167.3, 0.269, 50.049, 625.922, 0, 40.336]
2024-03-09 11:21:12,002 DEBUG    SDM230     2 Sent to channel(start)' : ToEmonCMS
2024-03-09 11:21:12,003 DEBUG    SDM230     2 Sent to channel(end)' : ToEmonCMS
2024-03-09 11:21:12,178 INFO     MQTT       Connecting to MQTT Server
2024-03-09 11:21:12,281 INFO     MQTT       connection status: Connection successful
2024-03-09 11:21:12,283 DEBUG    MQTT       CONACK => Return code: 0
2024-03-09 11:21:12,289 DEBUG    emoncmsorg Buffer size: 1
2024-03-09 11:21:12,290 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709983272&cb=1 (118 bytes of data, 1 frames, compressed)
2024-03-09 11:21:12,291 INFO     emoncmsorg compression ratio: 64%
2024-03-09 11:21:12,385 INFO     MQTT       on_subscribe
2024-03-09 11:21:12,772 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (480 ms)
2024-03-09 11:21:17,054 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.2 ms
2024-03-09 11:21:19,258 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.5 ms
2024-03-09 11:21:19,459 DEBUG    MBUS       Decoded MBUS data: None
2024-03-09 11:21:21,985 DEBUG    SDM230     [243.07, 0.685, 45.2, 167.7, 0.269, 50.049, 625.922, 0.0, 40.336]
2024-03-09 11:21:21,986 DEBUG    SDM230     4 NEW FRAME : 
2024-03-09 11:21:21,986 DEBUG    SDM230     4 Timestamp : 1709983280.024284
2024-03-09 11:21:21,987 DEBUG    SDM230     4 From Node : sdm230
2024-03-09 11:21:21,987 DEBUG    SDM230     4    Values : [243.07, 0.685, 45.2, 167.7, 0.269, 50.049, 625.922, 0, 40.336]
2024-03-09 11:21:21,987 DEBUG    SDM230     4 Sent to channel(start)' : ToEmonCMS
2024-03-09 11:21:21,988 DEBUG    SDM230     4 Sent to channel(end)' : ToEmonCMS
2024-03-09 11:21:22,115 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 243.07
2024-03-09 11:21:22,117 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 0.685
2024-03-09 11:21:22,118 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 45.2
2024-03-09 11:21:22,120 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 167.7
2024-03-09 11:21:22,122 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.269
2024-03-09 11:21:22,123 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50.049
2024-03-09 11:21:22,125 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 625.922
2024-03-09 11:21:22,126 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-09 11:21:22,128 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 40.336
2024-03-09 11:21:26,480 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2003.3 ms
2024-03-09 12:04:05,772 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2559090.2 ms
2024-03-09 12:04:05,788 DEBUG    emoncmsorg Buffer size: 1
2024-03-09 12:04:05,790 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1709985845&cb=1 (118 bytes of data, 1 frames, compressed)
2024-03-09 12:04:05,791 INFO     emoncmsorg compression ratio: 64%
2024-03-09 12:04:05,973 DEBUG    MBUS       Decoded MBUS data: None
2024-03-09 12:04:06,211 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org (420 ms)
2024-03-09 12:04:12,063 DEBUG    SDM230     [242.33, 0.683, 38.7, 167.2, 0.273, 50.0, 625.922, 0.0, 40.336]
2024-03-09 12:04:12,064 DEBUG    SDM230     8 NEW FRAME : 
2024-03-09 12:04:12,064 DEBUG    SDM230     8 Timestamp : 1709985850.094257
2024-03-09 12:04:12,065 DEBUG    SDM230     8 From Node : sdm230
2024-03-09 12:04:12,065 DEBUG    SDM230     8    Values : [242.33, 0.683, 38.7, 167.2, 0.273, 50, 625.922, 0, 40.336]
2024-03-09 12:04:12,066 DEBUG    SDM230     8 Sent to channel(start)' : ToEmonCMS
2024-03-09 12:04:12,066 DEBUG    SDM230     8 Sent to channel(end)' : ToEmonCMS
2024-03-09 12:04:12,262 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242.33
2024-03-09 12:04:12,264 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 0.683
2024-03-09 12:04:12,265 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 38.7
2024-03-09 12:04:12,266 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 167.2
2024-03-09 12:04:12,267 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.273
2024-03-09 12:04:12,268 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50
2024-03-09 12:04:12,269 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 625.922
2024-03-09 12:04:12,270 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-09 12:04:12,271 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 40.336
2024-03-09 12:04:17,095 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2011.8 ms
2024-03-09 12:04:19,305 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2008.4 ms
2024-03-09 12:04:19,506 DEBUG    MBUS       Decoded MBUS data: None
2024-03-09 12:04:22,065 DEBUG    SDM230     [242.22, 0.682, 44.9, 165.7, 0.272, 50.0, 625.922, 0.0, 40.336]
2024-03-09 12:04:22,066 DEBUG    SDM230     9 NEW FRAME : 
2024-03-09 12:04:22,067 DEBUG    SDM230     9 Timestamp : 1709985860.098745
2024-03-09 12:04:22,068 DEBUG    SDM230     9 From Node : sdm230
2024-03-09 12:04:22,068 DEBUG    SDM230     9    Values : [242.22, 0.682, 44.9, 165.7, 0.272, 50, 625.922, 0, 40.336]
2024-03-09 12:04:22,069 DEBUG    SDM230     9 Sent to channel(start)' : ToEmonCMS
2024-03-09 12:04:22,069 DEBUG    SDM230     9 Sent to channel(end)' : ToEmonCMS
2024-03-09 12:04:22,214 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_V 242.22
2024-03-09 12:04:22,216 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_I 0.682
2024-03-09 12:04:22,217 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_P 44.9
2024-03-09 12:04:22,218 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_VA 165.7
2024-03-09 12:04:22,219 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_PF 0.272
2024-03-09 12:04:22,220 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_FR 50
2024-03-09 12:04:22,221 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EI 625.922
2024-03-09 12:04:22,222 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_EE 0
2024-03-09 12:04:22,223 DEBUG    MQTT       Publishing: emon/sdm230/sdm230_RI 40.336
2024-03-09 12:04:26,514 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2002.8 ms
2024-03-09 12:04:28,723 DEBUG    MBUS       Invalid MBUS data received 0 bytes 2008.5 ms
2024-03-09 12:04:28,924 DEBUG    MBUS       Decoded MBUS data: None

With regard to serial UART connection, physically checked this. As far as I know it is correct. Early TX3 boards has TX and RX misprinted. Whenoriginally set up a year ago did swap them over but it didn’t work. Swapped tham back and was able to use the TX3 for pulse counting. Checked actual version of board V3.4.2

Other change from original setup is updated version of emonsd to latest February 24 release.

Have been scouring threads and came across the following ssh script and ran it. Is this of any help?

Also from reading around, there appears to be different serial connection interfacer scripts to the one used. Also is it possible there is a conflict with the RFM interfacer?

Look forward to your reply and any help you casn provide.

If you do not click reply at the bottom of my post (as opposed to the reply at the very bottom), or do not quote me, I don’t get a notification and I don’t read everything, so could easily have missed this.

Use this reply button

image

The log is telling you what is happening…

I should have noticed before, you are connecting multiple interfacers to the same Serial Port

Thanks for this Brian
How do I alter this in emonhub config to resolve this?

You need one interfacer for each device and work out which of the serial interfaces is which device.

image

‘lsusb’ may help identify which is which or else unplug them all and plug them back in one at a time checking to see what is then identified as plugged in.

Then modify the emonhub.conf to match the serial ports to the interfacer.

There is a risk that you get a different allocation after a reboot and there are threads about how to avoid that.

No only, it’s also in the Docs, in relation to the programmer (also a USB-serial device) : Wicked Device / OpenEnergyMonitor Programmer — OpenEnergyMonitor 0.0.1 documentation

1 Like