MQTT client

jlore

New member
Joined
Oct 19, 2023
Messages
3
There would be many use-cases for this, but one would be for controlling amplifiers/active speakers without 12v trigger inputs. The WiiM MQTT client could send messages equivalent to 12v trigger output and home automation systems could turn on/off smart power points feeding amplifier based on those messages.
 
Upvote 1
There would be many use-cases for this, but one would be for controlling amplifiers/active speakers without 12v trigger inputs. The WiiM MQTT client could send messages equivalent to 12v trigger output and home automation systems could turn on/off smart power points feeding amplifier based on those messages.
Bridge like https://www.npmjs.com/package/upnp-sub-mqtt could help a bit.
 
Have you had a look at this on github for integration with Home Assistant, produced by @onlyoneme?


From what I understand, the integration is using the WiiM web api, which is useful for sending commands to the WiiM. What is required to emulate the 12v trigger is for the WiiM to send a commandso it can be acted on by another system - ie. Home Assistant, a Shelly device or any other home automation component.
 
From what I understand, the integration is using the WiiM web api, which is useful for sending commands to the WiiM. What is required to emulate the 12v trigger is for the WiiM to send a commandso it can be acted on by another system - ie. Home Assistant, a Shelly device or any other home automation component.
Both web (http) api and upnp for both sending commands and receiving device states. Although with local polling only, so not suitable for immediate events.
 
Both web (http) api and upnp for both sending commands and receiving device states. Although with local polling only, so not suitable for immediate events.

Yes, that was my point, the 12v trigger equivalent needs to happen immediately.

edit: not familiar with UPnP in this context. I'll have to look in to it, but I still think MQTT support would open up a world of possibilities in home automation (in a way that's platform independent)
 
Yes, that was my point, the 12v trigger equivalent needs to happen immediately.

edit: not familiar with UPnP in this context. I'll have to look in to it, but I still think MQTT support would open up a world of possibilities in home automation (in a way that's platform independent)
That's why I suggested upnp-mqtt bridge in absence of the mqtt client running on the WiiM.
 
Back
Top