0.1.8 • Published 4 years ago

pimatic-wmi v0.1.8

Weekly downloads
16
License
GPL-2.0
Repository
github
Last release
4 years ago

pimatic-wmi

npm version dependencies status Build Status

A pimatic plugin to query windows hosts using windows management instrumentation.

Plugin Configuration

{
      "plugin": "wmi",
      "debug": false
}

The plugin has the following configuration properties:

PropertyDefaultTypeDescription
debugfalseBooleanDebug mode. Writes debug messages to the pimatic log, if set to true

Device Configuration

The following device can be used:

WmiSensor

The WmiSensor displays the output of your specified command to the gui.

{
		"id": "wmi1",
		"class": "WmiSensor",
		"name": "WMI Sensor",
		"host": "",			
		"username": "",
		"password": "",
		"command": ""
}
PropertyDefaultTypeDescription
host-StringHostname or IP address of the Windows Host
username-Stringlocal or domain user with administrative privileges
password-StringPassword for the user specified
command-StringCommand which will be executed.
interval60000NumberThe time interval in milliseconds at which the command is queried
attributes-ObjectAttributes are automatical saved to config for later support for rules

If you already created a WmiSensor device and you change the command later, all attributes from this device need to be deleted, before the new attributes are shown!

If you running pimatic on windows and want to query the local machine, you need to leave the username and password fields empty!

Examples

For Examples see WMI Queries.

ToDo

  • Add automatic clearing of attributes if command was changed

History

See Release History.

License

Copyright (c) thost96 and contributors. All rights reserved.

License: GPL-2.0.

0.1.8

4 years ago

0.1.7

7 years ago

0.1.6

8 years ago

0.1.2

8 years ago