Wake screen from camera motion event

I’ve got a Raspberry Pi set up as a security camera and that’s working nicely on a tile on one of my dashboards. The motion detection on the software I’m using (RPi Cam Web Interface) is quite customisable and allows you to do an http request when it detects motion. So, what I’d like to be able to do is set it so that the http end point triggers a virtual switch, or something, which would wake the screen. I’ve got a Kindle Fire in the lounge. The idea is that the screen would wake up if the cam on the front door detects motion.

Does this sound doable?

1 Like

I think you could do this with Fully browser https://www.ozerov.de/fully-kiosk-browser/#rest

You could make it load the camera image in full screen browser too I think…

I have my TinyCam pulling the tablet camera image via Fully


Done! WallPanel has an API. So you just send a bit of JSON and you can do things like waking the screen, setting the screen brightness, etc. I tried it last night using Postman, just got to set it up on the Pi.


Awesome! Glad to hear you got it working!

For anyone else who might find this thread while searching, you can find details for the WallPanel API in the following page:

1 Like

If you want a bit of Python that wakes the screen for 3 minutes then try this:

import requests
url = "http://xxx.xxx.xxx.xxx:2971/api/command"
payload = "{\"wake\": true, \"wakeTime\": 180}"
    headers = {
    'cache-control': "no-cache",
    'Postman-Token': "23f49f3b-d769-4127-b740-d86a551c2101"
response = requests.request("POST", url, data=payload, headers=headers)

You just need to change the xxx bit to the IP address of your tablet on your network but WallPanel will show you this.


And it’s actually this one you want to be looking at: