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 🙏

© 2026 – Pkg Stats / Ryan Hefner

iobroker.hoymiles-ms

v0.2.2

Published

This adapter integrates Hoymiles MS-A2 into ioBroker.

Readme

Logo

ioBroker.hoymiles-ms

NPM version Downloads Number of Installations (latest) Number of Installations (stable) Test and Release

License Donate


Sentry

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.


hoymiles-ms adapter for ioBroker

This adapter integrates the HOYMILES MicroStorage systems (currently only Hoymiles SM-A2) into ioBroker. A description of the device is available here.

Note that this adapter is not related to the company mentioned above in any way and that no commercial relationship exists at all.


Disclaimer

All product and company names or logos are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or any associated subsidiaries! This personal project is maintained in spare time and has no business goal.


Documentation

For detailed setup instructions, configuration guide, and comprehensive reference documentation:

Configuration

Configuration of the adapter

The adapter can be configured as a dedicated mqtt server or as a mqtt client (Note: client mode not yet implemented).

To operate as a mqtt server the following parameters must be configured:

  • mqtt network Specify the network to listen on. Normally listening on all networks (0.0.0.0) is sufficient.

  • mqtt port Specify to (tcp)port to use. As standard mqtt port (1883) might be occupied by ioBroker.mqtt adapter and port 1882 is used by the adapter ioBroker.shelly per default this adapter uses port 1881 per default. But you can use any free port.

Configuration of the Hoymiles MS-A2

To configure the Hoymiles MS-A2 unit open the S-Miles Home App. Select configuration page (using the gear icon on the upper right corner) and scroll down to 'MQTT-Service'. Enable MQTT Service and enter

  • Server Address the IP Address of the ioBroker system (when using mqtt server mode) or the address of your mqtt Broker
  • Port The port number configured for your mqtt broker
  • Optionally set a client prefix (default 'MSA')

This adapter currently does not yet support authentication. So this must be disabled.

Operation

Once the adapter is started it listens to mqtt packets received from the Hoymiles device. The adapter does not poll in any way - all activity is triggered by the Hoymiles unit. Note that configuration data is sent only once after connection has been established while realtime data is sent every second. Systemwide statistics is typically updated every five minutes. Note that these intervals are not configurable by the adapter - they are defined by the Hoymiles-Api.


If you like this adapter, please consider a donation:

paypal


Changelog

0.2.2 (2026-01-10)

  • (mcm1957) Subscription code has been fixed to allow operation with hoymiles mqtt v3.0
  • (mcm1957) NOTE: TOU topics are not yet supported and raising warnings currently.

0.2.1 (2026-01-09)

  • (mcm1957) ignore empty and invalid payloads. [#90]
  • (mcm1957) Dependencies have been updated

0.2.0 (2025-08-23)

  • (mcm1957) States are created dynamically now. So no states should be created if a system does not provide data for it (i.e slave micro storage).
  • (mcm1957) State values are reset during startup now to prevent stale information.
  • (mcm1957) Support to control power consumption and delivery has been added.
  • (mcm1957) Dependencies have been updated

0.1.2 (2025-08-03)

  • (mcm1957) Warnings raised from slave systems have been removed
  • (mcm1957) Dependencies have been updated

0.1.1 (2025-07-27)

  • (mcm1957) Handling of configuration has been corrected
  • (mcm1957) Translations have been adapted

0.1.0 (2025-07-26)

  • (mcm1957) initial release

License

MIT License

Copyright (c) 2025-2026 mcm1957 [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.