Page 1 of 1

Powerswitch

Posted: 28 Jan 2014 12:50
by TML
Hello together,

yesterday I bought an HomeAutomation module, that can control wireless sockets via network:
Amazon link:
http://www.amazon.de/Brennenstuhl-Brema ... automation

To control this gateway there is an app available, it is called: PowerSwitch
http://power-switch.eu/

So powerswitch provide a "interface" to control the app via android intends, there is also a tuturial how to use it with Tasker or Llama.
I tried to add this activity to Automagic, but it is not working properly.

Can anybody help me to add these Activity to Automagic?
The tutorial:
http://fotoallerlei.com/powerswitch-aut ... skerllama/

Activity to turn switch ON:
Action: de.ressel.powerswitch.action.Switch.ON
Extra : Switch:room:Wohnzimmer;switch:Schrank;;
Target: Broadcast Receiver

Activity to turn switch OFF:
Action: de.ressel.powerswitch.action.Switch.OFF
Extra : Switch:room:Wohnzimmer;switch:Schrank;;
Target: Broadcast Receiver

Thank you and best regards,
Tim

Re: Powerswitch

Posted: 28 Jan 2014 19:27
by Martin
Hi,

According to the tutorial you can use action Send Broadcast in Automagic to send the intent.

Action: de.ressel.powerswitch.action.Switch.ON
Extras: putString("Switch", "room:Wohnzimmer;switch:Schrank;;");

Regards,
Martin

Re: Powerswitch

Posted: 29 Jan 2014 14:38
by TML
Hi Martin,

thank you for your fast reply.
But I tested it this morning and it din't worked...

is it possible to use this "Broadcast" another way?

Thank you and best regards,
Tim

Re: Powerswitch

Posted: 29 Jan 2014 18:21
by Martin
Hi,

Difficult to say what's going wrong, since I don't have the required equipment to make a proper test.
Is there some kind of log available in the PowerSwitch-app that indicates if the app received the broadcast-intent at all?
Did you use the correct room-name and switch-name in the intent extras?

Regards,
Martin

Re: Powerswitch

Posted: 29 Jan 2014 19:19
by Martin
I have installed the PowerSwitch-app then added a room called "Raum1" and a switch called "Test".
Judging from the system log, following configuration worked for me (the PowerSwitch-app seems to send a bunch of network packets):

Send Broadcast
Action: de.ressel.powerswitch.action.Switch.ON
Extras: putString("Switch", "room:Raum1;switch:Test;;");

Please ensure that the action is typed correctly. The values are case sensitive. Please also ensure that no leading or trailing white space characters are added when pasting the values from the clipboard.

Regards,
Martin

Re: Powerswitch

Posted: 30 Jan 2014 09:08
by TML
Hi Martin,

thank you! I had a spelling mistake, now it is working well.

Thank you!

best regards,
Tim

Re: Powerswitch

Posted: 10 Oct 2015 19:22
by MikeFrizz
I have the same problem, but I can't find the german function. Only "Genereller Broadcast" is to see.
Ich kann keinen "sende Broadcast finden. Mit dem generellen Broadcast habe ich ebenso einige Probleme,
da es keine Zeile gibt, in der ich zu sendende Parameter eintragen kann. Es gibt da die Datapath Glob Liste und die Data Type Liste. Die restlichen haben Auswahlfelder für Funktionen.
Danke
Michael

Re: Powerswitch

Posted: 12 Oct 2015 19:05
by Martin
Hi,

Send Broadcast respektive Boadcast senden ist eine Action.
In einem Flow kannst du den Trigger auswählen, danach das (+)-Icon unterhalb des Triggers an eine freie Position ziehen, Action auswählen und Broadcast senden verwenden.

Freundliche Grüsse
Martin