Search found 46 matches

by beelze
03 Dec 2018 17:20
Forum: User Help / Bug Reports
Topic: Determine devices attached to router
Replies: 2
Views: 7772

Re: Determine devices attached to router

If you have linux-based router with ssh access, you can use action Execute SSH Command , something (roughly) like this: iw dev ath0 station dump | awk '{if($1=="Station") printf "%s ",$2; if($1~"inactive") printf "%s\n",$3}' output will be like this (MAC ms-of-inactive-time): xx:yy:zz:c9:d9:73 10 xx...
by beelze
29 Nov 2018 12:19
Forum: Feature Requests
Topic: Built-in flow stack variable
Replies: 3
Views: 13621

Re: Built-in flow stack variable

+1 for calling stack.

BTW, what is the python backend server?
by beelze
26 Nov 2018 02:40
Forum: User Help / Bug Reports
Topic: SSH straight to specific directory
Replies: 14
Views: 29421

Re: SSH straight to specific directory

rsync though. It has nothing to do with automation. Very unexpected. Why do you think so? I'm using rsync (mostly indirectly) every day. Getting package updates, syncing backup chains between servers and workstations, even for moving hot data among the drives. As I said before, for a simple use cas...
by beelze
25 Nov 2018 16:23
Forum: User Help / Bug Reports
Topic: Mark text message read & dismiss relevant notification
Replies: 1
Views: 5971

Re: Mark text message read & dismiss relevant notification

I was able to mark a message as read using sqlite3 command: sqlite3 /data/user_de/0/com.android.providers.telephony/databases/mmssms update sms set read=1 where _id==$ID; but _id is not provided by trigger. Another possible way is to use something like address==$sms_sender and ($triggertime-date)>$S...
by beelze
25 Nov 2018 15:39
Forum: User Help / Bug Reports
Topic: Mark text message read & dismiss relevant notification
Replies: 1
Views: 5971

Mark text message read & dismiss relevant notification

My operator spamming me with a lot a «service» messages which I can't unsubscribe. Same for Emergency service. It's easy to create trigger and catch those messages, but I failed to find a way to mark SMS message as read (and dismiss relevant notification too).
by beelze
24 Nov 2018 20:28
Forum: User Help / Bug Reports
Topic: SSH straight to specific directory
Replies: 14
Views: 29421

Re: SSH straight to specific directory

Well, thus you need rsync over ssh. 1. it is just secure as ssh (I've already wrote a couple of words about ssh security) 2. rsync can be used everywhere (and using almost same syntax) instead scp 3. you can skip files that are newer on the receiver (--update) 4. you can keep partially transferred f...
by beelze
23 Nov 2018 08:00
Forum: User Help / Bug Reports
Topic: SSH straight to specific directory
Replies: 14
Views: 29421

Re: SSH straight to specific directory

What exactly you're trying to automate? E.g. «upload relatively small file» or «upload a big file» or «keep in sync large project' file/dir structure»? For the last 2 cases better to use rsync (over ssh) or any «home cloud», because they support resuming broken transfers and effective implementation...
by beelze
22 Nov 2018 19:45
Forum: User Help / Bug Reports
Topic: best way to implement user functions?
Replies: 4
Views: 10948

Re: best way to implement user functions?

Well, I got it, Desmanto, but evals is an ugliest workaround I ever seen. We're not «passing» or «retrieving» anything, we just (invisible) polluting and corrupting current namespace. More, putting string literal into «code» string literal is a really «funny», because we must «escape» string literal...
by beelze
22 Nov 2018 19:18
Forum: User Help / Bug Reports
Topic: SSH straight to specific directory
Replies: 14
Views: 29421

Re: SSH straight to specific directory

It is no harm to use -P 22 in scp command line. But, there are 50+ another ssh options, consider man scp and man ssh_config ;-) But I got another idea. If file transfer is the one and only use of ssh, why not to use something more simple and secure? E.g. Dropbox Upload File action? Dropbox is not se...
by beelze
22 Nov 2018 17:55
Forum: User Help / Bug Reports
Topic: SSH straight to specific directory
Replies: 14
Views: 29421

Re: SSH straight to specific directory

1. I'm using standard ssh port (22) everywhere, because there is no real security improvement in using different port. There is no need to explicitly declare port 22. 2. PasswordAuth designed to be interactive (most ssh-related tools not supported password-providing command line options, nor even re...