Is it possible to modify this blueprint so that it does not create logs entries for any zigbee device associated with the zigbee2mqtt base topic.
The blueprint generates logs for devices that it is not associated with. I understand that this is due to the way that the automation is created to avoid using a device id, however it is undesirable to have this automation create logs for all devices.
Can you advise how to stop this automation from matching mqtt messages and creating logs from devices that it isn’t associated with?
Just to help me understand, which logs are you referring to?
It probably is as you say, relating to the way the device is selected, however, my automations using the blueprint don’t trigger when other Z2M MQTT devices send messages so I think there’s a difference perhaps to your experience?
Hi. I have a feature wish I would like to set the max volume level that can be set using the remote. Kids can use the remote to switch the Xmax lights on/off, but use it also for music control and they love very loud music… Thanks!
Hi. Not sure it’s something you’ll be able to limit with this blueprint (thanks again Shawsky, it runs flawlessly now and I really love it). But do you know you’re able to limit the sonos speaker max volume speaker per speaker in the app ? I understand that couldn’t be the best but it’s a workable turnaround if You as an user never play the music loud.
I think as has been said it’s out of scope for the blueprint to deal with max volumes, in light of grouping/multiple combined speakers etc, however, I think it would be possible for you to add an automation to detect volume hitting or going over say 85% and setting the volume to 85% in effect setting a mex volume.
I’ve had a look into the LogBook issue and there isn’t anything that can be done I’m afraid. There’s no way for a Blueprint/Automation to control whether an entry is made or not.
If you have more than one of the controllers and an automation set up for each using my blueprint (like I do) then they will all fire but only the relevant one will process so technically speaking the logbook is correct and is functioning as designed.
I’m interested in tweaking this blueprint for my use case - multiple media players outputting to a single source. I’m too cheap to buy Sonos so use a combination of media players (airplay, headless plexamp, MPD, and Mopidy) which all output their audio to Snapcast which then serves a simultaneous audio stream to clients on devices around the house. I use the Snapcast integration or standalone web app to switch the source and the respective integrations/apps for the media players to control the queue, play/pause, etc. I’d like to dynamically change the media_player defined in the input section based on whichever is currently playing or in a paused playback state - is that feasible? I’m new to working directly with scripts/YAML blueprints.
edit: I just set up 2 identical automations for the 2 media players and mapped one of the buttons to deactivate the current automation and activate the other. Works great!
The blueprint is working fine on booth my media controlers. But I do get an warning message in the log file: YAML file /config/blueprints/automation/homeassistant/Z2M_IKEA_Symfonisk.yaml contains duplicate key “sequence”. Check lines 199 and 206
Yeah it no longer fires all automations as you’ve hard coded the path - that’s expected. I plan on keeping the blueprint generic as it’s more user friendly that way.
Incidentally, the the mqtt_topic configuration is there for exactly this sort of thing, where you’ve either explicitly or via your setup altered the message topic. You might not need to use a modified version at all
I wasn’t able to find a configuration that works though.
The point is that if I configured zigbee2mqtt/BueroGross your code would look for zigbee2mqtt/BueroGross/BueroGross_SonosRemote or something like that as HA builds a name inlcuding the path.
IIRC
I tried following your advice to re-add the device if it was updated, however I am having issues with that.
My device was updated after installing it the first time a while back and worked with some glitches (not all commands coming through), so after reading here I should re-add it, I went to do just that. I deleted the device from Z2M, removed the batteries for a bit (and a lonnger period of time, also replaced batteries), put it back together and now I can’t get it to start the interview again. I press and hold the connect/reset button for 10s, there is a barely noticable blink of the light and nothing else happens. Am I doing something wrong? Thanks for your replies
Nevermind, after about a 100 tries the light all of a sudden started dreaming and it connected to the network as expected. I am somehow afraid to ever repeat this process again.