Ciao Giovanni... gran bel lavoro
Hi Giovanni great job,
if you remember I asked you for help on how to solve the problems I had with the simonkamronn plug-in and you, in addition to helping me, provided me with the frog code.
In recent months I have tried to understand how it works and consequently improve the plug-in but I only realized that I do not have the knowledge and tools necessary to do so.
When I saw that you had started developing a new plug-in I immediately installed it, replacing it with simon's.
I found improvements in reporting the on/off status of B&O devices and communication in general, nice thing to have also integrated the coding of the ml protocol in addition to that of the mlgw.
So far I have noticed these anomalies:
a) When the source is changed, the telegram of the default source is not sent by the homeassistant. I try to explain, let's assume we have configured A.MEM as the default source (default_source: A.MEM), when we go to ask the home assistant to turn-on the B&O device this will turn on the audio master and set the source to A.MEM. When changing source (eg Radio) everything works as it should, a further change will work with all sources except the default source. In other words, once the source has been changed, there is no way to go back to A.MEM.
I tried not to configure the default source or by setting other sources including video (DTV, TV, DVD etc) but the problem remains.
b) If I ask to switch on a slave device (Beolab 2000) all the slave devices switch on (Beovision 10). Looking at the logs I seem to have noticed that home assistant sends a command to all devices.
Finally I would like to discuss the various masterlink configurations.As far as I know, an audio/video masterlink system can be composed of:
Video master (Eg Beovison 7)
Audio master (Beosound 9000)
Source center (Beosound 5 / Beomaster5)
and various Audio and Video slaves.
Slaves can also have local sources (e.g. Beovision 10 or beolink active)
It would be interesting to understand if the local information on switching on and changing the source of the various slave-devices is sent on the masterlink protocol.
If this were the case we would have the possibility to know which device is on and on which source it is positioned and use this info as a trigger.
What do you think about it?
Thanks