This python module provides functionality to periodically query the WinCC alarm archives for alarms. Found alarms can be sent via email or as syslog messages.
- Poll WinCC alarm archives.
- Email or syslog found alarms.
- python 2.7
- python modules
- pywincc
- click
- jinja2
- premailer
- WinCC
- WinCC Connectivity Pack Client or Connectivity Station(?)
- Modify the registry (see below)
In order to enable the adodbapi module to work with the WINCCOLEDBProvider.1 proceed as follows.
Open 'regedit' and search for 'WINCCOLEDBProvider'. The first result should lead to
HKEY_LOCAL_MACHINE - SOFTWARE - Classes - CLSID - Some string (e.g. {3EE5243C-3779-4545-A573-F60ABC436816}).
Now, at this key, add a DWORD value with name "OLEDB_SERVICES" and value 0xffffffff.
See screenshot 'regedit_oledb_services.png'.
- WinCC 7.0 (previous or newer versions may also work)
- VPN connection to remote machine (e.g. OpenVPN)
- Firewall settings to allow connection from remote machine