Skip to content

Files

Latest commit

 

History

History
99 lines (54 loc) · 1.32 KB

Watch-NanoLeaf.md

File metadata and controls

99 lines (54 loc) · 1.32 KB

Watch-NanoLeaf

Synopsis

Watches a NanoLeaf for touch events


Description

Watches a NanoLeaf for touch events.

A background job is launched to monitor for UDP messages from a given Nanoleaf.

These messages are unpacked and translated into PowerShell events:

  • NanoLeaf.Touch.Hover
  • NanoLeaf.Touch.Hold
  • NanoLeaf.Touch.Down
  • NanoLeaf.Touch.Up
  • NanoLeaf.Touch.Swipe

Related Links


Examples

EXAMPLE 1

Watch-NanoLeaf

Parameters

IPAddress

The IP Address of the NanoLeaf.

Type: [IPAddress]

Required: false

Position: 1

PipelineInput:true (ByPropertyName)


NanoLeafToken

The nanoleaf token

Type: [String]

Required: false

Position: 2

PipelineInput:true (ByPropertyName)


TouchEventsPort

The UDP port used for TouchStreamData

Type: [String]

Required: false

Position: 3

PipelineInput:true (ByPropertyName)


Outputs


Syntax

Watch-NanoLeaf [[-IPAddress] <IPAddress>] [[-NanoLeafToken] <String>] [[-TouchEventsPort] <String>] [<CommonParameters>]