I recently obtained a Rittal CMC-TC PU II environment monitoring system. With any device, I always like to update it to the latest firmware possible and went on the hunt for firmware files for the CMC. Luckily, I found Rittal still freely provides the required files.
The update process isn’t as straightforward as just uploading a binary file to a web interface or even tftp’ing it over. Instead, the supplied instructions tell you to run a .bat file to perform the update. As I don’t run Windows, and running random scripts downloaded from the internet perhaps isn’t the greatest idea anyway, I tried figuring out what the script was doing and how to replicate it on MacOS.