Voice control in an open source smart home
day 1596 Alex is in touch In fact, if you use your own smart home system, it becomes quite difficult in principle to make voice control, that is, smart speakers are of course integrated with different systems, but they can almost all integrate normally with smart home systems, which is open source, because in principle manufacturers it's not very profitable, and of course they try to get around it in every possible way, so as not to really compete with themselves, because they are of course still quite flexible, they allow you to integrate in any way with other systems and with the same proprietary solutions and ecosystems, so, for example, the same Yandex smart home system will immediately get a big competitor if it starts integrating with others. I use two smart home systems: Home Assistant and Open HAB, and I actually use them as integration systems, because when I started using openhab, I immediately tried to link it to the Yandex smart home system. When I started using Home Assistant, it already had the ability to connect different systems that we have, that is, for example, it is possible in principle to make integration with tuya not very difficult. But in fact, it is quite difficult, you need to get a special developer key and then you can link an account or you can connect other ecosystems, but in general, in principle, it is also not very simple, and not so long ago, in principle, a solution appeared that allows you to integrate quite well with, say, the Yandex ecosystem and in principle you can forward most of the devices Yandex home and then the speakers will be able to use the device and manage them, but in fact, not all devices and not all the parameters of these devices are thrown into the Yandex ecosystem, for example, it is clear that some simple functions turn on or off they even appear, for example, color management of some smart light bulbs of lamps, but some more specific devices or their parameters are no longer forwarded, and therefore either this will be a limited solution and not all commands will be supported, or you will need to come up with something else. Well, in general, of course, it is not very clear since this is an open source how long the author will support this solution, how long Yandex will allow you to connect to its ecosystem using various workarounds, so you probably shouldn't fully trust this solution and it won't work, and still you need to look for some other options. When I started using the openhub system, it was basically quite practically possible to say officially the integration possibilities it was a solution that allows me to transfer the device from openhub to Yandex. It is clear that this is still an external site and no one can guarantee the preservation of some data and passwords and let's say that some kind of log in is not logged there-then some kind of work of the smart home system but at least It used to work now but it is disabled and there it will no longer work normal connect integrate and [music] you need to look for some other solution that will still allow you to link the Open Hub and the system for example from Yandex, as for other ecosystems in general, they do not have such a focus and it is not very interesting for the developers themselves to somehow integrate with these other systems because it is quite difficult this solution can be poorly documented and constantly changes and develops and of course any change it means urgently redoing the integration of the module itself which is responsible for this integration with systems and for example Yandex It also develops quite often and intensively but how long has this solution been working for quite a long time and in principle there is a lot of documentation but it may not be relevant everywhere I came across this then too it is set up and use but by and large it still works and so far this is probably the only solution that makes it quite easy to integrate Well when I did integration with the Yandex Smart Home Theme through Open Hub there are basically some rules like this it is made out that is it is necessary to register the device parameters specifically in the Open Hub specifically name them break them down specifically by room and then they can be thrown into the Yandex system but only supported there the minimum function is just switching on or off and the device type is also supported this is some kind of switch or this is a light bulb That is, if you are a light bulb then the light commands can be turned on or on in the system a lot of Yandex homes if this is a switch then they just need to directly say turn on some kind of switch or socket then it will only work and I had to in fact to make a completely different system at first I used Yandex skills this is basically an open solution that you can customize for yourself there was a problem that you need to turn on or off before starting to turn off the light for example you had to start this skill first you can make some special commands that will allow you to start the skill immediately but this turns out to be a rather long long phrase that you need to say and still if you said the phrase after that the skill Already becomes launched and for example Yandex will no longer perceive other commands you will need to exit the skill but also go to in principle, for processing the skill there are very rather strict conditions something must be an external site on which GPS is raised you need to buy with a certificate that costs more than 3000 now for a year more paying for different domains for this connection is quite expensive in principle it turns out Well in principle it is also quite difficult to make this skill public you need to pass moderation there correctly prescribe how it will work how it will interact and how authentication will be carried out So in general this decision became unnecessary when Yandex made it separately already released a Smart home it works in the same way in the same way as skills But this is some special skill that allows you to manage devices And when you Connect it then in fact you need something you can do the same thing as for a regular skill But you will also have to process many commands that are specific In addition i.e. these are special device formats these are special options for responding to requests from the smart home system but when you configure it then Yandex and smart speakers already sees these devices and can execute commands and send commands for these devices to the smart home system But the only thing that happens is that the types of these devices are fixed you can only use different combinations For example, you can make some kind of lamp that will be for example volume for example enable some channels, that is, it will already need to be processed on the side of the smart home system itself and respond in some way. Moreover, in the Yandex smart home ecosystem, there is a limit on the response time, that is, the system responded very quickly and faster than three seconds, otherwise the system will say that the device is unavailable and for example, when I used the experience, I at first I tried to connect via the cloud at the moment when let's say I integrate the system connect it to each other this in principle works quite reliably but if for example I give a command or let's say you need to count the parameters for the PC to the system then it is already important here and it may turn out that working through the cloud is too long and an error will constantly be issued so now I just contact the database in which I store all the parameters are stored and I also send the command to the smart home system Yandex already returns Vesta everything is processed correctly even without waiting for the expiration of these three seconds Yandex Smart home is constantly developing in principle well so I plan to support as much as possible in my smart home system that is to support as much as possible the properties and capabilities of the device description their operation support different types of devices and try to actually also keep up But of course it takes a lot of time I spend on this revision especially when some significant changes are made and, for example, when these changes stop working, but I have not yet made my decision they are replicated, that is, I have a developed version, if someone needs it, I will certainly provide a link to try to experiment, but now I use openhub and integration with Yandex only for myself
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.