Yeelight API Code on ESPeasy ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
axelmilb
Normal user
Posts: 16
Joined: 14 Jul 2018, 18:53

Yeelight API Code on ESPeasy ?

#1 Post by axelmilb » 30 Nov 2019, 15:15

Hi
Is it possible to execute this code on the ESPeasy?
echo -ne '{ "id": 1, "method": "toggle", "params":[]} \r\n' | nc -w1 192.168.178.44 55443
The same thing happens on the Raspberry Pi and works
This is the API code that turns Yeelight on and off

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Yeelight API Code on ESPeasy ?

#2 Post by TD-er » 30 Nov 2019, 15:32

I don't think we do support raw TCP sockets.

axelmilb
Normal user
Posts: 16
Joined: 14 Jul 2018, 18:53

Re: Yeelight API Code on ESPeasy ?

#3 Post by axelmilb » 30 Nov 2019, 16:42

thank you for the fast answer

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 24 guests