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

2019-02-02 Thread RT
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  wrote:

> Good luck RT, please share your results:)
>
> On Wed, 16 Jan 2019 at 07:57, RT  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 
>> 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  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@lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> ___
>> Pd-list@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."
|==|
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-26 Thread Bastiaan van den Berg
On Mon, Jan 14, 2019 at 7:20 PM RT  wrote:
>
> Looks like they are clamping down on flashing the firmware...
> https://support.itead.cc/support/solutions/articles/1161914-how-can-i-downgrade-the-firmware-flash-3rd-party-through-ota-

nope, thats about the OTA functionality of the preflashed firmware
(which i never cared about in the first place)



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-26 Thread RT
Julian just got it all working today.  In the process of making a full
video tutorial along with how to connect the electronics and I will post it
to youtube along with notifying the list.

On Thu, Jan 17, 2019 at 4:40 AM Julian Brooks  wrote:

> Good luck RT, please share your results:)
>
> On Wed, 16 Jan 2019 at 07:57, RT  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 
>> 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  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@lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> ___
>> Pd-list@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."
|==|
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-17 Thread Julian Brooks
Good luck RT, please share your results:)

On Wed, 16 Jan 2019 at 07:57, RT  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 
> 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  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@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>>
>> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-15 Thread RT
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 
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  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@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-14 Thread RT
Looks like they are clamping down on flashing the firmware...
https://support.itead.cc/support/solutions/articles/1161914-how-can-i-downgrade-the-firmware-flash-3rd-party-through-ota-

How can I downgrade the firmware/flash 3rd party through OTA?
Created by: Maggie Wang

Modified on: Tue, 6 Nov, 2018 at 2:44 PM
--

Flashing 3rd party through OTA is not supported officially. It was a bug
instead of a feature before firmware v1.6, and the bug was fix since
firmware v2.0. As a result, downgrading the firmware is not available as
well. Please kindly note that downgrading the firmware/flashing 3rd party
through OTA can cause unexpected malfunction of the device, and in this
case we won't provide after-sale support and the consequences are users'
responsibility.

And we don't give any option suggestion for integration of Sonoff to third
party Home Automation systems

On Mon, Jan 14, 2019 at 10:16 AM Bastiaan van den Berg 
wrote:

> our hackerspace uses a ton of 'sonoff' products from itead ;
> https://www.itead.cc/sonoff-wifi-wireless-switch.html
> its a simple and cheap esp8266 based board you can run anything you want
> on.  i -think- it comes with some firmware natively, but i've never
> bothered to look at it :P
>
> the firmware we flash on them allows them to be controlled over MQTT which
> works nice for our domotica setup, but i've also flashed one with art-net
> software once.
> some manual attempt is at https://nurdspace.nl/SonOff
>
> many ways to apply this ;)
> ___
> Pd-list@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."
|==|
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-14 Thread michael strohmann
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  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@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-14 Thread Bastiaan van den Berg
our hackerspace uses a ton of 'sonoff' products from itead ;
https://www.itead.cc/sonoff-wifi-wireless-switch.html
its a simple and cheap esp8266 based board you can run anything you want
on.  i -think- it comes with some firmware natively, but i've never
bothered to look at it :P

the firmware we flash on them allows them to be controlled over MQTT which
works nice for our domotica setup, but i've also flashed one with art-net
software once.
some manual attempt is at https://nurdspace.nl/SonOff

many ways to apply this ;)
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


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

2019-01-14 Thread RT
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@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list