pimatic-emon

Energy monitoring using the blinky led

Usage no npm install needed!

<script type="module">
  import pimaticEmon from 'https://cdn.skypack.dev/pimatic-emon';
</script>

README

pimatic emon plugin

Reading the diy Energy Monitoring service called emon and showing values in pimatic. emon is a cheap diy '555 timer chip based circuit' taped to the flashing light of your energy meter (electricity and/or gas), a little bit of Python and a node.js RESTful service. More on emon can be found here

alt tag

v0.1

Configuration

Make sure the files are installed in the node_modules/pimatic-emon folder

Add the plugin to the plugin section of your config.json:

{
  "plugin": "emon"
}

Add a device to the devices section:

{
  "id": "emon",
  "class": "EmonDevice",
  "name": "Electric Energy",
  "ip": "192.168.2.50",
  "port": "12345",
  "username": "testuser",
  "password": "testpassword",
  "interval": 5000,
  "meterid": 27
}

ip = IP-address of the emon server (can be on the same Pi but can also be located elsewhere on the W3)

interval = time between readings in milliseconds

have fun!

  • 0.2.0 Initial release
  • 0.3.0 Added meter identifier (meter id), added 'device-config-schema.coffee' to package.json