Where do I start ??

Hi,

 

I just ordered in all the latest gear:-

EmonTX3

Pi B+

RFM12PiV2_433

Preloaded SD card

 

I have looked everywhere, how do I get started. Is there a guide showing how to configure this for first time use?

I'm not sure how to setup the Emoncms monitoring even though I have created the account on the website.

I have SSH working.

Can someone point me in the direction I need to go.

 

Thanks,

Tony.

Robert Wall's picture

Re: Where do I start ??

http://openenergymonitor.org/emon/guide

But I assume you have already tried to follow this and failed, so a bit more information about how far you got and where you're stuck would help.

antsrealm's picture

Re: Where do I start ??

Yeah I did....

Lets start with Rpi. I put the RF module on and put the SD card in. Booted it and logged in via SSH. Since I have the preloaded version it looks like everything is ready to go.

What I cant find is where I enter the details linking up my Emoncms account for displaying the data and how to tell if it's going to do that locally or remotely to the server.

At this stage I want to use the online server to do the logging. Maybe later I'll run it locally.

This is where I am lost and cant find a clear indication of how to configure the server settings for my account.

 

Thanks,

Tony.

antsrealm's picture

Re: Where do I start ??

Ok, so I read this guide ...

http://emoncms.org/site/docs/raspberrypigateway

However I cant see the file oemgateway.conf but I do have /emonhub/conf/emonhub.conf

I open that and I have the following ...

#######################################################################
#######################        Reporters        #######################
#######################################################################
[reporters]

# This reporter sends data to emonCMS
[[emonCMS]]
    Type = EmonHubEmoncmsReporter
    [[[init_settings]]]
    [[[runtimesettings]]]
        url = http://localhost/emoncms
        apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Is this where I need so set up the URL and Apikey?

The guide says use the read write API key but I have a seperate key for read and another for write. Do I use teh write key?

And whats the url? ... http://emoncms.org ?

antsrealm's picture

Re: Where do I start ??

I found some more info and set the url and write key in emonhub.conf.

I have gone back to my account but cant see any inputs despite the emontx being connected to a circuit and 1m from the pi.

Do I need to do anything with emoncms.org to get the inputs to show up ?

antsrealm's picture

Re: Where do I start ??

Ok all good, found another guide and then realized I was changing the wrong conf file. It works now :)

Now to work out the dashboards. Can the be displayed nicely on an iphone? Or do you have to open them in a browser on your mobile device ?

Robert Wall's picture

Re: Where do I start ??

Yes, I agree the documentation is a little mixed up. Unfortunately, the RPi side development is going so fast it's hardly possible to keep up.

As far as emonCMS dashboards go, much the same applies. The best way is to dive in and experiment. As far as I know, some parts work on smartphones and there is ongoing work on an app, but as I don't own a smartphone I haven't taken much notice of it.

Comment viewing options

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