I’ve not personally tried getting a value in via the mappings so cannot really comment. I am a bit time poor this week so will be unable to test myself and assist.
is there a documentation where I could reach such information ?
I look at the main ST documentation in the IDE, just click the documentation link. Does that not cover this use case in the mappings section of the creating your smartapp chapter?
I can’t find the mapping section. Are you sure it is there ?
got it. problem solved
Just a general question here along a similar theme… not wanting to hijack the thread.
I have a lighting system where I can log on via a TCP socket and request the state of a light(s) . It returns the level and on/off state. If the socket remains open it asynchronously returns additional information should the state of that light change in any way.
Using the current cloud based implementation would I be able to handle this with a SmartThings app ? i.e. can I open a TCP socket and keep it open indefintely reacting to any further data returned ? I’m suspecting this is not currently possible due to the restriction on local processing and/or possibly no socket level comms (?)
K
If you have an external server which you could write scripts on it, (like my router) you can achieve that easily.
Now that I have communication between my router and the ST cloud , I can get any information and push to the cloud.
Thanks to all for your contribution. It is helpful information for me also.