Code Monkey home page Code Monkey logo

iobroker.mercury's Introduction

Logo

ioBroker.mercury

Donate Donate

Mercury adapter for ioBroker

Receiving data from electricity meters Mercury. Supports TCP / IP and Serial connections.

The following electricity meters are supported:

  • Mercury-200
  • Mercury-201
  • Mercury-206
  • Mercury-203
  • Mercury-203.2TD
  • Mercury-204
  • Mercury-208
  • Mercury-230
  • Mercury-231
  • Mercury-233
  • Mercury-234
  • Mercury-236
  • Mercury-238

Objects

RAW - sending a RAW command and receiving a response.
Command without address and CRC, bytes separated by space. Expample:
For 1 phase counter - Reading energy for the current month

32 0F

Returns a buffer as a string
"{"type":"Buffer","data":[0,14,31,155,50,7,0,99,0,255,255,255,255,255,255,255,255,255,255,255,255,127,86]}"

Changelog

100.0.0

  • (instalator) fixed preloader

0.1.5

  • (instalator) fixed a bug with polling multiple counters

0.1.4

  • (instalator) added frequency for 1 fase
  • (instalator) added powerQTotal for 1 fase
  • (instalator) added powerSTotal for 1 fase
  • (instalator) added cosfTotal for 1 fase
  • (instalator) change recconect

0.1.3

0.1.2

  • (instalator) fixed error serial memory

0.1.1

  • (instalator) fixed Unsigned value current
  • (instalator) fix for serial number > 240
  • (instalator) change recconect SerialPort
  • (instalator) refactoring

0.1.0

  • (instalator) beta

0.0.15

  • (instalator) fixed error Power

0.0.13

  • (SanSanysch) translate
  • (instalator) added translate
  • (instalator) added temperature, frequency, full power
  • (instalator) fix error

0.0.11

  • (instalator) added translate function (PLEASE HELP WITH THE TRANSLATION)
  • (instalator) fix error

0.0.10

  • (instalator) Added setting Polling period main parameters
  • (instalator) Added setting Polling period of non-main parameters
  • (instalator) Refactoring and fix error

0.0.8

  • (instalator) fixed error

0.0.4

  • (instalator) added unit for state

0.0.3

  • (instalator) added object send RAW command
  • (instalator) refactor and fix error

0.0.2

  • (instalator) added serial connect
  • (instalator) fixed many error

0.0.1

  • (instalator) initial release

License

The MIT License (MIT)

Copyright (c) 2020 instalator [email protected]

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.

iobroker.mercury's People

Contributors

instalator avatar

Watchers

 avatar  avatar

iobroker.mercury's Issues

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/instalator/ioBroker.mercury

I have also found warnings that may be fixed if possible.

  • [W171] "common.title" is deprecated in io-package.json
  • [W105] "common.titleLang" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W156] Adapter should support admin 5 UI (jsonConfig) if you do not use a React based UI
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W202] Version of package.json (100.0.0) doesn't match latest version on NPM (0.1.6)
  • [W513] "gulpfile.js" found in repo! Think about migrating to @iobroker/adapter-dev package

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

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.