Python Desktop Capture

Python Desktop Capture

This post uses yet another process similar to an earlier post, https://www.cloudacm.com/?p=5414 where the desktop was piped to a MQTT broker. This post will not be restricted to systems with powershell. Instead it will use python libraries to capture the desktop screen and send that data to a MQTT broker. The following python script uses the mss library. More information about the library can be found here, https://pypi.org/project/mss/. It’s described as “an ultra-fast cross-platform multiple screenshots module in pure python…

Read More Read More

Optimizing Node-RED

Optimizing Node-RED

I’ve used Node-RED for several years for various odds and ends. Node-RED’s history started with the IBM Emerging Technology Services team and now is a part of the OpenJS Foundation. The dashboard and flow editor are simple to setup and work with. The limit of node complexity is directly proportional to the developer, which makes it an ideal frontier to push. Pushing those limits can expose issues and that is where this post comes in. Hosting Node-RED by itself on…

Read More Read More

Desktop Capture to Node Red via MQTT

Desktop Capture to Node Red via MQTT

This post uses a similar process to an earlier post (https://www.cloudacm.com/?p=3974) where images are piped through a MQTT broker. This post will not be using FFMpeg or images captured with a camera. Instead it will use a native application to capture the desktop screen. PowerShell is a Windows native application that will be used to capture the desktop. PowerShell will call a MQTT publish process to forward the base64 data to a broker. Although the MQTT application is not native,…

Read More Read More

Nextion Integration

Nextion Integration

This post will expand on the CYD post here, (https://www.cloudacm.com/?p=5386). Instead of using the all encompassing CYD platform, a Nextion display will be used. Much of the code used in the CYD will be used here with some minor adjustments. The hardware used here is the Nextion HSD035383B4 which connects to a ESP32-C3 module. In addition, a SPI micro-SD module was attached to provide data logging. The code for the ESP32 module can be found here, https://github.com/cloudacm/ESP32-C3-Nextion-microSD The Nextion display…

Read More Read More