News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu

status register or store

Started by aussie mate, March 26, 2014, 07:06:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aussie mate

I'm not sure if this is possible or if it can be done by another method.

I was thinking that it would be good to have a feature that would allow VC to store a status of something so that it can then be used at a later time.
for example -
if I had a light turned on and that was recorded so that VC could use that information in it's logic without having to poll a device.
This would allow it to "remember" something that happened in the past and use that in it's logic.
if a weather report shows that it was raining/snowing/ hot etc  - then that status is stored and can be used later.

Yes - I know that these sort of things could be done using complex scraping commands and other fancy things however for the non programmers out there like me - a nice simple way to use the logic feature of VC to provide different conditional responses would be good feature to have.
Go Manly, NSW & the All Blacks

nime5ter

#1
I guess it depends what you mean by "status of things", but you can do this by getting that status of a device and storing it as a variable or in a map (more long term), or simply by writing that information to a file and then reading the file later.

So Vera users can store status information retrieved as {LastResult} via getstatus actions (http://voxcommando.com/mediawiki/index.php?title=Plugin_Vera#Get) either in a map or as a variable etc. And if you're using some other method to get the status of a device, you simply then store that result in the same way.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

This really does not belong in feature requests.  There is a wealth of information on this topic, on the forum, on the wiki, and in youtube videos.