PyMonitorMQTT
Screenshot Sensor
This sensor sends a picture of the screen.
For macOS users, read the paragraph below to enable screen sharing security.
Compatibility
- macOS
- Linux
- Windows
Data and Topics
.../screenshot
basic
Screenshot image
Configuration
custom_topics
optional
List of String
List of topics to which the sensor will send the data.
If the sensor sends to a single topic, you will have to put one topic in the list.
If the sensor sends to more than one topic, you can register more topics; each topic in the list will be assigned in the same order as topics are added from the single sensor (order that you can check in the each individual sensor file).
If the sensor sends to a single topic, you will have to put one topic in the list.
If the sensor sends to more than one topic, you can register more topics; each topic in the list will be assigned in the same order as topics are added from the single sensor (order that you can check in the each individual sensor file).
Enable screenshot on macOS systems
On newest macOS versions, you have to enable screen sharing permission to allow the script to take a picture of the screen.
Follow this guide and you’re done!
- Run the script with the Screenshot sensor enabled
- You will receive a privacy message. Now close the script
- Open computer system’s settings, then enter into Security and finally into Privacy
- Open the lock on the bottom-left corner of the settings window
- Scroll until you find “Screen recording” permission
- In the list of apps with permission you’ll find Python: ensure that the checkbox is checked
- Close settings and restart the script
Policy
Who is using the computer must know he’s being recorded !