I create a custom switch component in ESPHome to drive my Livolo switches.
Livolo switch with the RF 433 option use a no standard protocol. I didn’t succeed to adapt existing core RF Transmitter protocol to use them so i create a custom switch component.
Can you please guide on how to add livolo to ESP home, i have a sonoff bridge hack version, i added the h file to components in a “custom” folder now how do i use it in the config yaml
I did something like:
switch:
- platform: custom
lambda: |-
auto lvA1 = new LivoloSwitch(5,6400,0);
App.register_component(lvA1);
return {lvA1};
switches:
- name: "Livolo A 1"
id: livoloA1