I am repurposing an emonBase purchased in 2023 to use as a data collection point for multiple emonTHs. As I wasn’t sure how it was previously configured, I downloaded the latest emonSD configuration and then did a full update.
Unfortunately, it does not recognize any emonTH, even if I manually enter it into emonHub as a node. In looking at the emonHub log, it looks like the emonBase failed to open the serial port /dev/ttyUSB0, and then failed to connect to the RFM69 module. There is nothing plugged into the emonBase other than power, ethernet, and HDMI. Also, I have reflashed the SD card a few times to make sure nothing happened during the image-writing process.
Below is my emonHub log showing the errors.
Any help is greatly appreciated.
thanks,
2024-10-17 14:17:35,458 DEBUG MainThread Signal 15 received.
2024-10-17 14:17:35,516 INFO MainThread Exiting hub...
2024-10-17 14:17:35,732 INFO MainThread Exit completed
2024-10-17 14:17:36,347 INFO MainThread EmonHub v2.6.5
2024-10-17 14:17:36,348 INFO MainThread Opening hub...
2024-10-17 14:17:36,348 INFO MainThread Running as user: pi
2024-10-17 14:17:36,348 INFO MainThread Logging level set to DEBUG
2024-10-17 14:17:36,348 INFO MainThread Creating EmonHubOEMInterfacer 'EmonPi2'
2024-10-17 14:17:36,349 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2024-10-17 14:17:36,350 INFO MainThread Creating EmonHubOEMInterfacer 'USB0'
2024-10-17 14:17:36,351 ERROR MainThread Could not open serial port: /dev/ttyUSB0 @ 115200 bits/s (retry every 10s)
2024-10-17 14:17:36,351 INFO MainThread Creating EmonHubRFM69LPLInterfacer 'SPI'
2024-10-17 14:17:36,357 INFO MainThread Creating RFM69 LowPowerLabs interfacer
2024-10-17 14:17:36,357 INFO MainThread RFM69 node_id = 5
2024-10-17 14:17:36,357 INFO MainThread RFM69 network_id = 210
2024-10-17 14:17:36,357 INFO MainThread RFM69 interruptPin = 22
2024-10-17 14:17:36,358 INFO MainThread RFM69 resetPin = 24
2024-10-17 14:17:36,358 INFO MainThread RFM69 selPin = 16
2024-10-17 14:17:36,358 INFO MainThread Starting radio setup
2024-10-17 14:17:37,058 ERROR MainThread Could not connect to RFM69 module
2024-10-17 14:17:37,059 DEBUG MainThread Setting SPI pubchannels: ['ToEmonCMS']
2024-10-17 14:17:37,059 INFO MainThread Creating EmonHubMqttInterfacer 'MQTT'
2024-10-17 14:17:37,060 DEBUG MainThread Setting MQTT pubchannels: ['ToRFM12']
2024-10-17 14:17:37,060 DEBUG MainThread Setting MQTT subchannels: ['ToEmonCMS']
2024-10-17 14:17:37,060 INFO MainThread Setting MQTT node_format_enable: 0
2024-10-17 14:17:37,060 INFO MainThread Setting MQTT nodevar_format_enable: 1
2024-10-17 14:17:37,060 INFO MainThread Setting MQTT nodevar_format_basetopic: emon/
2024-10-17 14:17:37,061 INFO MainThread Setting MQTT node_JSON_enable: 0
2024-10-17 14:17:37,061 INFO MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2024-10-17 14:17:37,062 DEBUG MainThread Setting emoncmsorg interval: 30
2024-10-17 14:17:37,062 DEBUG MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2024-10-17 14:17:37,062 DEBUG MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2024-10-17 14:17:37,062 WARNING MainThread Setting emoncmsorg apikey: obscured
2024-10-17 14:17:37,062 INFO MainThread Setting emoncmsorg url: https://emoncms.org
2024-10-17 14:17:37,062 INFO MainThread Setting emoncmsorg senddata: 1
2024-10-17 14:17:37,063 INFO MainThread Setting emoncmsorg sendstatus: 0
2024-10-17 14:17:37,063 INFO MainThread Setting emoncmsorg sendnames: 1
2024-10-17 14:17:37,063 INFO MainThread Setting emoncmsorg compress: 0
2024-10-17 14:17:37,063 INFO MainThread Creating EmonHubDS18B20Interfacer 'DS18B20'
2024-10-17 14:17:37,079 INFO MainThread Setting DS18B20 read_interval: 10
2024-10-17 14:17:37,079 INFO MainThread Setting DS18B20 nodename: sensors
2024-10-17 14:17:37,080 INFO MainThread Setting DS18B20 ids:
2024-10-17 14:17:37,080 INFO MainThread Setting DS18B20 names:
2024-10-17 14:17:37,080 DEBUG MainThread Setting DS18B20 pubchannels: ['ToEmonCMS']
2024-10-17 14:17:37,080 DEBUG MainThread Automatic configuration of nodes enabled