Giter VIP home page Giter VIP logo

iobroker.hp-ilo's Introduction

Logo

ioBroker.hp-ilo

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

Number of Installations Number of Installations NPM version Downloads

NPM

Tests: Linux/Mac: Travis-CI Windows: AppVeyor

HP ILO adapter for ioBroker

Reads temperature data of Hewlett-Packard servers with Integrated Lights-out (ILO) into ioBroker.

Supporting ILO interfaces from V2 upwards.



Changelog

1.0.6 (2020-07-14)

  • (SebastianSchultz) Changed test scripts

1.0.5 (2019-11-11)

  • (SebastianSchultz) Changed test scripts

1.0.1 (2019-01-21)

  • (SebastianSchultz) Added compact mode

1.0.0 (2018-04-15)

  • (SebastianSchultz) First release

0.0.1 (2018-04-01)

  • (SebastianSchultz) initial commit

License

The MIT License (MIT)

Copyright (c) 2020 Sebastian Schultz.

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.hp-ilo's People

Contributors

apollon77 avatar germanbluefox avatar sebastianschultz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iobroker.hp-ilo's Issues

Did't see temperature

the adapter creates objects in the system.adapter.hp-ilo.0 folder. I have to enable the display of system objects. And they have no temperature.

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/SebastianSchultz/ioBroker.hp-ilo

  • [E104] No common.titleLang found in io-package.json
  • [E144] common.installedFrom field found in io-package.json. Must be removed.
  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json
  • [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2022 Sebastian Schultz [email protected]" at the end of README.md

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

HP ILO Adapter installed v1.0.5 but installs 0.0.1

Hi,
i have installed the HP ILO Adapter installed v1.0.5 but it installs in v 0.0.1 now i see a Adapter Update to 1.0.5 it runns but after Update version is still 0.0.1 and wants to update the Adapter.

The Installation shows no error.
Is the version number in 1.0.5 wrong (0.0.1)
So iobroker wants to update it over and over again?
Ore do i need somthing special to install 1.0.5?
$ ./iobroker upgrade hp-ilo Update hp-ilo from @0.0.1 to @1.0.5 NPM version: 6.13.4 npm install [email protected] --loglevel error --prefix "/opt/iobroker" (System call) upload [3] hp-ilo.admin /opt/iobroker/node_modules/iobroker.hp-ilo/admin/words.js words.js application/javascript upload [2] hp-ilo.admin /opt/iobroker/node_modules/iobroker.hp-ilo/admin/index_m.html index_m.html text/html upload [1] hp-ilo.admin /opt/iobroker/node_modules/iobroker.hp-ilo/admin/index.html index.html text/html upload [0] hp-ilo.admin /opt/iobroker/node_modules/iobroker.hp-ilo/admin/hp-ilo.png hp-ilo.png image/png Adapter "hp-ilo" updated process exited with code 0

iobrokerhpilo

iobrokerhpilo2

Adapter legt keine Objekte an

Hallo, bei mir legt der Adapter keine Objekte an. Neustart / Neuinstallation bringen nichts. Zugangsdaten sind defintiv richtig, Adapter wird grün.

Adapter liefert keine Max werte

Moin an sich bekommt er seine Werte aber die Max werte will er sich nicht ziehen.
auch der Infos Status steht immer auf false
`

       
hp-ilo.0 2018-04-20 15:56:32.921 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.921 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.920 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.920 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.920 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.920 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.919 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.919 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.919 debug Current Reading > 0
hp-ilo.0 2018-04-20 15:56:32.461 info Ready. Configured HP ILO: 192.168.2.8
hp-ilo.0 2018-04-20 15:56:32.459 info starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.hp-ilo, node: v6.14.1
hp-ilo.0 2018-04-20 15:56:32.354 debug statesDB connected
hp-ilo.0 2018-04-20 15:56:32.335 debug objectDB connected
hp-ilo.0 2018-04-20 15:56:29.993 info terminating

`

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

If something is not correct this is logged as 'warning' or 'info' log.

Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1301

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/SebastianSchultz/ioBroker.hp-ilo

  • [E144] common.installedFrom field found in io-package.json. Must be removed.
  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json
  • [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2021 Sebastian Schultz [email protected]" at the end of README.md

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Warnings js-controller 3.3.5 and Admin 5.x

Hi, since js-controller 3.3.5 and Admin 5.x are these errors there:
`

hp-ilo.0 2021-05-02 10:54:32.013 warn (35954) Read-only state "hp-ilo.0.fans.Fan_6" has been written without ack-flag with value "21"
hp-ilo.0 2021-05-02 10:54:32.013 warn (35954) Read-only state "hp-ilo.0.fans.Fan_5" has been written without ack-flag with value "21"
hp-ilo.0 2021-05-02 10:54:32.012 warn (35954) Read-only state "hp-ilo.0.fans.Fan_4" has been written without ack-flag with value "21"
hp-ilo.0 2021-05-02 10:54:32.012 warn (35954) Read-only state "hp-ilo.0.fans.Fan_3" has been written without ack-flag with value "21"
hp-ilo.0 2021-05-02 10:54:32.012 warn (35954) Read-only state "hp-ilo.0.fans.Fan_2" has been written without ack-flag with value "21"

`

Please check ioBroker.hp-ilo with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

Error since js-controller Update 3.3.8

Hi,

I have Errors in this Adapter since I update the js-controller to version 3.3.8:

hp-ilo.0 2021-05-05 17:18:57.673 error (62741) The id "temperatures.33-PCI_3_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.673 error (62741) Error: The id "temperatures.33-PCI_3_Zone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Ada hp-ilo.0 2021-05-05 17:18:57.672 error (62741) unhandled promise rejection: The id "temperatures.33-PCI_3_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.672 error (62741) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). hp-ilo.0 2021-05-05 17:18:57.671 error (62741) The id "temperatures.32-PCI_2_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.671 error (62741) Error: The id "temperatures.32-PCI_2_Zone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Ada hp-ilo.0 2021-05-05 17:18:57.670 error (62741) unhandled promise rejection: The id "temperatures.32-PCI_2_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.670 error (62741) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). hp-ilo.0 2021-05-05 17:18:57.669 error (62741) The id "temperatures.31-PCI_1_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.669 error (62741) Error: The id "temperatures.31-PCI_1_Zone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Ada hp-ilo.0 2021-05-05 17:18:57.668 error (62741) unhandled promise rejection: The id "temperatures.31-PCI_1_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.668 error (62741) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). hp-ilo.0 2021-05-05 17:18:57.636 error (62741) The id "temperatures.33-PCI_3_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.636 error (62741) Error: The id "temperatures.33-PCI_3_Zone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Ada hp-ilo.0 2021-05-05 17:18:57.635 error (62741) unhandled promise rejection: The id "temperatures.33-PCI_3_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.634 error (62741) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). hp-ilo.0 2021-05-05 17:18:57.634 error (62741) The id "temperatures.32-PCI_2_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.633 error (62741) Error: The id "temperatures.32-PCI_2_Zone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Ada hp-ilo.0 2021-05-05 17:18:57.633 error (62741) unhandled promise rejection: The id "temperatures.32-PCI_2_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.632 error (62741) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). hp-ilo.0 2021-05-05 17:18:57.630 error (62741) The id "temperatures.31-PCI_1_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.630 error (62741) Error: The id "temperatures.31-PCI_1_Zone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Ada hp-ilo.0 2021-05-05 17:18:57.627 error (62741) unhandled promise rejection: The id "temperatures.31-PCI_1_Zone." is invalid. Ids are not allowed to end in "." hp-ilo.0 2021-05-05 17:18:57.626 error (62741) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().

I have try to uninstall and reinstall the ilo-adapter, but no luck.

adapter doesn't start (iLO5)

hi, are there any prerequisites to get the adapter running ?
i want the data from my DL380 Gen10 (iLO5) in iobroker, but the adapter light stays red and i get the following error:

host.iobroker | 2020-07-18 21:59:13.199 | info | Restart adapter system.adapter.hp-ilo.0 because enabled
-- | -- | -- | --
host.iobroker | 2020-07-18 21:59:13.199 | error | instance system.adapter.hp-ilo.0 terminated with code 0 (OK)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at process._tickCallback (internal/process/next_tick.js:63:19)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at endReadableNT (_stream_readable.js:1125:12)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at IncomingMessage.emit (events.js:194:15)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at IncomingMessage.<anonymous> (C:\ioBroker\node_modules\iobroker.hp-ilo\node_modules\request\main.js:278:54)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at Request.emit (events.js:189:13)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at Request.<anonymous> (C:\ioBroker\node_modules\iobroker.hp-ilo\node_modules\request\main.js:290:21)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at Request.callback (C:\ioBroker\node_modules\iobroker.hp-ilo\hp-ilo.js:52:3)
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: at C:\ioBroker\node_modules\iobroker.hp-ilo\hp-ilo.js:75:58
Caught | 2020-07-18 21:59:13.199 | error | by controller[0]: TypeError: Cannot read property 'replace' of undefined
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at process._tickCallback (internal/process/next_tick.js:63:19)
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at endReadableNT (_stream_readable.js:1125:12)
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at IncomingMessage.emit (events.js:194:15)
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at IncomingMessage.<anonymous> (C:\ioBroker\node_modules\iobroker.hp-ilo\node_modules\request\main.js:278:54)
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at Request.emit (events.js:189:13)
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at Request.<anonymous> (C:\ioBroker\node_modules\iobroker.hp-ilo\node_modules\request\main.js:290:21)
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at Request.callback (C:\ioBroker\node_modules\iobroker.hp-ilo\hp-ilo.js:52:3)
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | at C:\ioBroker\node_modules\iobroker.hp-ilo\hp-ilo.js:75:58
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | TypeError: Cannot read property 'replace' of undefined
hp-ilo.0 | 2020-07-18 21:59:13.167 | error | uncaught exception: Cannot read property 'replace' of undefined
hp-ilo.0 | 2020-07-18 21:59:12.824 | info | Ready. Configured HP ILO: 192.168.222.2

Node.js: 10.15.3
NPM: 6.9.0
js-controller: 1.5.14
Platform: Windows
ilo-Adapter: 1.0.6

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/SebastianSchultz/ioBroker.hp-ilo

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

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.