04-25-2024 06:12 AM
Hello everyone, Is anyone khow, how can i control my sonoff smartplug with labview? i am using HTTP clients to control the device. But, i have an problem in my URL. can anyone suggest me a URL for sonoff devices?
04-25-2024 09:22 AM
Are you looking for their REST API? https://sonoff.tech/diy-developer/
What problem do you have in your URL?
04-25-2024 09:37 AM
I have an sonoff plug S26R2. i would link to control(ON/OFF) and observe it with labview instead of ewelink app. can you suggest me, how can i do this? i use http client with url for sonoff device to connect VI with the sonoff device. But it didn't work.
04-25-2024 10:46 AM
What exactly did you try? The device is not listed as a diy device on the soneoff page, so it does not have an open API.
Did you flash it with Tasmota or something? You will not see me with a soldering iron around a power socket, but apparently people do that. Then you can use the HTTP API https://tasmota.github.io/docs/Commands/#with-web-requests
04-26-2024 04:10 AM
No, i did not try tasmota . is there an another way to do this or the only way with tasmota?