Giter Site home page Giter Site logo

doggi / iobroker.kostal-piko-mp-plus Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 4.9 MB

ioBroker Adapter - Integrate your Kostal PIKO MP plus

License: MIT License

JavaScript 15.09% HTML 7.05% TypeScript 77.86%
iobroker iobroker-adapter kostal kostal-piko-mp-plus piko-mp-plus

iobroker.kostal-piko-mp-plus's Introduction

Logo

ioBroker.kostal-piko-mp-plus

NPM version Downloads Number of Installations Current version in stable repository Dependency Status NPM Test and Release

kostal-piko-mp-plus adapter for ioBroker

This adapter uses the XML interface of your Kostal PIKO MP PV system and provides the device information as well as the measured values.

Installation

Please use the "adapter list" in ioBroker to install a stable version of this adapter. You can also use the CLI to install this adapter:

iobroker add kostal-piko-mp-plus

Documentation

πŸ‡ΊπŸ‡Έ Documentation

πŸ‡©πŸ‡ͺ Dokumentation

Supported values

Supported Values

Developer manual

The device information and measured values are provided by the XML interface http://host/all.xml.

XML Data interfaces description

Changelog

0.0.4 (2022-07-06)

  • (Doggi) Retries in case of error added with setting option
  • (Doggi) set connection status to false when response code isnt 200
  • (Doggi) log message "refreshing states" now in debug log
  • (ekoschmi) adding support for Piko 1.5-1 MP Plus
  • (ekoschmi) adding Yield State (total produced)
  • (ekoschmi) resetting fail count on successful connection

0.0.3 (2022-06-08)

  • (Doggi) switch interval to timeout
  • (Doggi) deleting from states without values are removed

0.0.2 (2022-06-06)

  • (Doggi) update docs
  • (Doggi) change admin config - use now select instead of text input for protocol
  • (Doggi) change api endpoint to all.xml (before measurements.xml)
  • (Doggi) remove Adapter Check warnings
  • (dependabot[bot]) Bump typescript from 4.5.5 to 4.7.2
  • (dependabot[bot]) Bump @iobroker/adapter-react from 2.0.22 to 2.1.0
  • (dependabot[bot]) Bump ts-node from 10.7.0 to 10.8.0 (#2)
  • (dependabot[bot]) Bump @typescript-eslint/eslint-plugin from 5.22.0 to 5.27.0 (#3)
  • (Doggi) fixed state names
  • (Doggi) Settings separated
  • (Doggi) add Server Ip validation
  • (Doggi) Init refresh states
  • (Doggi) removed admin/src from npm lint command
  • (Doggi) Admin 4 UI with no support
  • (Doggi) emove admin code. because we use jsonConfig.js
  • (Doggi) move gimp file to admin folder
  • (Doggi) changed email
  • (Doggi) remove "Test the adapter manually with dev-server"
  • (Doggi) implement polling xml api & create/update state
  • (Doggi) added states mapper and state interface
  • (Doggi) add wip comment
  • (Doggi) define default values for options
  • (Doggi) add gimp logo file
  • (Doggi) change logo
  • (Doggi) add test/, src/, tsconfig.json, tsconfig.build.json, to .npmignore
  • (Doggi) add .npmignore
  • (Doggi) add options and translation
  • (dependabot[bot]) Bump @types/react-dom from 17.0.16 to 18.0.3
  • (Doggi) change repository url to https
  • (Doggi) remove get started from readme
  • (Doggi) initial release

License

MIT License

Copyright (c) 2022 Doggi [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.kostal-piko-mp-plus's People

Contributors

dependabot[bot] avatar doggi avatar ekoschmi avatar

Stargazers

 avatar

Watchers

 avatar

iobroker.kostal-piko-mp-plus's Issues

TypeError: Cannot read properties of undefined (reading 'value')

Describe the bug
So, when i tried out the adapter I get an error, meaning that there is an undefined object and that it cant read its properties.

To Reproduce
Steps to reproduce the behavior:

  1. Setting Options
  2. Start Adapter

Expected behavior
In the debug output i encountered, that the last state it can read was "measurements.acpowerfast". The next state should be "measurements.dcvoltage1" and after a look at the original "all.xml" of my inverter, i noticed, that my inverter got only "measurements.dcvoltage" because it has only one single string.

Screenshots & Logfiles
2022-07-03 11:02:37.192 - debug: kostal-piko-mp-plus.0 (30999) found state measurements.acpowerfast - 607.4
2022-07-03 11:02:37.195 - debug: kostal-piko-mp-plus.0 (30999) try to convert 607.4 to number
2022-07-03 11:02:37.210 - error: kostal-piko-mp-plus.0 (30999) set connection state to false
2022-07-03 11:02:37.212 - error: kostal-piko-mp-plus.0 (30999) unexpected error: TypeError: Cannot read properties of undefined (reading 'value')

Versions:

  • Adapter version: v0.0.3
  • JS-Controller version: 4.0.23
  • Node version: v16.15.1
  • Operating system: debian/docker

Additional context
So for me it looked like, there is an compatibility issue and the adapter was made for another model of the inverter. I got a Kostal Piko MP Plus 1.5-0 with only on DC String.

I will work on that!

timeout

Hello,
i have this error message: timeout of 5000ms exceeded
Can you help me?

Thank you

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.