ioBroker.unifi icon indicating copy to clipboard operation
ioBroker.unifi copied to clipboard

Disabling PoE for a port causes error "Cannot set properties of undefined (setting 'poe_mode')"

Open chrispi68 opened this issue 2 years ago • 17 comments

When I change port-per-enabled to "False", I get this error:

[switchPoeOfPort site undefined] error: Cannot set properties of undefined (setting 'poe_mode'), stack: TypeError: Cannot set properties of undefined (setting 'poe_mode') at Unifi.switchPoeOfPort (/opt/iobroker/node_modules/iobroker.unifi/main.js:1051:62)

Enabling or disabling PoE power does not work. The error appears only once in the log, although I have tried several times to disable or enable PoE without success.

Adapter version: 0.6.3 Unify Controller: V 7.3.83 (current version) Unify Device: UniFi OS UDM SE 3.0.13

chrispi68 avatar Feb 13 '23 09:02 chrispi68

same here :-(

Adapter version: 0.6.3 Unify Controller: V 7.3.83 (current version) Unify Device: UniFi OS UDM SE 3.0.18

luetty avatar Apr 05 '23 11:04 luetty

and same here.

Adapter version: 0.6.4 Unify Controller: V 7.3.83 (current version) Unify Device: UniFi OS UDM SE 3.0.20

QualityAgileFlow avatar May 13 '23 13:05 QualityAgileFlow

Still not working? I have the exact same error when i try to disable POE for a Port

xtraxion avatar Sep 09 '23 14:09 xtraxion

Still not working?

As the issue is still open, the problem is still not solved and its no surprise that you can reproduce it. I cannot tell when a developer who has access to a testing environment has time ti check / fix this.

Everybode is welcome to provide a PR.

mcm1957 avatar Sep 09 '23 15:09 mcm1957

cannot tell when a developer who has access to a testing environment has time ti check / fix this.

In this case, the feature should be removed because it costs a lot of time to find out, that it does not work.

I know, the developers are working for free, but the basic functionality should be present.

chrispi68 avatar Sep 09 '23 15:09 chrispi68

cannot tell when a developer who has access to a testing environment has time ti check / fix this.

In this case, the feature should be removed because it costs a lot of time to find out, that it does not work.

I know, the developers are working for free, but the basic functionality should be present.

This too requires a developer to do it :-)

mcm1957 avatar Sep 09 '23 15:09 mcm1957

This too requires a developer to do it :-)

In this case, this project is dead.

chrispi68 avatar Sep 09 '23 15:09 chrispi68

This too requires a developer to do it :-)

In this case, this project is dead.

Feel free to go ahead and join the project and fix and enhance the project to your liking. Complaining is always easy, taking initiatives is the hard part!

jens-maus avatar Sep 09 '23 17:09 jens-maus

Feel free to go ahead and join the project and fix and enhance the project to your liking. Complaining is always easy, taking initiatives is the hard part!

This is not about complaining. The point is that no one feels responsible for this GitHub repository and users think that it is maintained. If needed, I would be happy to add a note to the readme file.

chrispi68 avatar Sep 09 '23 19:09 chrispi68

This project is maintained as you can see in the commit logs. Probably not enough for your personal feeling, but this is not the most relevant point here. And no, just changing the README is not what we are interested in, thus come back if you have more knowhow to share than just complains..

jens-maus avatar Sep 09 '23 19:09 jens-maus

This project is maintained as you can see in the commit logs. Probably not enough for your personal feeling, but this is not the most relevant point here. And no, just changing the README is not what we are interested in, thus come back if you have more knowhow to share than just complains..

Your statement is a disgrace to all software testers.

chrispi68 avatar Sep 09 '23 19:09 chrispi68

This project is maintained as you can see in the commit logs. Probably not enough for your personal feeling, but this is not the most relevant point here. And no, just changing the README is not what we are interested in, thus come back if you have more knowhow to share than just complains..

Your statement is a disgrace to all software testers.

As yours' is for all developers investing lot of their free time into free software for others.

But lets come back to the point: If there is a bug and it is well reproducible then simply keep this issue ticket open here and if a developer feels it is important / relevant enough he will fix it.

jens-maus avatar Sep 09 '23 19:09 jens-maus

As yours' is for all developers investing lot of their free time into free software for others.

No, I am just reporting a bug and answering questions like "Still not working?I have the exact same error when i try to disable POE for a Port" from other users.

But lets come back to the point: If there is a bug and it is well reproducible then simply keep this issue ticket open here and if a developer feels it is important / relevant enough he will fix it.

As you may know, software development is an interplay between developers and testers and participation in discussions. If you don't like that, you haven't understood open source software development.

chrispi68 avatar Sep 09 '23 19:09 chrispi68

As yours' is for all developers investing lot of their free time into free software for others.

No, I am just reporting a bug and answering questions like "Still not working?I have the exact same error when i try to disable POE for a Port" from other users.

Understood.

But lets come back to the point: If there is a bug and it is well reproducible then simply keep this issue ticket open here and if a developer feels it is important / relevant enough he will fix it.

As you may know, software development is an interplay between developers and testers and participation in discussions. If you don't like that, you haven't understood open source software development.

Well, looking at yours' and mine GitHub profile tells me a different story. But as said, lets stop this. I will have a look at that issue if time permits it.

jens-maus avatar Sep 09 '23 20:09 jens-maus

Great, thank you guys. I wish I had the skills to do my part on this or other projects. But that’s way ahead of what I can do.

xtraxion avatar Sep 09 '23 20:09 xtraxion

Just a hint, if you want to deactivate PoE o ports you have to go into Unifi controller and change the port to manual mode otherwise it will not work! For me it works perfectly, switching poE Power on ports on and off every moring and evening.

Pino72 avatar Dec 30 '23 12:12 Pino72

grafik

Pino72 avatar Dec 30 '23 12:12 Pino72