Project

General

Profile

Installation » History » Version 4

Luke Murphey, 04/07/2015 05:06 AM

1 1 Luke Murphey
h1. Installation
2 1 Luke Murphey
3 1 Luke Murphey
h2. Step 1: Verify Compatibility & Install App
4 1 Luke Murphey
5 4 Luke Murphey
You will need a PLM that supports an IP connection in order for Splunk to get the data. Supported devices include the original Hub (2242-222) and the new Hub Pro ("2243-222":http://www.smarthome.com/insteon-2243-222-hub-pro.html). The Hub II ("2245-222":http://www.smarthome.com/insteon-2245-222-hub.html) is not supported because it lacks the API necessary for external systems to get the Insteon traffic.
6 4 Luke Murphey
7 1 Luke Murphey
h2. Step 2: Setup Input
8 1 Luke Murphey
9 4 Luke Murphey
Make a new instance of an input to get the Insteon data by navigating to the data inputs page in Splunk Enterprise and making a new instance of an "Insteon PLM" input (Settings » Data inputs » Insteon PLM).
10 4 Luke Murphey
11 4 Luke Murphey
Once you make an input, you should see data with the following search:
12 4 Luke Murphey
13 4 Luke Murphey
<pre>
14 4 Luke Murphey
sourcetype=insteon_plm
15 4 Luke Murphey
</pre>
16 4 Luke Murphey
17 4 Luke Murphey
If you do not see events, look at the logs from the following search to see why the input is failing:
18 4 Luke Murphey
19 4 Luke Murphey
<pre>
20 4 Luke Murphey
index=_internal sourcetype=insteon_plm_modular_input
21 4 Luke Murphey
</pre>
22 4 Luke Murphey
23 2 Luke Murphey
h2. Step 3: Configure Device Data
24 2 Luke Murphey
25 4 Luke Murphey
You'll need to provide a list of the devices to the Splunk Insteon App so that it can identify the type of device that is communicating. To do this, just press the set button on each device to put it into linking more. Once in linking mode, the device will send its information to Splunk and Splunk will automatically store the information. You can see a list of devices that have not yet provided the information in the report titled "Devices Lacking Identification" (under the "Health" drop-down in the Insteon App).
26 4 Luke Murphey
27 4 Luke Murphey
*Note:* that it may take a few minutes for Splunk to recognize the data from the device; give Splunk a few minutes to recognize the data after you made the device enter linking mode
28 4 Luke Murphey
29 4 Luke Murphey
*Warning:* this doesn't work correctly on Windows platforms due to a problem in Splunk itself which prevents searches from updating lookup files. Thus, Windows hosts will not recognize the devices unless you edit the lookup file manually.
30 4 Luke Murphey
31 2 Luke Murphey
h2. Step 4: Setup Thermostat to Send Data (optional)
32 2 Luke Murphey
33 2 Luke Murphey
# Shutdown any existing connections to the PLM (since it will allow only one connection at a time).
34 3 Luke Murphey
# Run HouseLinc and connect to the PLM.
35 1 Luke Murphey
# Register the thermostat with HouseLinc (by pressing the set button and having HouseLinc look for the device)
36 1 Luke Murphey
# Create an alert in the Houselinc. This is done simply to make sure that HouseLinc sets up the thermostat with the PLM such that all of the events are monitored. You can disable the alert after you create it.