Wake-on-LAN Fire Stick Amazon ?

576 views
Skip to first unread message

romain

unread,
Jan 9, 2022, 8:44:54 AM1/9/22
to Automate
Hello,
I use Automate 1.31.2 on Fire OS Amazon Stick. (1.32.2 don't work because a Permission "battery optimisation" is not available on Fire OS)

I just want to automate a basic Wake-On-LAN but I get this error :

01-09 14:15:16.540 I 5@1: Flow beginning
01-09 14:15:16.541 I 5@17: Wake-on-LAN send
01-09 14:15:16.553 F 5@17: android.system.ErrnoException: Binding socket to network 107 failed: EPERM (Operation not permitted)
01-09 14:15:16.558 I 5@17: Stopped by failure

Please help!
Regards,
Romain

Henrik "The Developer" Lindqvist

unread,
Jan 9, 2022, 9:42:09 AM1/9/22
to Automate
Ensure the Automate network permission add-on app installed. Try rebooting the device.

Why don't it work with the "battery optimization" privilege, can't you install the app, i.e. v1.32+ or does it crash?

romain

unread,
Jan 9, 2022, 11:32:08 AM1/9/22
to Automate
Hello,
On the v1.32.2, when I check the option, Automate crash! On the first check, it prompt popup to grant permission, and the GRANT button redirect on the Home Screen of Fire OS.

I tried reboot device, sure I have installed the add-on app network permission v1.0.4 (block HTTP Get works!)

On all tested versions, the Wake-On-Lan does not work with the same permission error.

Regards,
Romain

Henrik "The Developer" Lindqvist

unread,
Jan 9, 2022, 1:35:25 PM1/9/22
to Automate
Odd. You should still be able to run flows, just click the Never button in the "grant" dialog. I'll see if i can fix the crash.
 I don't understand why a simple socket bind wouldn't be permitted.
What is the Network interface field set to?
As a test, set it to -1 by clicking the fx icon and typing it in.

romain

unread,
Jan 9, 2022, 2:06:20 PM1/9/22
to Automate
Hello,
Thank you very much for your help, the -1 value works!

I tried all interfaces :

= WiFi error :
android.system.ErrnoException: Binding socket to network 100 failed: EPERM (Operation not permitted)

= Others interface error :
java.net.SocketTimeoutException: Network interface unavailable

Regards,
Romain
Reply all
Reply to author
Forward
0 new messages