Hi!
As the topic says, is it possible to turn off a Android tablet screen in the same network as the Domoticz is located by turning on a switch in Domoticz?
That was a long question, but i hope you understand what i mean
Turn screen off on tablet with Domoticz switch.
Moderator: leecollings
Re: Turn screen off on tablet with Domoticz switch.
I haven't used Android for years but IIRC it has power profiles.
If so you could set a profile for when on battery = screen off, when on mains power = screen always on.
then just have Domoticz toggle the plug socket that powers it?
If so you could set a profile for when on battery = screen off, when on mains power = screen always on.
then just have Domoticz toggle the plug socket that powers it?
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Turn screen off on tablet with Domoticz switch.
Thats a great idea, i have the tablet on the wall and using Domoticz Android app to control my devices, and the screen is always on, i just trough that it could be turned off when we arent home, and this should ofcourse be automatic.theolsen wrote:I haven't used Android for years but IIRC it has power profiles.
If so you could set a profile for when on battery = screen off, when on mains power = screen always on.
then just have Domoticz toggle the plug socket that powers it?
I have the burglar alarm connected to domoticz, so i can turn the alarm on/off using Domoticz, and trough that also be able to turn the screen on and off.
Re: Turn screen off on tablet with Domoticz switch.
Glad to be of help.
There may be other ways...perhaps using an ssh call to the tablet but i reckon it would over complicate things.
There may be other ways...perhaps using an ssh call to the tablet but i reckon it would over complicate things.
-
- Posts: 4
- Joined: Thursday 12 January 2017 10:15
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Turn screen off on tablet with Domoticz switch.
While this isn't exactly a solution for you original request, maybe it will solve your requirement.
There is a solution that turns on tablet screen based on motion detection by the device's front camera.
I haven't tested it myself, but I will give it a try.
http://android.stackexchange.com/questi ... 0884#80884
Cheers
Lech
There is a solution that turns on tablet screen based on motion detection by the device's front camera.
I haven't tested it myself, but I will give it a try.
http://android.stackexchange.com/questi ... 0884#80884
Cheers
Lech
-
- Posts: 115
- Joined: Sunday 11 January 2015 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Turn screen off on tablet with Domoticz switch.
This can be achieved with Tasker or Automate. With a proper plugin (e.g. Pushover) Tasker or Automate can listen to a command from Domoticz and lock your screen.
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Turn screen off on tablet with Domoticz switch.
ok good , i actually use pushover with domoticz,RayAmsterdam wrote:This can be achieved with Tasker or Automate. With a proper plugin (e.g. Pushover) Tasker or Automate can listen to a command from Domoticz and lock your screen.
which one, tasker or automate ,is the easiest plugin to use for this thing i want?
-
- Posts: 115
- Joined: Sunday 11 January 2015 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Turn screen off on tablet with Domoticz switch.
I use Automate. When you already use Pushover, it acts as plugin for Automate.
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Turn screen off on tablet with Domoticz switch.
I enable the screen based on movement this works fine, I've used the description on this forum (did not check the one mentioned above)ljoncz wrote:While this isn't exactly a solution for you original request, maybe it will solve your requirement.
There is a solution that turns on tablet screen based on motion detection by the device's front camera.
I haven't tested it myself, but I will give it a try.
http://android.stackexchange.com/questi ... 0884#80884
Cheers
Lech
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Who is online
Users browsing this forum: No registered users and 0 guests