the goal of this module is to get information from you CCU2 without using the Web Interface.
This is helpful specially for Dokumentation, Firmwareupdates etc.
The Module can be installed from the Powershell Module Gallery.
Install-Module Homematic-CCU2 -Scope CurrentUser
Import-Module Homematic-CCU2
Connect to CCU2:
Connect-CCU2 -ccu2_name homematic-ccu2.fritz.box -Username Admin -Password ""
this will retrive a Homeatic Session ID. The SessionID and the Connection URL will be stored as Global Variables in Powershell. To disconnect from CCU2, use
Disconnect-CCU2
Checking Firmware States
Get-CCU2DeviceFirmwareState -interface HmIP-R
The Modules are Prepared for catchin Errors from CCU2 Calls. However, the error responses still need to be translated.