How to wake up my tablet through Home Assistant

I am a new user of Home Assistant and Node red.
My configuration.yaml:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

media_player:

  • platform: androidtv
    name: Alcatel tablet
    host: 192.168.1.28
    adb_server_ip: 127.0.0.1
    adb_server_port: 5037
    apps:
    com.hetweer.in.nl: "Het weer"
    com.alexvas.dvr: "Camera beeld"
    com.android.launcher3: "Startscherm"
    turn_on_command: "input keyevent KEYCODE_WAKEUP"
    turn_off_command: "input keyevent 223"

When I click the on/off button on my Overview, my tablet (connection over wifi) wakes up. So, in Home Assistant it works.
But how can i do this with Node Red?
I tried the call service node:

with Data:

afbeelding

but this gives a "Unknown Service"

Is there a solution to solve my problem??
Thanks in advance

Hoi Jan, can you explain to future readers how you solved the issue?
Bedankt, Lena

Solved the issue as follows:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.