[PD] IFTTT (“if this then that”) and connecting puredata to iot device like a wemo or other open source power outlet

RT ratulloch at gmail.com
Sat Feb 2 18:51:02 CET 2019


The video tutorial is taking longer than expected, camera issues.  I made a
little write up with images along with including the Pd.
https://forum.pdpatchrepo.info/topic/11893/getting-shelly-1-device-to-work-with-puredata-and-mobmuplat




#N canvas 428 236 806 697 10;
#X floatatom 303 622 0 0 0 0 - - -;
#X obj 329 203 fudiformat;
#X obj 331 255 t l l;
#X obj 359 293 list length;
#X obj 361 325 - 2;
#X obj 326 364 list split;
#X obj 150 495 list prepend send;
#X obj 153 533 list trim;
#X obj 325 568 netsend -b;
#X obj 148 444 list append 13 10 13 10;
#X obj 390 234 print;
#X obj 432 206 print;
#X msg 343 159 GET /relay/0/?turn=\$1 HTTP/1.0;
#X obj 430 22 tgl 15 0 empty toggle_on_off empty 17 7 0 10 -24198 -1
-1 0 1;
#X msg 45 40 \; toggle_on_off color 16 \, 1;
#X msg 47 85 \; toggle_on_off color 13 \, 0;
#X obj 435 57 select 1;
#X msg 435 90 on;
#X msg 472 89 off;
#X obj 436 122 symbol;
#X obj 322 396 t a b;
#X msg 345 451 disconnect \, connect 192.168.1.200 80;
#X connect 1 0 2 0;
#X connect 1 0 10 0;
#X connect 2 0 5 0;
#X connect 2 1 3 0;
#X connect 3 0 4 0;
#X connect 4 0 5 1;
#X connect 5 0 20 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 0 0;
#X connect 9 0 6 0;
#X connect 12 0 1 0;
#X connect 12 0 11 0;
#X connect 13 0 16 0;
#X connect 16 0 17 0;
#X connect 16 1 18 0;
#X connect 17 0 19 0;
#X connect 18 0 19 0;
#X connect 19 0 12 0;
#X connect 20 0 9 0;
#X connect 20 1 21 0;
#X connect 21 0 8 0;




On Thu, Jan 17, 2019 at 4:40 AM Julian Brooks <jbeezez at gmail.com> wrote:

> Good luck RT, please share your results:)
>
> On Wed, 16 Jan 2019 at 07:57, RT <ratulloch at gmail.com> wrote:
>
>> Thanks guys that helped a lot I plan on going with the Shelly 1 the
>> firmware can be easily flashed supports AC but also supports 12V DC and
>> 24-60V DC and has MQTT support built in.
>> https://shelly.cloud/shelly1-open-source/   It does cost more it's about
>> 10 euros but it fits my needs.
>>
>> Thanks for the help
>>
>> On Mon, Jan 14, 2019 at 10:24 AM michael strohmann <itsnotfair9 at gmail.com>
>> wrote:
>>
>>> A demo how to send MQTT to PD via python script:
>>> https://www.youtube.com/watch?v=xi1GyC05VXk
>>>
>>>
>>> On 14 Jan 2019, at 15:06, RT <ratulloch at gmail.com> wrote:
>>>
>>> Greetings
>>>
>>> I would like to connect and have Puredata control an iot device like
>>> wemo or other open source power outlet are there any examples or
>>> suggestions on where to start?
>>>
>>> I was thinking an example would be just to have Puredata turn off and on
>>> a power outlet (like a Wemo) using OSC or midi controls.  The question I
>>> have is how do I connect Puredata to a iot power outlet to do this and
>>> which open source power outlet will allow this?
>>>
>>> --
>>> --
>>> |======================================================|
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>

-- 
-- 
|======================================================|
|https://stillpointx.wordpress.com/research/modulated-plasma/

|======================================================|
"Knowledge may be the Key"
"But wisdom unlocks the door"
"Absolute Power demands absolutely nothing"

As the old maxim has it, you need find only one white crow to disprove the
rule that all crows are black

"The bourgeois today burns as heretics and hangs as criminals those to whom
he erects monuments tomorrow" ('Steppenwolf')

"There are two modes of being those in bliss and those seeking bliss,
may each step you take and each thought you make be made in a mindful and
blissful state."
|======================================================|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190202/7a524001/attachment.html>


More information about the Pd-list mailing list