...
Data is being captured and parsed, but not to the devices status section.
Also how are variables created and updated, I am hoping to put some dials on a controls page. second image attached
Again help really appreciated, ad thanks for the great plugin
moomin: which version are you using. I don't see the "parse str ..." log file output
- Screen Shot 2015-07-25 at 12.31.07 PM.png (42.86 KiB) Viewed 5402 times
in my latest version. May be I posted an older version? The most recent should be 1.2.2 here:
http://forums.indigodomo.com/viewtopic.php?f=178&t=14043&p=99821#p99821As for the "variables" I guess you mean the "STATES" e.g. Pin_A1 ..Pin_D5..
How to use: you need to use some python in an action or schedule server/script:
dev= indigo.devices["yourIndigoArduinoDeviceNameHere"]
a1= float(dev.states["Pin_A1"])
d5= float(dev.states["Pin_D5"])
or in one line:
a1= float(indigo.devices["yourIndigoArduinoDeviceNameHere"].states["Pin_A1"])
d5= float(indigo.devices["yourIndigoArduinoDeviceNameHere"].states["Pin_D5"])
will put the contents of the "state" "Pin_A1" of the device "yourIndigoArduinoDeviceNameHere" into a variable a1 as a floating point number if no float() it will be a string. You then can use it to e.g. send email etc.
How do "variables" get updated:
the plugin queries the arduino on a regular basis and then updates the "device- states". You can set the timing in the config menus.
Dont hesitate to ask questions.
hope that helps
Karl
ps
yourIndigoArduinoDeviceNameHere I believe is Arduino in your setup
and leave the quotes "xxx" in the code they indicate a string for the device name and state name.
you could use {12345] for the device ID instead of the name with "xxx": right click on the device in the indigo menu and select copy indigo Id to get the ID