For android Oreo and Peiplease use "TCP Server Event [Oreo+]"
Hmmm.... Autoremote work great but sometime it doesnot work. This app will make your devices communicate in Local area network.
This app will send an Intent to the Broadcast Receiver whenever a message is receive in the its TCP server port. This can trigger tasks in Tasker app.
Note:
1) Use "Intent Received" event in tasker. Set Action as "Intent.unbi.tcpserver.TCP_MSG"
2) "%tcpmsg" will content the message variable
3) Set static ip to work properly for your device in your network.
4)You can use app like Send/Expect to send message to the TCP server from tasker app of another device
5) Force stop the app once and restart again if you change its port.
*added more variable by using "=:=" like other Tasker plugins.
*%tcppar=words on left side of "=:="
*%tcppar1%tcppar2%tcppar3%tcppar4.........
*%tcpcomm1 %tcpcomm2 %tcpcomm3 .%tcpcomm4........ for words on right side of "=:="
(see https://github.com/ProjectUNBI/TCPserver_TASKER_plugin/blob/master/app/src/main/java/com/unbi/tcpserver/TCPservice.java line no. 219)
6) Now you can send TCP msg using Tasker Intent service
3 mode:
1)Intent.unbi.tcpSend.TCP_MSG
2)Intent.unbi.tcpSend.AUTOREM
3)Intent.unbi.tcpSend.TCP_ID_MSG
putExtra in tasker send Intent like this
"address:192.168.1.251:80"
"message:Here is your msg" and
"msgid:YourMsgId"
checkout BootCompletedIntentReceiver.java and Sendmessage.java in source code in
github if you dont understand
Source code: https://github.com/ProjectUNBI/TCPserver_TASKER_plugin
Hmmm.... Autoremote work great but sometime it doesnot work. This app will make your devices communicate in Local area network.
This app will send an Intent to the Broadcast Receiver whenever a message is receive in the its TCP server port. This can trigger tasks in Tasker app.
Note:
1) Use "Intent Received" event in tasker. Set Action as "Intent.unbi.tcpserver.TCP_MSG"
2) "%tcpmsg" will content the message variable
3) Set static ip to work properly for your device in your network.
4)You can use app like Send/Expect to send message to the TCP server from tasker app of another device
5) Force stop the app once and restart again if you change its port.
*added more variable by using "=:=" like other Tasker plugins.
*%tcppar=words on left side of "=:="
*%tcppar1%tcppar2%tcppar3%tcppar4.........
*%tcpcomm1 %tcpcomm2 %tcpcomm3 .%tcpcomm4........ for words on right side of "=:="
(see https://github.com/ProjectUNBI/TCPserver_TASKER_plugin/blob/master/app/src/main/java/com/unbi/tcpserver/TCPservice.java line no. 219)
6) Now you can send TCP msg using Tasker Intent service
3 mode:
1)Intent.unbi.tcpSend.TCP_MSG
2)Intent.unbi.tcpSend.AUTOREM
3)Intent.unbi.tcpSend.TCP_ID_MSG
putExtra in tasker send Intent like this
"address:192.168.1.251:80"
"message:Here is your msg" and
"msgid:YourMsgId"
checkout BootCompletedIntentReceiver.java and Sendmessage.java in source code in
github if you dont understand
Source code: https://github.com/ProjectUNBI/TCPserver_TASKER_plugin
Show More >
TCP Server Event [Tasker Plugin]
Loading...
