npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.mbus

v2.7.0

Published

MBus Adapter

Downloads

188

Readme

Logo

ioBroker.mbus

======================

Number of Installations (latest) Number of Installations (stable) NPM version

Test and Release Translation status Downloads

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

This adapter for ioBroker connects to a M-Bus Master via TCP or serial to provide the status and details of connected M-Bus devices.

Description of parameters

Gateway IP / TCP Port

IP address and port of the M-Bus Master/Gateway when using TCP.

Serial port / baud rate

Serial Port and Baud rate of M-Bus Master/Gateway.

Update Interval

Interval in Seconds to update the data. Default (if empty) is 3600s (1h). Consider how the devices on the M-Bus bus are powered to prevent draining batteries. If you set the interval to 0 then the device is read only once on adapter start, but then no longer automatically.

Device IDs

You can use primary (1-250) and secondary (16 characters long) M-Bus IDs

How to read the Device on request?

In the created states for each device one state exists called "updateNow". When you set this to true (as control action with ack=false) the device is updated immediately. If an interval is configured the interval restarts after the data are received.

Todo

  • encrypted payload handling (if needed by anyone)

How to report issues and feature requests

Please use GitHub issues for this.

Best is to set the adapter to Debug log mode (Instances -> Expert mode -> Column Log level). Then please get the logfile from disk (subdirectory "log" in ioBroker installation directory and not from Admin because Admin cuts the lines). If you do not like providing it in GitHub issue you can also send it to me via email ([email protected]). Please add a reference to the relevant GitHub issue AND also describe what I see in the log at which time.

Changelog

2.7.0 (2024-04-05)

  • (Apollon77) Add IPv6 support for TCP connections
  • (Apollon77) Fixed baudrate 1200 for Windows (2400 was used before)

2.6.1 (2023-11-25)

  • IMPORTANT: Node.js 16.x is now required at least
  • (Apollon77) Upgrade dependencies

2.5.0 (2023-08-11)

  • IMPORTANT: Node.js 14.x is now required at least
  • (Apollon77) Update dependencies to also support Node.js 20

2.4.0 (2022-06-30)

  • IMPORTANT: Node.js 12.x is now required at least
  • (Apollon77) Several updates and optimizations

2.3.4 (2021-03-07)

  • (Apollon77) Send a reset to the device before reading data

2.3.2 (2021-02-27)

  • (Apollon77) Prevent crash case(Sentry IOBROKER-MBUS-H)

2.3.1 (2020-10-30)

  • (Apollon77) Prevent crash case (Sentry IOBROKER-MBUS-F)

2.3.0 (2020-08-02)

  • (Apollon77) mbus library updated

2.2.3 (2020-07-26)

  • (Apollon77) crash prevented (Sentry IOBROKER-MBUS-C)

2.2.2 (2020-07-23)

  • (Apollon77) crash prevented (Sentry IOBROKER-MBUS-B)

2.2.1 (2020-06-30)

  • (Apollon77) prevent crash (Sentry IOBROKER-MBUS-7)

2.2.0 (2020-04-13)

  • (Apollon77) make compatible with nodejs 13+

2.1.6 (2020-04-12)

  • (Apollon77) update dependencies

2.1.5 (2020-03-08)

  • (Apollon77) update dependencies

2.1.4 (2020-02-08)

  • (Apollon77) optimize adapter stop logic to prevent crashes (again)

2.1.3 (2020-02-05)

  • (Apollon77) optimize adapter stop logic to prevent crashes
  • (Apollon77) Switch Sentry to iobroker own instance hosted in germany

2.1.0 (2019-12-18)

  • add compact mode
  • move to more flexible serial port configuration
  • add Sentry for error reporting

2.0.0 (2019-10-16)

  • (lvogt) BREAKING CHANGE better handling for values with changing scaling based on the value - maybe incompatible with old values!
  • (lvogt) add setting to force kWh values for energy

1.1.1 (2018-12-10)

  • (Apollon77) make sure adapter is not communicating too fast at the beginning

1.1.0 (2018-05-06)

  • (bluefox) Error tolerance
  • (apollon77) Fix Admin

0.1.8 (2018-04-03)

  • (apollon77) fix config dialog

0.1.7 (2018-04-02)

  • (apollon77) allow to set "0" as update interval that will cause in no automatic updates, so only manually using updateNow is possible.

0.1.6 (2018-03-26)

  • (apollon77) disconnect/reconnect for each query

0.1.5 (2018-03-26)

  • (apollon77) update to node-mbus 0.5 with shorter timeouts

0.1.4 (2018-03-26)

  • (apollon77) add "updateNow" states to all devices to trigger manual update
  • (apollon77) update to node-mbus 0.4.1 with shorter timeouts

0.1.2

  • (apollon77) official released version

0.0.1

  • (apollon77) initial release for testing

License

The MIT License (MIT)

Copyright (c) 2018-2024 Apollon77 [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.