Simple Serial Plugin - just to use for debugging

Pool / Spa Integration - Ain't life, and Indigo, GREAT when you can turn on the spa from the restaurant, and it's ready when you get home!
Vig
Posts: 111
Joined: Tue Oct 06, 2015 8:09 am

Re: Simple Serial Plugin - just to use for debugging

Post by Vig »

Hi Jim,

My fault, I don't think I explained my question correctly. Basically, I am controlling my projector with SimpleSerial by sending the hex code to turn the projector On and Off. There is also a hex code that I can send to the projector using SimpleSerial to poll the On/Off state and the projector will reply back with a Hex code whether it's On or Off. My question: is there a way to somehow pass that information to the Indigo Touch or to the Indigo GUI to visually see if the projector is in On or Off state?

thanks,
Vig.
yergeyj
Posts: 260
Joined: Wed Dec 29, 2004 7:30 am

Re: Simple Serial Plugin - just to use for debugging

Post by yergeyj »

OK Vig,

I have been meaning to reply in a useful fashion for 3-4 months now, but will be honest ... I'm in the process of opening a brewery and just haven't had time to research your question properly.

Indigo DOES have the capacity to include icons / states for a device (e.g. a SimpleSerial device), however, I still haven't implemented this for any of my plugins or devices, and just haven't had time to figure out how to do it.

Sorry, but I guess it still remains simply a Simple Serial plugin. :wink:

Jim
mat
Posts: 769
Joined: Thu Nov 25, 2010 10:48 am
Location: Cambridgeshire - UK

Re: Simple Serial Plugin - just to use for debugging

Post by mat »

How about a trigger:

Trigger
Type: Device state change [your projector]
Last response - hex (if thats how you are communicating)
Has any change

with an Action in the trigger of
Type:Insert device state into variable
Device [your projector]

then in the edit actions settings:
insert state : last response hex
select your chosen variable.

The on your control page(s) use the variable value to display heuristic images representative of the state?
Late 2018 mini 10.14
Vig
Posts: 111
Joined: Tue Oct 06, 2015 8:09 am

Re: Simple Serial Plugin - just to use for debugging

Post by Vig »

Jim and Mat, thanks for the replies!
Trigger setting suggested by Mat did work just fine! Thank you Mat. Didn't realize the power of Triggers :)

Good luck with the Brewery Jim!
cutmoney
Posts: 35
Joined: Thu Dec 22, 2011 3:06 pm

Re: Simple Serial Plugin - just to use for debugging

Post by cutmoney »

Does anyone know if this plugin is available for download? I would PM the dev, but it seems that he is quite busy at the moment.
yergeyj
Posts: 260
Joined: Wed Dec 29, 2004 7:30 am

Re: Simple Serial Plugin - just to use for debugging

Post by yergeyj »

Per the original post, if you PM me with your e-mail, I will send a copy of the plugin.

Jim (the dev)
hamw
Posts: 1243
Joined: Mon Mar 31, 2008 7:45 pm

Re: Simple Serial Plugin - just to use for debugging

Post by hamw »

How do I turn off the debug output?
Post Reply

Return to “Yergey's Forum”