Repository navigation
Watch AwtrixScreen
Watches and renders an AWTRIX NG screen in the terminal.
Watch-AwtrixScreen [-Device] <Object> [[-IntervalMilliseconds] <Int32>] [[-DurationSec] <Int32>]
[[-FrameCount] <Int32>] [[-RenderingMode] <AwtrixTerminalRenderingMode>] [-ShowUnchanged] [-PassThru]
[<CommonParameters>]
Polls the AWTRIX screen endpoint and redraws the matrix whenever its pixels change. The watch runs until interrupted unless DurationSec or FrameCount is specified.
Watch-AwtrixScreen -Device 'clock.local'
Watch-AwtrixScreen -Device 'clock.local' -DurationSec 30 -PassThru
Specifies a host name, IP address, URI, or object returned by New-AwtrixDevice.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the maximum watch duration in seconds. Zero means no time limit.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the maximum number of screen polls. Zero means no frame limit.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the delay between screen polls in milliseconds.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: 500
Accept pipeline input: False
Accept wildcard characters: FalseReturns each rendered frame for additional processing.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies automatic, ANSI true-color, or ConsoleColor rendering.
Type: AwtrixTerminalRenderingMode
Parameter Sets: (All)
Aliases:
Accepted values: Auto, Ansi, ConsoleColor
Required: False
Position: 5
Default value: Auto
Accept pipeline input: False
Accept wildcard characters: FalseRedraws frames even when their pixel data has not changed.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- Berry Scripts
- Getting Started
- HTTP API
- Icons and Files
- MQTT
- MQTT Stopwatch Walkthrough
- Safety and Testing
- Clear AwtrixIndicator
- Disable AwtrixAppRotation
- Disable AwtrixDisplay
- Enable AwtrixAppRotation
- Enable AwtrixDisplay
- Get AwtrixApp
- Get AwtrixBrightness
- Get AwtrixCapability
- Get AwtrixDisplay
- Get AwtrixFile
- Get AwtrixIcon
- Get AwtrixMqttBroker
- Get AwtrixScreen
- Get AwtrixScript
- Get AwtrixScriptConfiguration
- Get AwtrixSettings
- Get AwtrixStatus
- Get AwtrixStorage
- Install AwtrixStopwatch
- Invoke AwtrixApi
- New AwtrixDevice
- Publish AwtrixMqttMessage
- Receive AwtrixMqttMessage
- Remove AwtrixIcon
- Remove AwtrixNotification
- Remove AwtrixPushedApp
- Remove AwtrixScript
- Save AwtrixIcon
- Select AwtrixApp
- Send AwtrixNotification
- Set AwtrixBrightness
- Set AwtrixIcon
- Set AwtrixIndicator
- Set AwtrixPushedApp
- Set AwtrixScript
- Set AwtrixScriptConfiguration
- Set AwtrixSetting
- Show AwtrixScreen
- Start AwtrixMqttBroker
- Stop AwtrixMqttBroker
- Update AwtrixFirmware
- Watch AwtrixScreen