GithubHelp home page GithubHelp logo

Comments (11)

dan1-de avatar dan1-de commented on June 30, 2024 1

Thank you for the logs.

I think I found the issue.
There is some code adaption needed.
I will give you feedback when the adaption was done and send you a url with the new adapter version for testing.

from iobroker.anelhut.

dan1-de avatar dan1-de commented on June 30, 2024

Hi @Xyolyp,

have you tried to use the default user/password ?
Username: admin
Password: anel

You can edit the credentials in the webinterface (Settings->User). Please use the first user (admin), because this user has all permissions.
With this credentials the udp communication should work.

from iobroker.anelhut.

dan1-de avatar dan1-de commented on June 30, 2024

You can check if you can recieve the udp broadcast on your debian computer with the following command:

netcat -vv -l -p 2078 -u

You have to replace 2078 with the port which is shown in the anel webinterface here:
image

After you have entered the command the computer is listening on udp broadcast traffic. If you change now one of the inputs/outputs of the anel device, you should recieve a message in the command line.

from iobroker.anelhut.

Xyolyp avatar Xyolyp commented on June 30, 2024

Thank you for the quick replies!
This is what my user settings dialog looks like. Notice the "Password for UDP Communication" at the bottom.
image

Using natcat I was able to receive the following message:

$ sudo netcat -vv -l -p 77 -u
listening on [any] 77 ...
192.168.55.48: inverse host lookup failed: Unknown host
connect to [192.168.55.33] from (UNKNOWN) [192.168.55.48] 75
NET-PwrCtrl:BUERO          :192.168.55.48:255.255.255.0:192.168.55.1:0.4.163.10.3.50:Switch Bro 1,1:Monitore auen,1:Nr. 3,0:Laptop,0:Lautsprecher,1:PC,1:Monitor Mitte,1:Tischlampe,0:33:80

Sadly in the object-tree I only get the Connected bool for the device and it stays false no matter which settings I tried:
image

from iobroker.anelhut.

dan1-de avatar dan1-de commented on June 30, 2024

Netcat looks good. Can you provide a screenshot of the iobroker anel adapter settings ?
Can you provide the iobroker logs of the adapter too (Iobroker-> Logs-> Filter source by anelhut.0 ?

from iobroker.anelhut.

Xyolyp avatar Xyolyp commented on June 30, 2024

Sure, firstly the config:
image
And the logs:
image

from iobroker.anelhut.

dan1-de avatar dan1-de commented on June 30, 2024

H @Xyolyp,

i implemented a bugfix.
You can install the new adapter version from this github url please and give me feedback:
https://github.com/dan1-de/ioBroker.anelhut/tarball/proV3

Version is 1.0.9.

Br,
Daniel

from iobroker.anelhut.

Xyolyp avatar Xyolyp commented on June 30, 2024

@dan1-de thank you so much reading data works now but writing sadly doesn't.
See the logs below:
image
If you'd like I can offer you to demonstrate anything over discord, teamviewer or whatever.

from iobroker.anelhut.

dan1-de avatar dan1-de commented on June 30, 2024

Hi @Xyolyp
can you try this command in linux shell please:

echo "Sw_on%relaisNumber%%user%%password%" | nc -4u %yourAnelIP% 75

for example:
echo "Sw_on2adminanel" | nc -4u 10.10.10.10 75
echo "Sw_off2adminanel" | nc -4u 10.10.10.10 75

If this commands are not working, then try without username and only with the password which is mentioned in the webinterface of your device at "Passwort fΓΌr die UDP Kommunikation".

for example:
echo "Sw_on%relaisNumber%%password%" | nc -4u %yourAnelIP% 75
echo "Sw_on2passwordxxx" | nc -4u 10.10.10.10 75

We can have a online session too.
Just contact me via email: [email protected]

Br,
Daniel

from iobroker.anelhut.

Xyolyp avatar Xyolyp commented on June 30, 2024

Hi @dan1-de ,

Sadly I had to remove the 4 from all commands as nc was telling me it is no valid parameter. None of the combinations I executed resulted in any change to any relais.

I'll shortly send an email your way.
Best regards,
Jonathan

from iobroker.anelhut.

Xyolyp avatar Xyolyp commented on June 30, 2024

After performing a firmware upgrade to the latest version published for my hardware (Firmware 4.2 for Hardware 3.0) the adapter seems to work as intended. I got the firmware update from: https://de.anel.eu/index.htm?src=/usb-deutsch/Update_FW_NET/firmware_net-pwrctrl.html and had to disable my desktops firewall to perform the firmware upgrade.

from iobroker.anelhut.

Related Issues (9)

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.