Digitaldan
New member
- Joined
- Dec 22, 2024
- Messages
- 4
Hi, not sure where the best place to post this, so i'll start here.
I'm a developer over at openHAB, a large open source smart home project. We are trying to troubleshoot stability issues with the WiiM (specifically i'm testing a couple WiiM pros) which has been reported by a couple of different users.
Our UPnP stack relies on devices sending a NOTIFY packet before their advertised max age time expires (30 mins for the WiiM). This is standard practice i believe for UPnP compatible devices. It seems like the WiiM does not do this, and so unless we specifically send M-Search requests to the device, it eventually expires out of our registration database. We have tried adding a periodic search for devices before they expire, but watching over several hours (24) the WiiM will occasionally not response to a M-SEARCH packet which targets it's UUID, like:
```
M-SEARCH * HTTP/1.1
ST: uuid:FF98F09C-C0D7-589B-C27C-XXXXXXXXXX
HOST: 239.255.255.250:1900
MX: 3
MAN: "ssdp:discover
```
We send out 5 of these over a short time frame each time we search, but again, occasionally it just won't respond to any of them, so eventually our UPnP stack looses the device.
Before we start writing more workarounds for this device, i thought i would ask here if @WiiM Support had any thoughts on something we may be missing, or if this might be something that could be added (sending a regular NOTIFY message) to the firmware?
The WiiM line of products are great. We have a substantial user base which uses Sonos, but the WiiM is a very viable replacement for that and i foresee this quickly gaining in popularity this year as people look to replace those, myself included ;-)
I'm a developer over at openHAB, a large open source smart home project. We are trying to troubleshoot stability issues with the WiiM (specifically i'm testing a couple WiiM pros) which has been reported by a couple of different users.
Our UPnP stack relies on devices sending a NOTIFY packet before their advertised max age time expires (30 mins for the WiiM). This is standard practice i believe for UPnP compatible devices. It seems like the WiiM does not do this, and so unless we specifically send M-Search requests to the device, it eventually expires out of our registration database. We have tried adding a periodic search for devices before they expire, but watching over several hours (24) the WiiM will occasionally not response to a M-SEARCH packet which targets it's UUID, like:
```
M-SEARCH * HTTP/1.1
ST: uuid:FF98F09C-C0D7-589B-C27C-XXXXXXXXXX
HOST: 239.255.255.250:1900
MX: 3
MAN: "ssdp:discover
```
We send out 5 of these over a short time frame each time we search, but again, occasionally it just won't respond to any of them, so eventually our UPnP stack looses the device.
Before we start writing more workarounds for this device, i thought i would ask here if @WiiM Support had any thoughts on something we may be missing, or if this might be something that could be added (sending a regular NOTIFY message) to the firmware?
The WiiM line of products are great. We have a substantial user base which uses Sonos, but the WiiM is a very viable replacement for that and i foresee this quickly gaining in popularity this year as people look to replace those, myself included ;-)