Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

iobroker.discovergy

0.5.0 • Public • Published

alt text alt text Number of Installations Number of Installations NPM version Downloads Greenkeeper badge

ioBroker.discovergy

This is an ioBroker adapter for your Discovergy Power meassurement meter. It uses the Discovergy API to read data of your meters and syncronise it's current values to ioBroker.

https://api.discovergy.com/docs/

Please feel free to add issue for your wanted funktionality or problems you see so i can take a look at it !

Remark : I dont have all possbile devices and also the demo-account does not provide all existing values devices can provide. If you receive the following error :

			Information received from Discovergy which is not yet part of this adapter"
			"Send this information to developer : xxxxx

Please go to your logfile and download it, create an issue here on github with the provided values. Do not copy-paste from Admin webinterface, information is missing here which i need !

You can test this adapter by using the demo credentials of discovergy (or with your own :-)): username = demo@discovergy.com pass = demo

Support me

If you like my work, please feel free to provide a personal donation
(this is an personal Donate link for DutchmanNL, no relation to the ioBroker Project !)
Donate

Changelog

0.5.0

  • (Dutchman) Rewrite adapter to class and support JS-Controller 2.0 with compact mode
  • (Dutchman) Rebuild complete logic of data pulling
  • (Dutchman) Variable JSON-Array scan for attributes, if Discovergy adds new devices they will be visible immidiatly
  • (Dutchman) For new Devices : Write error for unknwon states but create device with basic information

0.4.9 Fix wrong readings and make intervall adjustable

  • (Dutchman) Implemented adjustable intervall
  • (Dutchman) Ensure propper reset to 0 of power values
  • (Dutchman) Fix "-" values for power delivery
  • (Dutchman) implement adjustable timing intervall
  • (Dutchman) make state names configurable
  • (Dutchman) update attr library
  • (Dutchman) code cleanup

0.4.4 ALPHA version of rebuilded adapter

  • (Dutchman) Rewrite adapter to class and support JS-Controller 2.0 with compact mode
  • (Dutchman) Rebuild complete logic of data pulling
  • (Dutchman) Variable JSON-Array scan for attributes, if Discovergy adds new devices they will be visible immidiatly
  • (Dutchman) For new Devices : Write error for unknwon states but create device with basic information
  • (Dutchman) implement data pulling (needs improvement to avoid block by provider)
  • (Dutchman) ensure split values for consumption and delivery
  • (Dutchman) make state attributes configurable in library

0.4.0 Stable Release

  • small code fixes
  • updated dependecys
  • release for stable repository

0.3.2

  • Improved logging
  • Seperate supported object definitions from hard code main.js to configuration file "/lib/supported_objects.js"

0.3.1

  • Stop adapter when username/password is empty and write error message
  • Fixed incorrectly created states, time-stamps are also correctly shown now

0.3.0

  • Implemented encrypted password storage
  • Fixed issue with polling of states (this should fix "connection failed" of version 0.2.9)
  • Correct error message in LOG when credentials are missing

0.2.9

  • implemented intervall short and long, only relevant information (current consumption) is pulled short alle other (totals) on interval Long
  • Implemented additional datapoints for Power, Power_x_Consumption and Power_x_Delivery, the power value can have a positive and negative number depending of if u consumer or produce for the network. Seperate - and + values to seperated datapoints.
  • Pull intervall can be configured in Adapter settings
  • Small code fixes

0.2.6

  • (Dutchman) new version published on NPM
  • (Dutchman) installation now possible by ioBroker Admin
  • (AlCalzone) code reviewd, several fixes
  • (AlCalzone) fixed dependency with package request

0.2.5

  • (Dutchman) Please remove all current objects within tree discoververgy.x, version 0.2.5 introduce device creation by serial number !
  • (Dutchman) Changed object tree of device from meterId to sererialnumber, please not this means all vallue are now in a different tree
  • (Dutchman) Implemented multiple meter support
  • (Dutchman) implemented "info" object which provides basic information of the device
  • (Dutchman) Implemented all values which are available by demo-account of discovergy
  • (Dutchman) Remark : not all possbile devices are in the demo, if a device cannot be handled you will get an error message i need that information to implement !
  • (Dutchman) Reduced logging

0.2.2

  • (Dutchman) add support for values voltage1, voltage1 & voltage3
  • (Dutchman) add support for values power1, power2

0.2.0

  • (Dutchman) reduced logging from every 3 seconds to only error if values are received which cannot be handled
  • (Dutchman) last time step of syncronisation added, currenlty unix time needs to be converted in next release

0.1.0

  • (Dutchman) first working release, data is received every 3 seconds

0.0.3

  • (Dutchman) initial release

Contributors

  • AlCalzone
  • zoernert

License

MIT License

Copyright (c) 2019 Dutchman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Install

npm i iobroker.discovergy

DownloadsWeekly Downloads

48

Version

0.5.0

License

MIT

Unpacked Size

156 kB

Total Files

18

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar