alexryd / node-shellies

Handles communication with Shelly devices
MIT License
35 stars 13 forks source link

addMembership EINVAL #6

Closed BobFrankston closed 3 years ago

BobFrankston commented 4 years ago

Trying to understand this message and how to fix it.

alexryd commented 3 years ago

I assume you have found the answer to this question by now.

BobFrankston commented 3 years ago

The problem is in the CoAP package which seems to assume only one address per interface and gets an error when there are additional ones. I patch around it for now since my fix is just to put a try / catch around the problematic code and that's not the proper implementation. But the CoAP project itself hasn't responded to the bug report.

Good thing that it is patchable.