4billl wrote:Dave -Everything is working as inputs correctly.
But I had another request: On a couple of the 4-chan analog 0-10V devices, I ordered some with LED & relay.
Is it possible to control the LED & relay in Indigo? I can toggle them from the OW Server IP. But when I try to configure a trigger event for the LED or relay, I get to your "Send Command to 1-Wire Device " and in the next box "Configure ...", I can select the Server IP and the Sensor ID, but what do I put in the Variable Name and Value? I tried both" owsLED" and "owsLEDState" with the value of "1" as that was the change I saw when toggling via the server IP.
But neither did anything.
Ideas?
Hi Bill - glad to hear that this inputs are still working for you. With respect to controlling the LED and relay--yes, it is possible--but we need to write to the EDS variable name and not the Indigo state name. Let's start with a simple test.
From the Indigo menu, select: [Plugins] --> [OWServer] --> [Send Command to 1-Wire Device]
Within the pop-up dialog box, select the server IP address and corresponding ROM ID of the sensor, and then enter following:
Variable Name: LEDState
Value: 1
This should turn on the LED of the device (enter a zero to turn the LED off.) Indigo won't know that the LED has turned on until it refreshes the data for all sensors based on your preferred refresh interval. If you like, you can opt to force a refresh through the plugin settings menu. This *should* work. The function of the trigger should be essentially the same steps. Please let me know if this doesn't work for you.
It would be great if the report to Indigo was more instantaneous; and it will be in Gen2 of the plugin, which is being built with control as a core feature.
Dave
PS: Any writable feature can be controlled or written to in this way. To see what's writable for your devices (and the corresponding variable to write to) look at the devices.xml and then look for a variable attribute Writable=True. For example:
- Code: Select all
<LEDState Writable="True">0</LEDState>
<RelayState Writable="True">0</RelayState>