09-18-2024, 07:40 PM
(09-18-2024, 03:42 PM)Tim Curtis Wrote: Try this patch. It addresses the following bugs:
- FIX: Manually added radio logo thumb saved to wrong directory
- FIX: Currentsong.txt file not being updated correctly for renderers
- FIX: HTML entities in metadata being displayed as text
- FIX: Remove broken Interface line in Audio section of System info
Code:wget -q -O - https://moodeaudio.org/test/r910patch_multi.sh | sudo bash
Thanks, this was an amazingly fast fix. Everything works now as expected.
If someone else has similar needs I put some Home Assistant details in this post.
To create a binary sensor in Home Assistant put the following in your configuration.yaml and replace moode.local with your IP or hostname:
Code:
rest
- resource: "http://moode.local/command/?cmd=get_currentsong"
scan_interval: 15
binary_sensor:
- name: "Moode Audio is playing"
device_class: running
value_template: >
{% if value_json.outrate == "Not playing" %}
False
{% elif value_json.outrate == "" %}
False
{% else %}
True
{% endif %}