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
Powerswitch
Moderator: Martin
Re: Powerswitch
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
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
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
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
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
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
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
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
Hi Martin,
thank you! I had a spelling mistake, now it is working well.
Thank you!
best regards,
Tim
thank you! I had a spelling mistake, now it is working well.
Thank you!
best regards,
Tim
Re: Powerswitch
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
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
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
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