When i press the button on the remote, it toggles the sensor in my HA dashboard.
So i made a simple test automation to see if my idea works:
- alias: RF remote Test aan
hide_entity: false
trigger:
platform: state
entity_id: binary_sensor.rf_stekker_1
to: "on"
action:
- service: light.turn_on
entity_id: light.trf_kleur_1
- alias: RF remote Test uit
hide_entity: false
trigger:
platform: state
entity_id: binary_sensor.rf_stekker_1
to: "off"
action:
- service: light.turn_off
entity_id: light.trf_kleur_1
When i manual trigger the automation from HA it works great, but when i press the button on the Rf remote nothing happens. Any ideas what could be going wrong? I can see the state of the bin-sensor of the Rf remote change.
EDIT: for info:
Cheap RF remote
Sonoff RF bridge Flashed with OpenMQTTGateway
Tradfri Light
Also worth checking the developer states, under the burger menu, and then the <>
Find it binary sensor and make sure it switches when u press the button. And that it says on or off, I see your running in another language.