Code Monkey home page Code Monkey logo

pyenergenie-mqtt's Introduction

pyenergenie-mqtt

Mashing together pyenergenie and mqtt.

I really like the OpenEnergyMonitor's emonCMS project for ingesting and display energy (gas/eletricity) information. BUT their open hardware was overkill for my residential setup which only has one feed [and no solar]. I also liked Energenie's hardware, but their mihome4u.co.uk site/software was lacking in features and extensibility. So, with this project I was able to merge the hardware of Energenie mi|home with OpenEnergyMonitor's emonCMS. It takes the pyenergenie Python module and mashes it up with MQTT, where the emonCMS mqtt_input service picks up the input data to use in the feeds. I can also then use Node Red to further mash-up the MQTT data feeds.

Requirements:

Installation:

  1. Use git clone https://github.com/webash/pyenergenie-mqtt to copy the repo onto your machine. I use somewhere like /shared/ to do so.
  2. Change into the directory of the pyenergenie-mqtt repo, and run git submodule init then git submodule update
  3. Use the setup_tool.py in pyenergenie\src to update/produce your registry.kvs, and put it in the working diretory that you'll be running pyenergenie-mqtt from. If you're going to use the default, it will be /shared/pyenergenie-mqtt/
  4. Check the configuration at the top of the python is as you like it (this will be moved to a configuration file at some point)
  5. Run the python interactively first, to make sure it works - you should see things landing in MQTT/emonCMS if all is going well
  6. Follow the systemd installation instructions in the top of the .service file
  7. Boom! Energenie/MQTT middleware!

Not yet implemented properly:

  • Receiving messages from MQTT to push back to the energenie devices

pyenergenie-mqtt's People

Contributors

webash avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jamesmelville

pyenergenie-mqtt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.