Hallo, i want to send in ir signal on a device with a mosquitto command.
The setting:
HA with generic-remote-control → Raspberry Pi Zero(Node Red and mqtt) with ir diode.
How can I execute the following command by pressing the power button?
mosquitto_pub -t remote/tv -m "KEY_POWER" -h 192.168.178.194
The following results in an error:
power:
call: remote.send_command
data:
entity_id: remote.living_room_remote
command: mosquitto_pub -t remote/tv -m "KEY_POWER" -h 192.168.0.194
Failed to call service remote/send_command. Service not found.
Thanks