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.rct

v1.2.14

Published

RCT Power photovolatics power converter

Downloads

75

Readme

Logo

ioBroker.rct

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

Libraries.io dependency status for GitHub repo

NPM

Tests: Test and Release

RCT adapter for ioBroker

Please note that this is a private project and that I (Andreas Ruttkamp) am not related to RCT in any way. Read values of a RCT Power photovoltaics power converter.

REMARKS

By using the "RCT Elements" field, one may select which data shall be read from the power converter. If nothing is entered here, default will be used:

"battery.bat_status,battery.soc,battery.soc_target,battery.soc_target_high,battery.soc_target_low,dc_conv.dc_conv_struct[0].p_dc_lp,dc_conv.dc_conv_struct[1].p_dc_lp,fault[0].flt,fault[1].flt,fault[2].flt,fault[3].flt,g_sync.p_ac_grid_sum_lp,g_sync.p_ac_load_sum_lp,g_sync.p_ac_sum_lp,g_sync.p_acc_lp,g_sync.u_sg_avg[0],g_sync.u_sg_avg[1],io_board.s0_external_power,power_mng.is_heiphoss,power_mng.state,power_mng.u_acc_mix_lp,prim_sm.island_flag"

Other elements can be found in the code (file "rct/rc_core2.js"). Since this is not self descriptive, use at own risk!

The object "battery.bat_status" indicates the status of a connected battery:

  • 0 -> charge/discharge (normal operation)
  • 1 -> idle (no CAN-connection inverter -> battery)
  • 3 -> connecting (inverter -> battery)
  • 5 -> synchronizing (inverter -> battery)
  • 8 -> calibrating - charging phase (0% --> 100%)
  • 1024 -> calibrating - discharge phase (xx% --> 0%)
  • 2048 -> balancing

The object "inverter_state" indicates the status of the inverter

  • 0 -> 'Standby'
  • 1 -> 'Initialization'
  • 2 -> 'Standby'
  • 3 -> 'Efficiency (debug state for development purposes)'
  • 4 -> 'Insulation check'
  • 5 -> 'Island check (decision where to go - grid connected or island)'
  • 6 -> 'Power check (decision if enougth energy to start or not)'
  • 7 -> 'Symmetry (DC-link alignment)'
  • 8 -> 'Relays test'
  • 9 -> 'Grid passive (inverter get power from grid without bridge clocking)'
  • 10 -> 'Prepare battery passive'
  • 11 -> 'Battery passive (off-grid)'
  • 12 -> 'Hardware test'
  • 13 -> 'Grid feeding'

Known Issues

None

Changelog

1.2.14 (2024-09-13)

  • (Andreas Ruttkamp) removed .npmignore

1.2.13 (2024-07-17)

  • (NCIceWolf) Added multiple debugging messages
  • (NCIceWolf) Corrected debug messages to be shown as debug, not info
  • (NCIceWolf) corrected connection abortion if not successfully established
  • (NCIceWolf) elements from inverter are only requested once a connection is successfully established
  • (NCIceWolf) added requested and received elements to/from inverter to debug logging
  • (NCIceWolf) merged recent dependabot suggestions
  • (Andreas Ruttkamp) Dependabot suggested updates
  • (Andreas Ruttkamp) some Code cosmetics

1.2.12 (2024-07-03)

  • (Andreas Ruttkamp) Dependabot suggested updates
  • (NCIceWolf) Improving connectivity to inverter

1.2.11 (2024-06-28)

  • (NCIceWolf) mistyping corrected

1.2.10 (2024-06-28)

  • (NCIceWolf) stability improvements for data connection to inverter
  • (Andreas Ruttkamp) some code corrections

1.2.9 (2024-05-17)

  • (Andreas Ruttkamp) wrong type for next_calib_date corrected

1.2.8 (2024-05-16)

  • (NCIceWolf) Implementation of new adminUI
  • (Andreas Ruttkamp) index_m.html deleted
  • (Andreas Ruttkamp) Datatype battery_stack_cycles corrected
  • (NCIceWolf) style.css deleted (not needed for json admin)
  • (NCIceWolf) removed tab-materialize (leftover from initial adapter creation)
  • (NCIceWolf) updated minimum js-controller version to >= 5.0.0
  • (NCIceWolf) added minimum admin version to >= 5.0.0
  • (NCIceWolf) prepared translations for adminUI

1.2.7 (2024-05-05)

  • (Andreas Ruttkamp) prim_sm.state added
  • (NCIceWolf) handling of type errors added
  • (Andreas Ruttkamp) some Code cleaning
  • (NCIceWolf) Update io-package.json

1.2.6 (2024-05-03)

  • (Andreas Ruttkamp) unused parameter deleted

1.2.5 (2024-05-02)

  • (Andreas Ruttkamp) misspelling in rct_core2 corrected
  • (Andreas Ruttkamp) Missing ack:true added ( issue:#89)
  • (Andreas Ruttkamp) datatypes corrected ( issue:#106)
  • (NCIceWolf) changes to correct loosing connection ( issue:#114 )

1.2.4 (2024-02-09)

  • (Andreas Ruttkamp) adapter not running in 1.2.3 - fixed

1.2.3 (2024-02-09)

  • (Andreas Ruttkamp) prim_sm.state added
  • (Andreas Ruttkamp) states for battery added
  • (Andreas Ruttkamp) output of data points power_mng.soc_min and soc_min_island corrected

1.2.2 (2023-09-13)

  • (Andreas Ruttkamp) data type for power_mng.bat_next_calib_date corrected
  • (Andreas Ruttkamp) data type for battery.stack_cycles[x] corrected

1.2.1 (2023-09-13)

  • (Andreas Ruttkamp) configured rct elements will now be used correctly ( in 1.2.0 only power_mng.bat_next_calib_date was read)

1.2.0 (2023-09-11)

  • (Andreas Ruttkamp) connection state corrected when adapter is stopped
  • (Andreas Ruttkamp) dependancies updated

1.1.7 (2023-08-30)

  • (Andreas Ruttkamp) connection state corrected

1.1.6 (2023-08-23)

  • (Andreas Ruttkamp) rct_core.js deleted (now rct_core2 is used)
  • (Andreas Ruttkamp) parameters in default setting deleted
  • (Andreas Ruttkamp) min. Node 18

1.1.5 (2023-08-18)

  • (Andreas Ruttkamp) Fix: crash reading UInt8 corrected
  • (Andreas Ruttkamp) some cleaning actions

1.1.4 (2023-08-18)

  • (Andreas Ruttkamp) Fix: proofments corrected.

1.1.3 (2023-08-18)

  • (Andreas Ruttkamp) Fix: more data checks implemented

1.1.2 (2023-08-17)

  • (Andreas Ruttkamp) Fix: adapter crashes

1.1.1 (2023-08-17)

  • (Andreas Ruttkamp) data for g_sync.p_ac_load[0-2] / dc_conv.dc_conv_struct[0-1].u_sg_lp added
  • (Andreas Ruttkamp) more parameters added
  • (Andreas Ruttkamp) date conversions fixed
  • (Andreas Ruttkamp) conversions of percentages fixed
  • (Andreas Ruttkamp) instance crash if data failure fixed

1.0.5 (2023-07-29)

  • (Andreas Ruttkamp) some internal work
  • (Andreas Ruttkamp) preparation for new admin
  • (Andreas Ruttkamp) dependecies update

1.0.4 (2023-04-24)

  • (Andreas Ruttkamp) Release Script added and update dev-components
  • (Andreas Ruttkamp) Preparation of new backend

1.0.3 (2023-03-30)

  • (Andreas Ruttkamp) Release Script added and update dev-components

1.0.1

  • (Markus Lauff) fixing review comments - thanks to Apollon77

1.0.0

  • (Markus Lauff) 0.0.6 version proved stable and fulfilling minimal functional requirements, so releasing it as version 1.0.0 for productive usage

0.0.6

  • (Markus Lauff) adding further channels/states, major stability improvements

0.0.5

  • (Markus Lauff) some fixes / minor improvements

0.0.1

  • (Markus Lauff) initially bare minimum working release

License

MIT License

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.

Copyright (c) 2024 Andreas Ruttkamp [email protected]