Yes with HA. In FTTT connect with MyDlink Account and create two new applets :
Receive a web request -> Event Name (what you want) -> Turn On Plug DSP-W115
Receive a web request -> Event Name (what you want) -> Turn Off Plug DSP-W115
After that in HA
In canfigurations yaml :
ifttt:
key: (insert your IFTTT key)
input_boolean:
lucitv_switch:
name: Luci TV
initial: off
icon: mdi:lightbulb-outline
in automations.yaml
alias: turn on lucitv_switch
hide_entity: True
trigger:
platform: state
entity_id: input_boolean.lucitv_switch
to: ‘on’
action:
service: ifttt.trigger
data: {“event”:“your event name on”, “value1”:" "}
alias: turn off lucitv_switch
hide_entity: True
trigger:
platform: state
entity_id: input_boolean.lucitv_switch
to: ‘off’
action:
service: ifttt.trigger
data: {“event”:“your event name off”, “value1”:" "}
And yes it works. Tell me if it fits also for you.
So ive put this in config yaml file… but i get :
Component error: lucitv_switch - Integration ‘lucitv_switch’ not found.
Component error: initial - Integration ‘initial’ not found.
Component error: icon - Integration ‘icon’ not found.
Component error: name - Integration ‘name’ not found.
Okay. That sounds great. Trying to add the other ones, they are in different rooms, so i will se what i can do. Main issue so far is getting them to work and now it does. :)
So i´ve come this far that when running “python3.8 dspW245.py” i get the response : Sending HTTP upgrade request, sending sign_in to get salt, sending get device status, Turning LED #1 ONm Turning LED #2 off, Sending keep alive"
But here it stopsl How do i get this to work by the Appdeamon.
Everything now is in /config/custom_components/dspW245/
When reading the dspW245 guide and “The device can then be interfaced with using the code below.” where is this going?
Final Edit : W115 works good in HA, not connected to MyDlink app, but also works by Google Home.
W118 works with Google TTS and Google Assistant. (Needs to be in MyDlink app)
Hi there.
I’ve been trying to integrate the DSP-W245 power strip but i’ve never used appdaemon.
Can you write a tutorial a bit more detailed pls?
thank you!
This was working fine for me but when Home Assistant updated it’s Python version that implemented higher security cypher as default, it broke and I have been unable to find a solution. I always get “sslv3 alert handshake failure (_ssl.c:997)”.