On Thu, Jan 24, 2019 at 11:36 AM RT <[email protected]> wrote:

>
> I'm trying to turn on and off a device using Pd by sending a URL. At the
> moment to turn the device on I just type in a url in the browser and to
> turn it off I type in another one url .
> To turn the device on I send http://192.168.1.123/relay/0/?turn=on
> To turn the device off I send http://192.168.1.123/relay/0/?turn=off
>
> If you don't have to use vanilla Pd it's easier to use [httpreq] and
[tcpclient].

Martin

Attachment: relay_control_by_http.pd
Description: Binary data

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to