So here’s the scenario - This applies only if you’re trying to connect to Vera remotely
-
The Home Buddy on Android is a great app.
-
However, there is one small thing - If Home Buddy is not able to connect to mios servers then it’s not able to connect to vera.
-
I was thinking of of a small app like this that runs on your own server (of course you need to login etc,) that at least allows you to interact with your devices - Thoughts?
-
So the panels are collapsible and the screen shot here shows actual vera data that is pulled in by the app live. Need to add few more stuff to get this fully functional.
Homebuddy can connect to vera without requiring going through mios. That is if you are local. However there are several options. You can have Homebuddy connect through other means like ssh.
What language are you using for web?
VB.NET Garret.
Could you please shine some light on how to configure HomeBuddy to connect through SSL? I see Local option, then for remote you put in mios un/pwd and I think those are all the options I saw. Thanks.
Garret,
I’ve updated the Code that shows the data here:
http://wiki.micasaverde.com/index.php/Parsing_Vera_User_Data_-_Loadable_as_.NET_Dataset
But its only handful:
Dim UserDataset As DataSet
Dim ud As UserData
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
If Session(“UserData”) Is Nothing Then
ud = New UserData
Session(“UserData”) = ud.Parse_UserData_To_DataSet(“d:\test”)
End If
End If
UserDataset = Session(“UserData”)
GetData()
End Sub
Sub GetData()
Dim RoomsTable As DataTable = UserDataset.Tables("rooms")
Me.RoomsGrid.DataSource = RoomsTable
Me.RoomsGrid.DataBind()
RoomsGrid.ShowHeader = False
Dim ScenesTable As DataTable = UserDataset.Tables("scenes")
Me.ScenesGrid.DataSource = ScenesTable
Me.ScenesGrid.DataBind()
ScenesGrid.ShowHeader = False
Dim DevicesTable As DataTable = UserDataset.Tables("devices")
Dim drRemove As DataRow() = DevicesTable.Select("invisible=1")
For Each dr As DataRow In drRemove
DevicesTable.Rows.Remove(dr)
Next
Me.DevicesGrid.DataSource = DevicesTable
Me.DevicesGrid.DataBind()
DevicesGrid.ShowHeader = False
End Sub
[quote=“mysticjay, post:3, topic:169248”]VB.NET Garret.
Could you please shine some light on how to configure HomeBuddy to connect through SSL? I see Local option, then for remote you put in mios un/pwd and I think those are all the options I saw. Thanks.[/quote]
For “SSH”, you would install a ssh server on your computer. I would assume your computer is windows? Since you are developing a web application for your own web server, that machine is most likely on all of the time. For windows have a look at WinSSHD. It is free for non commercial use. I think there is a limit on how many active connections there can be. But you would set that up to allow for remote access. You would then download connectbot (ssh client for android) and have that connect to your ssh server with port forwarding setup. E.g. you would forward to vera’s ip and 3480 which homebuddy uses. You can also add another port forward for http to vera if you want web access as well. In homebuddy you would setup the application for local access and the ip would be 127.0.0.1 (localhost). After that you should be good to go. All you would have to do is fire up connectbot, connect to your ssh server and then fire up homebuddy to control your devices.
Wow. Thanks Garret - Learning new all the time . I did not know about connect bot until you mentioned. I’ll try this sometime. That’s exactly what I was looking for - something that would allow me to connect to vera directly 
It requires a few extra clicks to connect and have access to vera, but at least you have “direct access” and it is secure as well.