I have two emonTXv4s connected to the same emonBase. Both are set to post data every 10 seconds. One works fine and the other is very sporadic. Over the past 16 hours, I had 6,421 10 second time slots. For one emonTX, I received 6,410 messages. For the second emonTX I only received 1,836 messages.
Both TXs have strong signal (~ -27) so this isn’t the issue.
From my emonHub, both configurations look identical (my config file is below). Node 17 is the problem TX. (I deleted my API key from this post for security).
Any help in determining what needs adjusting is greatly appreciated.
thank you,
Gordon
#######################################################################
####################### 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 = 38400
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
subchannels = ToRFM12,
[[USB0]]
Type = EmonHubOEMInterfacer
[[[init_settings]]]
com_port = /dev/ttyUSB0
com_baud = 115200
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
subchannels = ToRFM12,
nodename = emonTx4
[[SPI]]
Type = EmonHubRFM69LPLInterfacer
[[[init_settings]]]
nodeid = 5
networkID = 210
[[[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 =
senddata = 1 # Enable sending data to Emoncms.org
sendnames = 1 # Send full input names (compression will be automatically enabled)
interval = 10 # Bulk send interval to Emoncms.org in seconds
#######################################################################
####################### 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]
[[17]]
nodename = HVAC3_Front
[[[rx]]]
names = MSG, Vrms, P1, P2, P3, P4, P5, P6, I1, I2, I3, I4, I5, I6, T1, T2, T3, pulse
datacodes = L, h, h, h, h, h, h, h, h, h, h, h, h, h, h, h, h, L
scales = 1, 0.01, 1, 1, 1, 1, 1, 1, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 1
units = n, V, W, W, W, W, W, W, I, I, I, I, I, I, C, C, C, p
[[18]]
nodename = HVAC1_BackL
[[[rx]]]
names = MSG, Vrms, P1, P2, P3, P4, P5, P6, I1, I2, I3, I4, I5, I6, T1, T2, T3, pulse
datacodes = L, h, h, h, h, h, h, h, h, h, h, h, h, h, h, h, h, L
scales = 1, 0.01, 1, 1, 1, 1, 1, 1, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 1
units = n, V, W, W, W, W, W, W, I, I, I, I, I, I, C, C, C, p