I wanted to share a project I have been working on. I started this project for myself as a way to have a table based view of my devices and to also automatically generate the code that would help me in my scene scripting.
I struggled with where to post this, as I think it has a few different use cases and I plan to extend it shortly. I wanted to get this out though so I could get feedback and ideas for how to extend it.
First of all, this pulls all of the user_data directly from your micasaverde. This means all of the information that is specific to your vera. The good news, is that this data is not saved by me. I chose to manipulate all of the data as session variables and not store it in a database.
The bad news is that you have to take my word on this and that I do not have this protected via SSL at the moment.
If you are concerned about this, create a temporary username and password and remove it after you have tried this out. I will be looking to protect this via SSL at some point, but it is an extra fee for me to enable it on my site.
If certain things do not display properly, I am happy to try and troubleshoot, but may need your help - if that occurs, I will work with you through PM.
Some of the upcoming features I am planning on adding is to list out all scenes on the vera and their details.
I also am trying to figure out if I want to change the layout at all - suggestions are welcome. I am also looking to know if you think this is a worthwhile project for me to keep publishing. If it is, I will keep incorporating a login option, otherwise, it is easier for me to develop this for myself!
Try replacing the items below with your specifics and see if data comes back to you. If it does, then something of mine isn’t working. If it doesn’t, then we need to determine if the URL I am using is correct. I assume that everyone sees fwd6.mios.com when logging in through cp.mios.com.
Just curious, but are you storing anyone’s login credentials? If so what kind of protection do I have against you using them yourself or what protection you have for protecting that data? Is this purely JavaScript driven with no interaction with a third party server ( yours)?
Sorry to be the devil’s advocate but I don’t look kindly on just handing out that kind of data.
I actually specified that in the original post, but can understand the concern. I am not capturing any login details outside of them being stored as a session variable, which is tied to your browser. Nothing that I have written stores any data, but I did utilize PHP to do most of the parsing and logic here, so I can’t just distribute this for someone to run on their vera, like the datamine plugin does.
With that being said, if you are still concerned, create a new user account to test it out and see if it is useful for you.
I truly started building this for myself, and realized this may be helpful for others. The original code had my url hardcoded in to pull the data from Vera. I had to go and add in this logic to support others and technically, until I hear that it works for someone else on here, I won’t know that it works for anyone but me.
[quote=“airedale, post:9, topic:180429”]I actually specified that in the original post, but can understand the concern. I am not capturing any login details outside of them being stored as a session variable, which is tied to your browser. Nothing that I have written stores any data, but I did utilize PHP to do most of the parsing and logic here, so I can’t just distribute this for someone to run on their vera, like the datamine plugin does.
With that being said, if you are still concerned, create a new user account to test it out and see if it is useful for you.
I truly started building this for myself, and realized this may be helpful for others. The original code had my url hardcoded in to pull the data from Vera. I had to go and add in this logic to support others and technically, until I hear that it works for someone else on here, I won’t know that it works for anyone but me.[/quote]
Sorry, I missed that in your original post. My bad completely, and I’m not necessarily saying that you are out to get us, Its just a concern I wanted to bring up
Have you given any thought to using JS to do the parsing? You can tell the Vera to return the data in JSON format. Then it would all be “local code” instead of having to depend on PHP (or any other server side application).
I would try it locally (I have a server I could put PHP on, or I could transcribe it to something else (I run a coldfusion server in the house for work)). No offense to you, but I just won’t be giving out my credentials. Could you do a video of it and put it on youtube?
I have been at work updating the code to pull the variables that are available for each device. Now you can see exactly what you can pass as actions or query on.
It is very helpful when you consider devices like Futzle’s timer or HVAC Z-Wave devices.
Please let me know if anyone has other ideas that could be useful.
I tried to login but “Login Failed”. Is this because of GetVera’s changing the remote servers?
I’m new to Vera and I think this is what I’m looking for to help learn. If I understand it right, this will take a scene and display the underlying code, correct?
Tempting but like Sirmelli I’m wary of giving out credentials. I have a background in IT Security that may make me a bit more paranoid than most.
I run multiple servers at home and it would be easy for me to install and configure PHP to Apache on the test one so I can run this locally. Would you be willing to share your code?
Best Home Automation shopping experience. Shop at Ezlo!