PyMonitorMQTT | Python computer monitor that sends real time information via MQTT

PyMonitorMQTT

Screenshot Sensor

This sensor sends a picture of the screen.

For macOS users, read the paragraph below to enable screen sharing security.

Compatibility

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).

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!

  1. Run the script with the Screenshot sensor enabled
  2. You will receive a privacy message. Now close the script
  3. Open computer system’s settings, then enter into Security and finally into Privacy
  4. Open the lock on the bottom-left corner of the settings window
  5. Scroll until you find “Screen recording” permission
  6. In the list of apps with permission you’ll find Python: ensure that the checkbox is checked
  7. Close settings and restart the script

Policy

Who is using the computer must know he’s being recorded !