dan1-de / iobroker.anelhut Goto Github PK
View Code? Open in Web Editor NEWAdapter to connect the NET-PwrCrtl devices of ANEL Electronic AG with iobroker
License: MIT License
Adapter to connect the NET-PwrCrtl devices of ANEL Electronic AG with iobroker
License: MIT License
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
Version: stable=1.0.13 (69 days old) => latest=1.0.14 (67 days old)
Installs: stable=24 (58.54%), latest=6 (14.63%), total=41
Click to edit
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:
Expected behavior
I'd love to see some way of establishing a connection to the hardware and controlling all eight outputs.
Versions:
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:
Version: stable=1.0.13 (32 days old) => latest=1.0.14 (30 days old)
Installs: stable=17 (50%), latest=6 (17.65%), total=34
Click to edit
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 ?
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. |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.