Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

pimatic-emon

0.3.0 • Public • Published

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

Keywords

none

install

npm i pimatic-emon

Downloadsweekly downloads

19

version

0.3.0

license

none

homepage

d68.nl

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability