I have one Pi that has HASS OS on it and one with Rasbian.
So the group thing worked. I was able to easily add it to my Lovelace card and even changed the icon to show multiple speakers.
I set up a super basic automation so that every night at midnight it’ll “activate” the scene that I saved with all the speakers off. What I need to do is figure out how to give me a notification if the speakers have been one for 3 hours or something. Or, better yet, somehow figure out how to tell HA if anyone is currently connected via AirPlay to Shair-port sync and if not, then ping me and let me know “Your speakers have been on for 10 minutes and aren’t being used.” or something like that. So much easier said than done though - I can’t even figure out how to move my shade groups from configuration.yaml to groups.yaml without it giving me an error.
Okay so probably not to drag this thread out. I would suggest posting that as a new question in the forum as the main integration question has been sorted.
My thoughts would be having a wait action when a speaker turns on with a timeout of 3 hours (and continue on timeout) then when the wait expires send a notification. A choose action would probably work to allow a condition to test if the speaker is still on.
So I just checked my error logs and it’s LOADED with errors from this HTD integration. Haven’t changed anything that I know of, everything is working as expected.
I do have that as well. Personally I ignore it but changing the polling interval (or disabling it and setting a polling interval through an automation) may help minimize it. It could be that the script isn’t getting a timely response from the controller and thus returning empty results.
Not sure why it wouldn’t be doing that. Is it just a specific zone or all of them?
On a side-note I’ve “moved” my system over to using this custom integration Htd gw-sl1 / mc-66 - #104 by UngluedChalice" as it keeps the source and volume identifiers updated at “both” ends per se.
Thank for your help regarding this thread. I’m brand new to hass. I added all files to the custom_components/htd_lync12 folder and inserted the yaml code in the configuration folder via [https://github.com/UngluedChalice/htd-lync12-home-assistant.] When I go to restart HASS I’m getting the following error message.
"Failed to restart Home Assistant
The system cannot restart because the configuration is not valid: Integration error: htd_lync12 - Integration ‘htd_lync12’ not found"
Does anyone know what I’m doing wrong? I’m using the visual studio code server to make changes.
I was successful in integrating the meester files for 6 of my 12 zones. However, when I try to expand the switch and sensors file, I cannot simply continue adding the zones. There appears to be an index of some sort in the py files that I cannot find.
Anyone successful in expanding the meester files into a 12 zone setup?
I think what I did was make a full backup first. Then I deleted all the old files and yaml. Then I downloaded the files on Github and uploaded them and updated configuration.yaml
This integration has been working well, but with a recent update to Home Assistant, I’m starting to see these errors.
This error originated from a custom integration.
Logger: custom_components.htd_lync12.htd_lync12
Source: custom_components/htd_lync12/htd_lync12.py:172
Integration: HTD Lync12 Series
First occurred: 9:31:12 AM (594 occurrences)
Last logged: 9:43:47 AM
Update for Zone #6 failed.
Update for Zone #1 failed.
Update for Zone #2 failed.
Update for Zone #3 failed.
Update for Zone #4 failed.
and
Sent command for Zone #{zone_number} but got #{zone} → Cmd = {to_correct_string(cmd)} | Message = {to_correct_string(message)}
I’ve recently started seeing the same errors. I have this 1189277(!) times in my log:
Logger: custom_components.htd_lync12.htd_lync12
Source: custom_components/htd_lync12/htd_lync12.py:172
Integration: HTD Lync12 Series
First occurred: May 5, 2023 at 8:00:50 PM (1189277 occurrences)
Last logged: 10:29:48 AM
Update for Zone #3 failed.
Update for Zone #4 failed.
Sent command for Zone #7 but got #0 --> Cmd = 0x2,0x0,0x7,0x5,0x0,0xe | Message = 0x5,0x80,0x0,0x0,0x0,0xc,0xc5,0x0,0x0,0x0,0x64,0x2,0x0,0x0
Update for Zone #1 failed.
Update for Zone #7 failed.
ETA: I’m also seeing the related media player components randomly collapsing (having no controls), and then reappearing.
I had the same issue with mine after a month of it working fine. Suddenly controls started randomly showing “unknown” and then reappearing a few seconds later.
I didn’t know it was an issue, I tried deleting all the files and redoing everything, and now I keep getting “Integration error: htd_lync12 - Integration htd_lync12 not found”
I can’t get it to even accept the integration anymore.
Guys are you seeing this log message and do you know how to update the code?
Logger: homeassistant.components.media_player.const
Source: helpers/deprecation.py:222
integration: Media player (documentation, issues)
First occurred: 1:41:56 PM (5 occurrences)
Last logged: 1:41:56 PM
SUPPORT_SELECT_SOURCE was used from htd_lync12, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.SELECT_SOURCE instead, please report it to the author of the 'htd_lync12' custom integration
SUPPORT_TURN_OFF was used from htd_lync12, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.TURN_OFF instead, please report it to the author of the 'htd_lync12' custom integration
SUPPORT_TURN_ON was used from htd_lync12, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.TURN_ON instead, please report it to the author of the 'htd_lync12' custom integration
SUPPORT_VOLUME_MUTE was used from htd_lync12, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.VOLUME_MUTE instead, please report it to the author of the 'htd_lync12' custom integration
SUPPORT_VOLUME_SET was used from htd_lync12, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.VOLUME_SET instead, please report it to the author of the 'htd_lync12' custom integration