< Back

Get-MJVeraStatus

Sat Jan 11, 2020 3:52 am

NAME Get-MJVeraStatus



SYNOPSIS

This function will extract all information from your Vera controller and create an objects.





SYNTAX

Get-MJVeraStatus [-VeraIP] <String> [-RequireLogin] [-VeraCredential <PSCredential>] [<CommonParameters>]





DESCRIPTION

This function is one of the important commands to extract all info from your Vera controller.

It will collect, devices, alerts, rooms. It will merge two objects into the ???????Devices??????? class to get access to name

and room more easy.

The original device will be found under DeviceRaw



Created by Ispep

Added 2016-06-07

WWW.Automatiserar.se





PARAMETERS

-VeraIP <String>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-RequireLogin [<SwitchParameter>]

Provide the IP or DNS name to your Vera Controller.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-VeraCredential <PSCredential>

If you require your controller to apply login use this switch and provide credential to your vera..



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





This component requires you to have a Vera controller.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-MJVeraStatus -VeraIP vera



Devices : @{}

DeviceRaw : @{}

DeviceVerbose : @{}

Rooms : @{}

Scenes : @{}

Alerts : @{}

LocalTime : 2016-06-07 23:22:00 N

visible_devices : [int]

sensors_not_tripped : [int]

fwd1 : [string]

fwd2 : [string]

Server_Device : [string]

Server_Device_Alt : [string]

RA_Server : [string]

RA_Server_Back : [string]

Mode : [int]

mode_change_mode : [int]

mode_change_time : [int]

breach_delay : [int]

mode_change_delay : [int]

skin : [string]

temperature : [string]

City_description : [string]

country_pk : [string]

model : [string]

serial_number : [int]

Version : [string]

Device_Num_Next : [int]

Scene_Num_Next : [int]

gmt_offset : [int]

InstalledPlugins : @{}

usergeofences : @{}

awayStateAllUserNotAtHome : [int]

homeStateAnyUserAtHome : [int]

users : @{}

ScriptVersion : [int]









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-MJVeraStatus -VeraIP vera -RequireLogin -VeraCredential (Get-Credential)



Devices : @{}

DeviceRaw : @{}

Rooms : @{}

Scenes : @{}

Alerts : @{}

LocalTime : 2016-06-07 22:03:33 D

visible_devices : 8

sensors_not_tripped : 4

fwd1 : *URL to veras service*

fwd2 : *URL to veras service*

skin : mios

temperature : C

model : MiCasaVerde VeraLite

serial_number : *[int value]*

Version : *1.7.760*

ScriptVersion : 1











RELATED LINKS