Recent content by twm

  1. T

    Incorrect Tidal Connect playback status over API

    upnp-client --pprint call-action http://WIIM_IP:49152/description.xml AVTransport/GetInfoEx InstanceID=0 | jq -r '.out_parameters.CurrentTransportState' does indeed work, thanks!
  2. T

    Incorrect Tidal Connect playback status over API

    Yeah, I tried that one, but couldn’t make it work. Some strange issue with jq parseing.
  3. T

    Incorrect Tidal Connect playback status over API

    OK thanks. I don’t know how to poll the UPnP interface using bash, any hints are greatly appreciated.
  4. T

    Incorrect Tidal Connect playback status over API

    I use curl -s --insecure https://WIIM_IP/httpapi.asp\?command\=getPlayerStatus | jq -r '.status' where WIIM_IP is the IP of the WiiM Pro unit to poll the current playback status. This works perfectly with Airplay, Spotify Connect, Chromecast and returns "play" or "stop", according to the...
  5. T

    WiiM Pro power consumption in "standby" and "idle" modes?

    In case anyone is interested: Using Wifi, the WiiM Pro uses about 1.7 Watts (both when playback is active and when the unit is idle).
  6. T

    WiiM Pro power consumption in "standby" and "idle" modes?

    I am also interested in power consumption in Watts, both for active playback and standby, but am not satisfied with answers of the style "It doesn't matter" or some speculation. I would be grateful if someone who owns a Wiim Pro and a Wattmeter measures the power consumption, so that we know...
  7. T

    Network traffic using Spotify Connect Client on WiiM Mini

    After some initial testing it looks like it may still not be entirely realiable (in the sense that the service stops working after a while). Many thanks nonetheless!
  8. T

    Network traffic using Spotify Connect Client on WiiM Mini

    curl -s --insecure https://LAN_IP/httpapi.asp\?command=getPlayerStatus | jq -r '.status' returns play or stop, depending of the status of the WiiM streamer. I'd like to have a similar functionality using upnp-client (so something like TRUE for playback and FALSE for idle/standby), but can't...
  9. T

    Network traffic using Spotify Connect Client on WiiM Mini

    I'm struggling to parse the output of async-upnp-client. For reasons I don't understand upnp-client subscribe http://LAN_IP:49152/description.xml RC AVTransport | jq '.state_variables.TransportState' shows me "PLAYING" if a new track starts, but nothing happens when I hit play/pause.
  10. T

    Network traffic using Spotify Connect Client on WiiM Mini

    I'm not a software engineer, but feel reasonably comfortable with python. Many thanks for pointing out this library!
  11. T

    Network traffic using Spotify Connect Client on WiiM Mini

    So I used curl and and jq to parse the resulting JSON output, but this has the disadvantage of the need for continuous polling, as mentioned above. So the possibility to let the WiiM mini notify my linux server of a status change sounds intriguing, but I would appreciate some additional infos on...
  12. T

    Network traffic using Spotify Connect Client on WiiM Mini

    That's too bad. Many thanks for your help though!
  13. T

    Network traffic using Spotify Connect Client on WiiM Mini

    Thank you, that's very helpful! Unfortunately there is only a self-signed certificate in use for the https request. This results in trouble when trying to expose the WiiM status in Apple Homekit via homebridge (more specifically the plugin homebridge-http-advanced-accessory). Are there plans to...
  14. T

    Network traffic using Spotify Connect Client on WiiM Mini

    I have my WiiM mini connected to an amplifier and I would like to turn on the amplifier automatically once music starts playing. This idea is to detect network traffic to the Wiim mini and if traffic is detected use an IR remote that is controlled via homebridge to turn on the amplifier. If I...
Back
Top