MyHOME icon indicating copy to clipboard operation
MyHOME copied to clipboard

Capture SCS frame telegram

Open ziocharly opened this issue 2 years ago • 8 comments

Hello Julien and MyHome users, first of all thank you so much for the amazing integration !

I've been using over 20 lights and 14 covers, with no problems, including cen+ and send _message function !

I'm missing a function that I haven't been able to integrate for now: is it possible to intercept a particular telegram on the SCS bus, for example a moving cover or a pressed button?

I tried several times, even with a binary_sensor, but i couldn't get the entity available on HA. Has anyone tried to do this, or know how to do it?

Thanks very much in advance !

ziocharly avatar Mar 09 '23 16:03 ziocharly

I'm not sure I understand what you're trying to do... Can you explain?

anotherjulien avatar Mar 12 '23 09:03 anotherjulien

Hello Julien, and many thanks for your reply.

To clarify with two examples what I need:

on the SCS bus I have a command (L4651/2) which when pressed generates the telegram

SCS_TELEGRAMS_1

I would like to intercept it on HA to turn on also some HUE lights, which are always managed by HA.

or

when one cover move I see the telegram

SCS_TELEGRAMS_2

on the bus. I like to report this state inside the synoptic of my home just to know when the cover moves.

I've tried to use binary_sensor but i can't get it to work... I hope now it is clear what I would like to implement.

Anyway, really great job and thanks again !!!

ziocharly avatar Mar 12 '23 10:03 ziocharly

Hum, so you have a load with WHO=1 A=7 PL=3 and you'd like home assistant to do something when this is turned on, right? So... Why not just create a light (or a switch) in the myhome integration with where: '73' and trigger an automation when this entity changes state?

Same for the covers, create a cover when where: '31' and trigger an automation when the state is opening or closing.

Doesn't that fulfill your needs?

anotherjulien avatar Mar 12 '23 12:03 anotherjulien

OK, let me try your suggestion.

Thanks for your time !

ziocharly avatar Mar 12 '23 17:03 ziocharly

Sorry for delay in my answer , but I'm busy for work and I was not at home.

I tried both of the suggested ways and I understood why it doesn't work: in fact I don't have an actuator configured with A7 and PL3, but only the BT command, that send this request, so neither the light, nor the switch are activated...

In my case I need only to capture the SCS telegram that I see on the bus, but which has no physical destination...

Do you have any solution ?

For the cover I've the test in progress...

Thanks !

ziocharly avatar Mar 15 '23 21:03 ziocharly

Update for cover: I' ve already set the cover with for A3 PL1, but the automation do not trigger the state of 'opening' or 'closing', so I've changed the automation with the use of input_boolean flag and work perfectly anyway. I set one 'input_boolean' for cover_open and another one for cover_close. In this way I've the same logic, without use the state of cover...

ziocharly avatar Mar 17 '23 17:03 ziocharly

Hi, have you managed to use a "blank" command to turn a PhilipsHue light (or anything not managed via a BTicino actuator)? I have the same case here...

PetFra avatar Dec 30 '23 11:12 PetFra

Ok after an afternoon of test and learn using this blueprint is possible: https://community.home-assistant.io/t/myhome-cen-commands/260345

The prerequisite is to set into MyHomeSuite a command to send a CEN+ event and use it a as a trigger in the blueprint

PetFra avatar Dec 30 '23 16:12 PetFra