Raspberry Pi Gateway

 

Hi all,

 

I recently bought the Raspberry Pi Preloaded Base Station Gateway SD card, but I must confess that I do not understand all (in fact I was expecting a graphical interface ^^), my question is about emoncms, as the raspberry pi uses the SD card with the gateway that I bought, how and from what we launch emoncms ?

 

Hoping you can tell me, I shall be very grateful

Robert Wall's picture

Re: Raspberry Pi Gateway

You have the Gateway SD Card. That connects your RPi to emoncms.org, via your router and the Internet. You need to create an account at emoncms.org, then (when you program your read & write APIKey into the gateway) it will send the data received from your emonTx (etc) via the gateway, your router and the Internet to emoncms.org. You log in there and set up your Graphical Interface.

Did you think that emonCMS ran on your RPi? That can be done of course, but not successfully with an SD card, because they wear out and fail after weeks or a few months. You really need a spinning hard disk attached onto which you move pretty much everything, using the SD card only to boot.

seb38300's picture

Re: Raspberry Pi Gateway

thank you to you for your response it was a great help to me, just one last question for the raspberry pi sending data emoncms.org must configure the wifi, you know the command line to configure it?

Robert Wall's picture

Re: Raspberry Pi Gateway

The RPi expects a wired Ethernet connection to your router. I do not know the details of the Gateway SD setup, but I am reasonably certain it will not be set up to use WiFi. Normally, the wireless connection is between the emonTx (etc) and the RPi, and the RPi is located close to the router and uses a short Ethernet jumper to connect. 

If you need to search for more information about the Gateway, it is also known as the "rock solid" gateway/image. This post suggests you use a WiFi dongle http://openenergymonitor.org/emon/node/3887#comment-18624. Be sure to read the posts that follow also.

pb66's picture

Re: Raspberry Pi Gateway

Yes you can use a wifi dongle with the rocksolid gateway by installing wpasupplicant and wireless-tools, but be aware that the IPE-R1 software will break if you use upgrade. use

sudo apt-get update && sudo apt-get install wpasupplicant wireless-tools

BUT DO NOT USE SUDO APT-GET UPGRADE

seb38300's picture

Re: Raspberry Pi Gateway

Hi, it's me again

I have applied your advice to the letter, I finally opted for an ethernet connection,

my question is that there are changes made ​​to the emonTx?
Or is it preconfigure, simply connect the sensors to detect and it is emonTx send data directly to the Rpi?

Robert Wall's picture

Re: Raspberry Pi Gateway

The emonTx V3 should work straight away. It must of course be the same frequency (433 MHz or 868 MHz) as the wireless card on your RPi.

seb38300's picture

Re: Raspberry Pi Gateway

Hi, once will not hurt, I wonder about something, what is the "Node" menu in emoncms?

Robert Wall's picture

Re: Raspberry Pi Gateway

Click it and see!

(Read, then check Node API Help. Nothing will happen until you send some data.)

Comment viewing options

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