Home  5  Books  5  GBEzine  5  News  5  HelpDesk  5  Register  5  GreenBuilding.co.uk
Not signed in (Sign In)

Categories



Green Building Bible, Fourth Edition
Green Building Bible, fourth edition (both books)
These two books are the perfect starting place to help you get to grips with one of the most vitally important aspects of our society - our homes and living environment.

PLEASE NOTE: A download link for Volume 1 will be sent to you by email and Volume 2 will be sent to you by post as a book.

Buy individually or both books together. Delivery is free!


powered by Surfing Waves




Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to new Forum Visitors
Join the forum now and benefit from discussions with thousands of other green building fans and discounts on Green Building Press publications: Apply now.




    • CommentAuthorSprocket
    • CommentTimeFeb 16th 2013
     
    Emoncms is the data analysis/display front end of Open Energy Monitor.

    Has anyone here run it on Windows?

    I know most folks here probably run it on Linux but I would prefer not to set up another box (my existing home server is Windows Home Server 2008).
    The instructions suggest it is possible on Windows but it looks a bit of a faff so I thought I would check before wasting much time on it.
    • CommentAuthorborpin
    • CommentTimeFeb 16th 2013
     
    Run it in a linux VM?
    • CommentAuthorSprocket
    • CommentTimeFeb 18th 2013 edited
     
    > Run it in a linux VM?

    Thanks. I considered that but it would still leave me with a Linux OS to admin and it would eat a fair bit of memory and HDD. This PC is my home server (15W, dual core Atom, 1GB memory, 20GB OS+Apps partition) and I like to keep it fairly lean.

    In the end I went ahead and installed WAMPserver on my Windows machine. It may well have been fine on XAMP or one of the other web authoring setups but WAMPserver is the one mentioned on the OEM pages. It didn't quite work out of the box but it only took a couple of minor tweaks and I learned a lot doing this (ie. it took me ages and a bit of cursing).

    Emoncms seems to be surprisingly versatile. I thought I should share what I learned for benefit of anyone else wondering about doing some of this:-

    emoncms is not a Windows program or a Linux program. It is all web software. It is entireley written (in PHP) to be hosted by a web server. It runs on a pretty standard web server. If you rent a server (eg. by subscribing to a hosting service) it comes with the right environment pre-installed.

    WAMP/LAMP/XAMP etc are standard web hosting environments (wikipedia has more details for interested) that provide Apache web server + SQL + PHP programming language to the web software. WAMP is windows, LAMP is Linux, XAMP is portable etc and there are many others too but they pretty much do the same thing.

    emoncms is a modular web package that is surprisingly pretty general purpose. It can accept numerical data from any number of sources, process that data, collect it into a long-term store, and you can set it up with your own designs of dashboard panels to display that data.

    So although used primarily to collect voltage and current data and display pretty dials of power usage and graphs of historical data it can probably just/almost as easily do the same for multiple temperatures, power factors, heating oil useage, PV output, biomass boiler on/off times, or how much you spend on ebay each month.

    Data is sent to the emoncms server application as web queries so pretty much anything that has internet access can log data to the collection. The server software will then automatically process and sort and store and display it.

    You can run emoncms on your own server. Or you can setup a free account on the global server on the internet at emoncms.org . Either way it is exactly the same software doing the work. The only difference is where you send the data. If it is a server on your own network (can be as simple as a rasperry Pi setup) then you have low latency access to it (so adding data at very short intervals is simple) and your data is stored locally too. If it is the emoncms.org server then your data is on the internet and easier to access from anywhere but latency is higher and less predictable so you probably don't want to rely on logging power updates at half second intervals.

    The Open Energy Monitor hardware part is a simple Arduino clone to take data from sensors (voltage, current, temperature etc) and periodically push it to the server as web queries. A web query is just a request to get data from a URL (web address) where the web address is constructed to include the data you want to send. The server strips the data from the URL, processes the data, and sends back an "OK" message. The rest of the smart stuff happens in the web server emoncms software and you can configure/setup all of that from web pages that let you link up all the data, do calculations, and design display panels.
    •  
      CommentAuthorSteamyTea
    • CommentTimeFeb 18th 2013
     
    I keep meaning to have a good look at the Emoncms site and see if it can do what I want, just need those 'spare' ten hours.
    • CommentAuthorborpin
    • CommentTimeFeb 19th 2013
     
    Had a look at it but not had the time to play. I do want to though! IIRC it will take 1 Wire sensors directly or via a secondary board linked wirelessly.
    • CommentAuthorSprocket
    • CommentTimeOct 18th 2013
     
    EmonCMS.org seems to have crashed?

    I started sending Temperature, Humidity, CO2 data to it yesterday. It was all working fine.
    Then after several hours the front end / dashboard site stopped responding.
    And shortly after that it stopped responding to data pushes too.

    It was looking quite promising for a while there.
    Is it generally reliable?
    • CommentAuthorSprocket
    • CommentTimeOct 19th 2013
     
    Well it seems to be back up again now
    I guess there is nobody else here using it.

    ST and any others here that are already logging anything into a computer that just happens to have a network/internet connection... I would certainly recommend giving emoncms a go. It is pretty well documented and fairly easy to get working once you have created the initial channels. And once it is up and running it is simple to edit a layout to choose what is displayed on your dashboard.
    •  
      CommentAuthorSteamyTea
    • CommentTimeOct 19th 2013 edited
     
    So could I put up my second by second (well 6 second) data from my RPi.
    That would be fun.

    Seems that someone has already sorted out the RPi stuff. Shall have to have a decent look soon.
    • CommentAuthorSprocket
    • CommentTimeOct 19th 2013
     
    6 seconds is probably pushing it a bit.
    I am sending data at 30 second intervals and that seems to work fine.

    I would have posted a link here to my test dashboard for folks to see but it doesn't seem to work properly.
    I made my dashboard public and published it but if I try to connect to that I just get a "Feed type or authentication not valid" message :-/
    • CommentAuthorWorcester
    • CommentTimeOct 27th 2013
     
    Why not run it on a Raspberry PI : works well for me, and costs diddly (SteamyTea will like that :) )
    Running costs of the Pi are diddly too.

    Got one Pi here that runs Emoncms, and my pywws weather station off a Maplin N96GY (wait till they are in the sale like now.. or Clas Ohlson - not in the sale at the moment)
    • CommentAuthorSprocket
    • CommentTimeOct 27th 2013
     
    Thanks Worcester. I have some PI on the shelf so I will probably give that a go.

    Alternatively, I did install it on a Windows machine a while ago just to play with so I could put it on my home server... but I don't know if I trust it's robustness enough to have it on the server so perhaps a PI is a good way to go.

    Thanks also for the weather station idea. I've been meaning to dabble with a weather station for some time. The Davis ones look very nice but I do definitely prefer the idea of cheap and home-brew and I am comfortable with Python so pywws looks very interesting. That Maplin kit looks a bargain to start messing about with.

    So now I am mainly missing just one important thing - can anyone tell me how to make some of this "spare time"?
    :-)
    •  
      CommentAuthordjh
    • CommentTimeOct 27th 2013
     
    Posted By: WorcesterMaplin N96GY

    I was intrigued to see what it was and Google also threw up the Maplin Replacement Wireless Weather Transmitter for N96FY/N96GY for £15, which may interest some:

    * Replacement transmitter for use with weather stations N96FY and N96GY
    * Includes built-in temperature and humidity sensor
    •  
      CommentAuthorSteamyTea
    • CommentTimeOct 28th 2013
     
    I have been waiting for some 433 MHz transmitters/receivers to turn up for a while now. Most weather stations and energy monitors seem to use these.
    Everyone I know that has a weather stations says they end up with a Davis in the end. I am not in a good location to install one (don't trust the Porthleven one as it is surrounded by high buildings).
    The great storm was not down here, think it went NE of me :cool:
    • CommentAuthorborpin
    • CommentTimeOct 28th 2013
     
    Those Maplin weather stations are not very accurate especially the rain. I think I had about 4m of rain last month! I have also had issues with one of the other web based monitoring programs. It seems the USB comms is a bit iffy and can easily get really confused. If it is working, leave it alone seems to be the rule!

    I might try Emoncms and pywws on my PI.
    • CommentAuthorborpin
    • CommentTimeOct 28th 2013
     
    Posted By: SprocketAlternatively, I did install it on a Windows machine a while ago just to play with so I could put it on my home server... but I don't know if I trust it's robustness enough to have it on the server so perhaps a PI is a good way to go.
    Just use a Virtual Machine. Works brilliantly.
    • CommentAuthorborpin
    • CommentTimeOct 29th 2013
     
    Posted By: WorcesterGot one Pi here that runs Emoncms, and my pywws
    Before I start down this path, can I check if you are passing the data from pywws into the Emoncms and if you started with an Emoncms image or a normal base Pi image? I am assuming you are using the Pi as your EmonBase.
Add your comments

    Username Password
  • Format comments as
 
   
The Ecobuilding Buzz
Site Map    |   Home    |   View Cart    |   Pressroom   |   Business   |   Links   
Logout    

© Green Building Press