GithubHelp home page GithubHelp logo

dan1-de / iobroker.anelhut Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 9.61 MB

Adapter to connect the NET-PwrCrtl devices of ANEL Electronic AG with iobroker

License: MIT License

Dockerfile 0.10% JavaScript 55.95% HTML 5.59% CSS 0.81% TypeScript 37.55%
iot relais smarthome

iobroker.anelhut's People

Contributors

dan1-de avatar mcm1957 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

iobroker.anelhut's Issues

No connection to Anel-Hut

Hi,

I use the actual Version of the anel adapter (1.08) now with the actual iobroker Version (5.1.23). In the previous version it worked fine.
I have now a problem connecting to Anel-Hut (FW 7.1). The correct data for device name, device IP, UDPSendPort, UDPRecievePort, user name and password are stored in the instance. However, no connection is made. There is an error in the log: UDP Server Error: Error: bind EACCES 0.0.0.0:77 at dgram.js: 338: 20 at processTicksAndRejections (internal / process / task_queues.js: 85: 21)

My Node.js: v12.22.0 on a Rasbipi 4

Unable to connect to NET-PwrCtrl PRO

Describe the bug
I'm unable to get a connection to my NET-PwrCtrl PRO Version PRO 3.0 DE established

To Reproduce
Steps to reproduce the behavior:

  1. Enabled UDP connectivity
  2. Oddly I can configure a password specifically for UCP communication but there is seemingly no user linked to it
  3. Try all the combinations of users and/or passwords
  4. No connection can be established

Expected behavior
I'd love to see some way of establishing a connection to the hardware and controlling all eight outputs.

Versions:

  • Adapter version: 1.0.8
  • JS-Controller version: 4.0.15
  • Node version: 14.19.0
  • Operating system: Debian 10 buster

Don't work with js-controller

Describe the bug
After upgrading to js-controller 5.09 from 4.06 the adapter dont start anymore

Screenshots & Logfiles
2023-07-28 22:39:47.955 - error: anelhut.0 (3447) undefined is not a valid state value
2023-07-28 22:39:47.956 - error: anelhut.0 (3447) 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().
2023-07-28 22:39:47.956 - error: anelhut.0 (3447) unhandled promise rejection: undefined is not a valid state value
2023-07-28 22:39:47.956 - error: anelhut.0 (3447) Error: undefined is not a valid state value
at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17)
at Anelhut._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5386:49)
at Anelhut.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5347:21)
at Anelhut.setDeviceProperties (/opt/iobroker/node_modules/iobroker.anelhut/build/main.js:211:14)
at async Anelhut.UpdateHutData (/opt/iobroker/node_modules/iobroker.anelhut/build/main.js:107:9)

Versions:

  • Adapter version:
  • JS-Controller version: 5.0.9
  • Node version: v16.15.1
  • Operating system: ubuntu 22.04

No object structure created

After installing the first entry in the device list device is shown under Objects as a 1-liner with no structure.

Log shows device found and full information record retrieved but no corresponding object structure created.

Anel 1
Anel 2
Anel 3

Not working on Home V.3 - Firmware-Version: HOME 4.6

Describe the bug
I have installed the anelhut adapter on my iobroker.
I have done the standard configuration as also configured on my Anel Net Power Control Home.
I can connect over the web interface without any problems.

But on iobroker I can not connect and get the following errors in the log:

Adapter anelhut starting..
Found: 1 devices in configuration
Found device in config: test | 192.168.....
Adapter anelhut initialized
**UDP Server Error: Error: bind EACCES 0.0.0.0:77
at dgram.js:338:20
at processTicksAndRejections (internal/process/task_queues.js:85:21)**
check user admin pw iobroker: true
check group user admin group admin: false

the user I configured is admin and has all the rights

Is the adapter really working on HOME ?

You are assigning a number to the state ... which expects a boolean.

javascript.0 2022-10-25 18:25:18.241 warn at processTimers (node:internal/timers:502:7)
javascript.0 2022-10-25 18:25:18.241 warn at listOnTimeout (node:internal/timers:561:11)
javascript.0 2022-10-25 18:25:18.241 warn at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1747:29)
javascript.0 2022-10-25 18:25:18.241 warn at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1689:20)
javascript.0 2022-10-25 18:25:18.240 warn You are assigning a number to the state "anelhut.0.Technikraum.relais.7.Status" which expects a boolean. Please fix your code to use a boolean or change the state type to number. This warning might become an error in future versions.

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.