node-red-matter icon indicating copy to clipboard operation
node-red-matter copied to clipboard

Possible to use when nodered runs in docker?

Open andrasg opened this issue 1 year ago • 4 comments

Is it possible to use this while nodered is running in docker? I wasn't able to add my accessory defined using this plugin to the iOS Home app. I tried mapping a static udp port into the docker container and specifying it in the Matter server config, but still no luck.

Does the communication need broadcast to work? If yes, any other way than to run the nodered container with host networking?

andrasg avatar Jan 20 '24 13:01 andrasg

I thought mdns was the issue, got mdns sorted out using an mdns-repeater, but of course this is not enough, as the advertised service's address is on the bridged docker network... my phone sitting on the lan can't find a way to that network.

andrasg avatar Jan 20 '24 13:01 andrasg

I never attempted to make this run on Docker, I'm unable to help unfortunately.

FezVrasta avatar Jan 20 '24 14:01 FezVrasta

Should work with docjker in Host mode or macvlan

Apollon77 avatar Jan 22 '24 12:01 Apollon77

Confirmed. I was able to succesfully configure a docker container. macvlan mode for the network. NodeRED 3.1.5

Configured ports:

1880:1880
5440:5440 udp

5440 was chosen because of Alexa.

willi-d avatar Feb 19 '24 21:02 willi-d