Hello,
I have a problem in receive information from my emonTXShield. I don’t see any input on input setup menu in Emoncms.
This in the text in the setup input menu of Emoncms:
No inputs created
Inputs are the main entry point for your monitoring device. Configure your device to post values here, you may want to follow the Input API helper as a guide for generating your request.
I Have Arduino UNO with emonTxShield and RFM69CW. I use the sketch Shield_CT1234.ino.
This is the serial monitor with che configuration of nanode RF
Is this an emonPi? Or are you using a RFM2Pi board? If it’s the latter, can you see the LED on it flash roughly in-sync with the emonShield’s LED?
Are you using the emonSD image? If you are using an RFM2Pi board you will need to alter the com_baud setting in the [[RFM2Pi]] settings in emonhub.conf, probably to 38400 if recently purchased.
I’m using a RFM69Pi - 433Mhz board with the emonSD image pre-build purchased together the Emonbase.
Unfortunately in this moment I can’t verify the settings of com_baud in emonhub.conf but I’ll verify it as soon as possible.
Thank you for the suggestion.
2017-02-13 12:17:22,168 WARNING MainThread Device communication error - check settings
2017-02-13 12:17:22,169 INFO MainThread Setting RFM2Pi frequency: 433 (4b)
2017-02-13 12:17:23,170 INFO MainThread Setting RFM2Pi group: 210 (210g)
2017-02-13 12:17:24,172 INFO MainThread Setting RFM2Pi quiet: 0 (0q)
2017-02-13 12:17:25,174 INFO MainThread Setting RFM2Pi baseid: 5 (5i)
2017-02-13 12:17:26,176 INFO MainThread Setting RFM2Pi calibration: 230V (1p)
2017-02-13 12:17:27,178 DEBUG MainThread Setting RFM2Pi subchannels: ['ToRFM12']
2017-02-13 12:17:27,179 DEBUG MainThread Interfacer: Subscribed to channel' : ToRFM12
2017-02-13 12:17:27,179 DEBUG MainThread Setting RFM2Pi pubchannels: ['ToEmonCMS']
2017-02-13 12:17:27,179 DEBUG MainThread Interfacer: Subscribed to channel' : ToRFM12
2017-02-13 12:17:27,180 INFO MainThread Creating EmonHubMqttInterfacer 'MQTT'
2017-02-13 12:17:27,181 INFO MainThread MQTT Init mqtt_host=127.0.0.1 mqtt_port=1883 mqtt_user=emonpi
2017-02-13 12:17:27,183 DEBUG MainThread MQTT Subscribed to channel' : ToEmonCMS
2017-02-13 12:17:27,183 INFO MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2017-02-13 12:17:27,184 DEBUG MainThread emoncmsorg Subscribed to channel' : ToEmonCMS
2017-02-13 12:17:27,284 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:27,285 INFO MQTT Could not connect...
2017-02-13 12:17:28,388 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:28,389 INFO MQTT Could not connect...
2017-02-13 12:17:29,491 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:29,493 INFO MQTT Could not connect...
2017-02-13 12:17:30,594 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:30,595 INFO MQTT Could not connect...
2017-02-13 12:17:31,697 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:31,699 INFO MQTT Could not connect...
2017-02-13 12:17:32,801 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:32,903 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:32,905 INFO MQTT connection status: Connection successful
2017-02-13 12:17:32,906 DEBUG MQTT CONACK => Return code: 0
2017-02-13 12:17:33,007 INFO MQTT on_subscribe
This is emonhub.log.
I can’t see any flash of LED on the RFM2Pi.
What about com_baud, in my case is set to 38400.
Hi,
I saw that there is a warning about device communication error in emonhub.log, it could be the problem concern no input?
What about that warning? There is a problem with RFM2Pi?
Thank you.
I’m using a RFM69Pi - 433Mhz board with the emonSD image pre-build purchased together the Emonbase
I can’t see any flash of LED on the RFM2Pi.
What about com_baud? in my case is set to 38400.
This is emonhub.log.
2017-02-13 12:17:22,168 WARNING MainThread Device communication error - check settings
2017-02-13 12:17:22,169 INFO MainThread Setting RFM2Pi frequency: 433 (4b)
2017-02-13 12:17:23,170 INFO MainThread Setting RFM2Pi group: 210 (210g)
2017-02-13 12:17:24,172 INFO MainThread Setting RFM2Pi quiet: 0 (0q)
2017-02-13 12:17:25,174 INFO MainThread Setting RFM2Pi baseid: 5 (5i)
2017-02-13 12:17:26,176 INFO MainThread Setting RFM2Pi calibration: 230V (1p)
2017-02-13 12:17:27,178 DEBUG MainThread Setting RFM2Pi subchannels: ['ToRFM12']
2017-02-13 12:17:27,179 DEBUG MainThread Interfacer: Subscribed to channel' : ToRFM12
2017-02-13 12:17:27,179 DEBUG MainThread Setting RFM2Pi pubchannels: ['ToEmonCMS']
2017-02-13 12:17:27,179 DEBUG MainThread Interfacer: Subscribed to channel' : ToRFM12
2017-02-13 12:17:27,180 INFO MainThread Creating EmonHubMqttInterfacer 'MQTT'
2017-02-13 12:17:27,181 INFO MainThread MQTT Init mqtt_host=127.0.0.1 mqtt_port=1883 mqtt_user=emonpi
2017-02-13 12:17:27,183 DEBUG MainThread MQTT Subscribed to channel' : ToEmonCMS
2017-02-13 12:17:27,183 INFO MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2017-02-13 12:17:27,184 DEBUG MainThread emoncmsorg Subscribed to channel' : ToEmonCMS
2017-02-13 12:17:27,284 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:27,285 INFO MQTT Could not connect...
2017-02-13 12:17:28,388 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:28,389 INFO MQTT Could not connect...
2017-02-13 12:17:29,491 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:29,493 INFO MQTT Could not connect...
2017-02-13 12:17:30,594 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:30,595 INFO MQTT Could not connect...
2017-02-13 12:17:31,697 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:31,699 INFO MQTT Could not connect...
2017-02-13 12:17:32,801 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:32,903 INFO MQTT Connecting to MQTT Server
2017-02-13 12:17:32,905 INFO MQTT connection status: Connection successful
2017-02-13 12:17:32,906 DEBUG MQTT CONACK => Return code: 0
2017-02-13 12:17:33,007 INFO MQTT on_subscribe
That’s the correct baud rate. All looks correct from the logs.
Is the LED on the emonTx flashing once every 5s.
Does the LED on the RFM69Pi light up for a few seconds when power is first connected to the emonBase?
Update: I see you have ordered an emonBase and emonTx shield, have you verified you have attached the RF module correctly. Please could you send an image showing the top and bottom of the assembled emonTx shield.
What sketch firmware are you running on the emonTx shield?
The very first line of the log says there is a comms problem with the serial port but the preceeding (missing) lines would have told us what port address and baud were being used.
What model of Pi are you using?
Can you confirm the rfm2pi board is connected correctly to the top ten pins and that the underside of the rfm2pi’s antenna is not touching the unused gpio pins.