Welcome,
Guest
. Please
login
or
register
.
November 22, 2024, 01:52:04 AM
Home
Search
VoxCommando
Wiki
SMF help
FAQ
Downloads
Purchase
Login
Register
VoxCommando
»
New Features and Feature Requests
»
Feature Requests
»
status register or store
« previous
next »
Print
Pages: [
1
]
Author
Topic: status register or store (Read 1393 times)
0 Members and 1 Guest are viewing this topic.
aussie mate
Jr. Member
Posts: 27
Karma: 2
status register or store
«
on:
March 26, 2014, 07:06:46 PM »
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.
Logged
Go Manly, NSW & the All Blacks
nime5ter
Administrator
Hero Member
Posts: 1999
Karma: 61
Re: status register or store
«
Reply #1 on:
March 26, 2014, 07:21:27 PM »
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.
«
Last Edit: March 26, 2014, 09:14:04 PM by nime5ter
»
Logged
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
Administrator
Hero Member
Posts: 7714
Karma: 116
Re: status register or store
«
Reply #2 on:
March 26, 2014, 08:16:19 PM »
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.
Logged
Getting Support
Print
Pages: [
1
]
« previous
next »
VoxCommando
»
New Features and Feature Requests
»
Feature Requests
»
status register or store