EMONCMS + EMONTX

Hi,

  I have a emontx that called for SPI to my raspberry PI.

  I called MOSI (EmonTX) with MOSI (Raspberry)
  I called MISO (EmonTX) with MISO (Raspberry)
  I called CLK (EmonTX) with CLK (Raspberry)

  The problem is that the site http://localhost/emoncms
  I can not get communication with emontx

I get the following error:

No inputs created

 

Inputs is 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.

To connect up a NanodeRF:

1) Download and open the NanodeRF_multinode firmware.

2) Set line 83 to: char apikey[] = "56da45901e3e269ccf3ae308f66240ed";

3) Upload the firmware to your NanodeRF.

 

 

Best Regards

TrystanLea's picture

Re: EMONCMS + EMONTX

Hello ruiserra. Excuse me if I have misunderstood but the emontx is not designed to interface with the raspberry PI  with a direct SPI connection so this will not work.

The emontx is designed to transmit the monitored data via the onboard wireless transceiver to a listening RFM12PI board that is connected to the RaspberryPI with a serial tty type connection. Have a read through the guide and associated pages for more information on how the standard system is put together: http://openenergymonitor.org/emon/guide

If you did want to interface the emontx to the raspberry pi via SPI this should be possible, but you will need to write custom emontx firmware and raspberry pi software for it to work. Could be cool to see, A good challenge?

Trystan

joelgg's picture

Re: EMONCMS + EMONTX

Hi TrystanLea,

I also get the same message: 

"No inputs created

Inputs is 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 also have this message: "RFM12 to Pi interface script is up and running"

My system is built as followed:

Raspberry Pi with RFM12Pi

EmonTX Shield + Arduino

    - The code inside the Arduino is the one special for the EmonTX shield found on this link: "https://github.com/openenergymonitor/emonTxFirmware/tree/master/emonTxShield"

    - I used the EmonLib found on the same account : "https://github.com/openenergymonitor/EmonLib"

 

Also, I get the following output from the Serial monitor on the Arduino IDE:

"emonTX Shield CT123 example

OpenEnergyMonitor.org
Node: 10 Freq: 433Mhz Network: 210
10219 10171 0 10162
42 43 0 377
34 29 0 378
32 28 0 367
31 28 0 378
6 4 0 385
17 14 0 369
24 15 0 374
23 18 0 385"

 

The light on my RFM12Pi just blinks once, at booting. 

I don't know how to check if there is communication between the RFM12Pi and the EmonTX shield. And how can I fix the problem on the top?

Thanks a lot!

Joel

 

P.S: You might want to check the link "http://emoncms.org/site/docs/identifyinginputs" since its down.

 

 

 

 

Robert Wall's picture

Re: EMONCMS + EMONTX

Trystan says the provider had problems earlier today. Emoncms.org is now up but responding slowly.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.