Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pimatic-volkszaehler

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pimatic-volkszaehler

Volkszaehler plugin

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

pimatic volkszaehler plugin

Volkszaehler plugin enables connecting the volkszaehler.org smart meter application to pimatic automation server.

Plugin Configuration

You can load the plugin by editing your config.json to include:

{
	"plugin": "volkszaehler",
	"middleware": "http://127.0.0.1/middleware.php", // url of the volkszaehler middleware
	"interval": 60 // Polling interval. Inherited from plugin if not defined.
	"mode": ["push", "pull"] // Update mode. Default is pull
}

The middleware url is needed to retrieve the volkszaehler installation's capabilities, especially the entity type definitions.

NOTE currently, volkszahler master branch does not contain the needed patches to push data to pimatic. Make sure that

"mode": "pull"

as long as you're running a Volkszaehler version with API version <= 0.3

Device Configuration

Devices are linked to volkszaehler channels by specifying the class, middleware and uuid properties:

...
"devices": [
{
	"id": "home-bezug",
	"name": "Kanal 1",
	"class": "Volkszaehler",
	"uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"
	// optional attributes - inherited from plugin if not defined
	"middleware": "http://127.0.0.1/middleware.php", // Url of the device's middleware
	"mode": ["push", "pull"] // Update mode
	"interval": 60 // Polling interval if mode == pull
},
...

As middleware can be configured per device, multiple volkszaehler installations can be connected as long as their capabiltiies match. If middleware is not configured, it will be inherited from the plugin settings.

Keywords

FAQs

Package last updated on 25 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc