2023.05.12
this script gets all json files from a siemens hmi
the json files stored on the SDCARD see storage configuration
the filename is defined as follow [ProductionNR][MachineName][YYMMDDHHmmSS].json
the Warnings and Errorlogs are stored in [AlarmeWarnungen][MachineName][Nr].csv
the Configfiles are downloadable by using the backup argument
example:
hmicrawler.exe --url 'https://192.168.10.200:443' --dest '/tmp/fish' --backup --user '#youruser#' --password '#mypwd#'
compiled by pyinstaller
pyinstaller --hidden-import requests --onefile hmicrawler.py