Neptune Apex integration

project_pets

(Garrette Grouwstra) #1

Hi all,

Im wondering if anybody has already created a smartapp / device type for the neptune apex? its only external interface is a read-only XML. In theory, I would like to be able o take an action based on if an outlet / probe is a value or state.

If nobody has created an existing smartapp, does anybody have thoughts as to how I could approach creating one for a scenario as this?

An example of the xml is below

<status software="4.52_5A17" hardware="1.0">
<hostname>apex</hostname>
<serial>redacted</serial>
<timezone>-6.00</timezone>
<date>09/12/2017 13:18:24</date>
<power>
<failed>07/26/2017 14:14:10</failed>
<restored>none</restored>
</power>
<probes>
<probe>
<name>Tmp</name>
<value>78.5</value>
<type>Temp</type>
</probe>
<probe>
<name>pH_tan</name>
<value>8.13</value>
<type>pH</type>
</probe>
<probe>
<name>dTemp</name>
<value>79.0</value>
<type>Temp</type>
</probe>
<probe>
<name>Condx12</name>
<value>0.0</value>
<type>Cond</type>
</probe>
</probes>
<outlets>
<outlet>
<name>VarSpd1_I1</name>
<outputID>0</outputID>
<state>1_SPD</state>
<deviceID>base_Var1</deviceID>
</outlet>

(James Andariese) #2

In fact, I just made this today:

If you try it, let me know how it works for you. I forgot that it basically has no docs so it might be hard to setup.