npm

iobroker.mercury

0.2.1 • Public • Published

Logo

ioBroker.mercury

Number of Installations Downloads NPM version Stable Tests

NPM

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

0.2.1 (2024-04-19)

  • (mcm1957) Adapter requires node.js >= 18 and js-controller >= 5 now
  • (mcm1957) Dependencies have been updated

0.1.6 (2023-03-21)

  • (foxriver76) prepare for new js-controller

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) 2024 iobroker-community-adapters iobroker-community-adapters@gmx.de Copyright (c) 2023 instalator vvvalt@mail.ru

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.

Readme

Keywords

Package Sidebar

Install

npm i iobroker.mercury

Weekly Downloads

11

Version

0.2.1

License

MIT

Unpacked Size

1.71 MB

Total Files

43

Last publish

Collaborators

  • mcm1957
  • pmant
  • matten-matten
  • simatec
  • dkleber89
  • foxriver76
  • raintonr
  • issi
  • ciddi89
  • dutchmannl
  • patrickwaltherh
  • ruhr70
  • arteck
  • apollon77
  • meistertr
  • prinzeisenherz1
  • bluefox
  • nisiode
  • alcalzone
  • zefau
  • algar42
  • garfonso
  • forelleblau
  • buzzy1337
  • pdbjjens
  • unclesamswiss
  • _shojo_
  • swedish.chef
  • thiemoh
  • sven-s-ter