knalli / homebridge-pilight

Accessory plugin for Homebridge allowing to manage and control pilight devices
MIT License
16 stars 3 forks source link

Connection error with nodejs 18 #68

Open RichiG88 opened 2 years ago

RichiG88 commented 2 years ago

Hello, with the new nodejs lts version 18, the default address for localhost is now ::1 (ipv6). But with this, the local pilight server is not reachable anymore. If you change to 127.0.0.1 instead of localhost it’s working again under nodejs 18.

thank you and best regards Richard

knalli commented 2 years ago

Hi @RichiG88 ,

looks like this one. I assume I have not to change anything here.

Beside that, I haven't tested the plugin against Pilight or Homebridge for some time since I'd migrated my stuff from Homebridge away. Nice to hear it still works so far.