Smart music in a smart home

I constantly listen to music in my smart home, of course, before I tried to listen to music in albums, because I thought that the artist he was there in a certain mood collected a certain album, and when I listen to it I will have the same mood, but of course after a while, I realized that they are still working on the album a lot of people have their own opinions, and as a result, there are still different ways to combine them into an album, so that some not-so-good songs are also released, and the albums themselves are certainly not very interesting, and I started switching to different types of collections, that is, collections in which there is a certain genre of music and under a certain mood, and of course such music is much more interesting to listen to, if the mood is good, you can listen to good music, if not very much, then you can find another one under this mood and either improve your mood, or just relax this music.

But such collections also did not really want to buy all the time and they got bored with time, so then when the Internet appeared and various opportunities to listen to online radio stations, then of course you could already find those on which channels go and where a certain genre of music is broadcast and this is of course very convenient, you can choose different interesting ones channels, and if, for example, I used to listen to a radio station where there are a lot of different channels, but they are all divided by genre, although you can only listen through their application, and if, for example, you can listen to some third-party player, then, of course, you had to pay for a subscription there, and if through the app, then basically for free, there were not so many ads, but there was still an opportunity in the app, but it did not immediately appear, you could vote that if you like a song to vote, then you can vote for it, and if you don't like it, then you could have disliked it later.

Of course, this is how I thought it was probably used to configure this channel, in principle it would look logical that if I like a certain channel, I have included a certain genre and if the song does not match, then I can specify it, when a lot of users specify it, then it can be removed over time.

so that it does not spoil this channel there, maybe for another specific channel, with a different genre, this is more suitable, well, it would also be nice if you could just indicate everyone's opinion there and of course take this into account.

In principle, there was one channel, which was convenient, and when I didn't have a smart home yet, I could just turn on this channel on one device, listen, then I went somewhere, let's say I also launched this application on my phone, turn it on and continue listening.

It was convenient, but after a while the load on their server apparently increased, and they made that several channels of different servers process one channel, and when I turned on the other device, the compositions almost always did not match, this of course became quite inconvenient and of course still if it is used in a smart home as a system multiroom, this is not very convenient.

Of course, this is still not a continuous kind of music, it is a random selection of different compositions and of course you can just assume that when you move to another room, one composition has ended, another has begun and in general you can not pay attention to it.

Sometimes it happens that just when I start this Internet radio, then it just plays an old song from the buffer for a while, and then the buffer is updated and abruptly switches to another one, but actually if the styles are the same, then there is not such a big, insignificant difference, which in principle does not bother much.

But when I already started making a multiroom in my smart home, I had to find a source of music, that is, where to broadcast it from, I had to find another radio station, so to speak, which also broadcasts in different genres, but also allows you to additionally listen to it in different other players and also without advertising, what in general fine, and of course I did it right away at first I just had a player installed on the Raspberry and it connected to this radio station and through just AUX through a regular speaker it broadcast this music, in principle it was normal to listen, you could use the command, by pressing the wireless button, turn on this player on this microcomputer and the music was played accordingly.

If necessary, I made it so that, for example, I press the button twice and the second channel turns on, or my voice could also be switched, and in principle I could switch radio stations, and I could turn them on and off, and there it was also louder and quieter, in principle it was quite convenient.

After a while, it did not become convenient to listen via AUX, I bought amplifiers that work via Bluetooth, connected them to regular speakers, and these amplifiers themselves are connected to Raspberry via Bluetooth, and you can also switch different amplifiers between each other, that is, if I have one connected to one speaker, the other to the other I respectively I can switch this for you, for example, I have such amplifiers in different rooms and Bluetooth is basically possible to transmit from one place throughout the apartment, that is, 5 or 10 meters of Bluetooth is quite normal if the case is not metal and is not shielded by anything.

Of course, you can generally play music on different devices, for example, I have iPads that work like dashboards, but they also have built-in speakers, and in theory you can also run this essentially online station on these iPads and also listen.

Of course, it is difficult to connect them directly to some files or media servers, but in principle this can also be done, the only thing that there is no direct control, that is, you can not remotely turn on this music on the iPad, this is certainly not very convenient, if such a function would be, it would certainly be very popular.

Well, the iPad itself can be connected to the speakers in some active way, and in principle it can play music quite well, that is, it would be useful.

But I still have a gateway also from Xiaomi flashed, it can also play music, well, of course it has very little internal memory there, you can't store it there, but it can also connect to online radio stations and I also made it on one of my servers, microcomputers, just put my music archive there, set up the local server is musical and you can simply specify this link on any other devices and it is also played normally, and even in fact you can make an analog of multiroom, since this is the only stream going, that is, I can specify this address for several devices, and they will play, that is, I also use this all the time if I suddenly get tired of some radio station or there is nothing to listen to at this moment, then I can always turn on my playlist, and in principle it will also play on all devices.

And of course, I also have smart speakers from Yandex, well, you can also run them on them, although they don't know how to run via Bluetooth, although they have such a function, and even it worked for a while, that is, I could connect to these speakers with Raspberry and transmit exactly the stream from the microcomputer to them.

my server, but after a while, something broke after the next firmware, before that it even worked in principle so that I could transmit via Bluetooth and could also turn on music on the speaker itself, that is, they basically worked in parallel and the commands were perceived, that is, there are a lot of possibilities there, you could use it absolutely differently, you could do some alerts there via Bluetooth, listen to music from Yandex, and everything was controlled by your voice, that is, it was generally very cool, but then they broke it all after the firmware and now the server can't do it at all connect to Yandex, even if for the phone, for example, you say turn on Bluetooth and then you can safely connect the phone and transfer it to the speaker, then the microcomputer itself can't do this, apparently what version of Bluetooth is defined, the firmware is there, setting up the driver, and after that it doesn't work, well, it only remains to listen to Yandex music, but you need to pay for it, subscribe, because without it, Yandex column can only execute commands, but of course it can't turn on music anymore.

Well, to control music in my house, I use different methods, that is, voice control via Yandex, I have different methods configured there, that is, some devices are just switches, I say turn on the player and it is determined in which room the speaker is located, it hears this command, respectively, in this room it can turn on a specific one the player is a Bluetooth amplifier that is connected to certain speakers, if I say turn on a certain genre of music, for example, it turns on a device in a smart home that is connected to certain speakers and this channel is already broadcast from there, online stations, or it can be my archive that will be played.

I also made different ways, that is, I have different scenario switches wireless and buttons, which I also set up so that you can turn on either a certain player or a certain music channel in certain combinations, you can also change the volume there, and even made it so that I can turn on the speakers themselves from these remotes.

launch a specific playlist on them and also listen to music in this way, and all this also works synchronously, that is, if I start one music source, then I can also turn off the other one according to this scenario.

This is in principle very convenient and such a multiroom system is of course constantly used by me and is very much in demand.

Automation in a smart home should be useful and create additional comfort, but sometimes everything goes wrong… The reasons for this, and how to configure everything, see on my channel.

You may also watch

Article By Alex

If you have any ideas on how to improve automation, make it more reliable, fast and useful, then you can leave a comment below. I will try to implement the proposals and tell you in the following videos.