These two tasks are simple to do with built-in dashboards, no other workarounds needed.
This is more of an administrative task and may require a solution that allows for access to the hubās admin interface, like a VPN. Iām not hugely familiar with smart locks and how to change/update codes, so itās conceivable thereās a way to do this without having to directly access the hubās admin interface.
Thanks @marktheknife so if you are saying that app functionality could add the lock code feature to the dashboard this would be perfect for me. Can anyone suggest how this can be done?
I believe this feature was added by the use of variables to dashboards and rule machine. I'm sure it was something that one of the HE team showed in one of their YouTube videos. I don't have locks so can't test. I would have a look at their channel (they are worth a watch anyway) and see if there is something on there.
There was something on Hubitat Live! (as alluded to by @BorrisTheCat and @neonturbo), but I can't find it right now. That being said, I know that @damon.dinsmore posted instructions on how to do it using variables. Here is a link to his post:
For the least path of resistance, I used to use TeamViewer on my windows server (where I run Plex as well), but have actually migrated over to Chrome Remote Desktop. It's a bit lower in quality, less features, etc. but for what I need it is great, and to be frank the Mobile (iOS) client is fantastic in bringing in both Mouse or Touch support to be able to do something from your small phone.
@jacobwtyler I have the same hardware as you. Were you able to get this working, any suggestions before I set up PiVPN on a RPi? Did you have to do anything special on your Velop?
I used the OpenVPN with my Asus router. its just like being on my home network from anywhere. using my hubitat is just one thing. allows me to remote into one of my computers and watch my home cable. access my home Nas to store videos of grandbaby. whatever I an do from home I can do from states away. I can do it from my computer or android cellphone. just one click away.
I used to do that but recently switched to cellular home internet. There is no public IP address and thus no way to get to the vpn. I donāt always have a computer running so TeamViewer is not a viable solution. I wish HE would open up remote access like the dashboards are.
I'm not understanding how this works. Without an IPv4/IPv6 address, how does your router route packets to the "internet"?
Or is it something like double-NAT, where your cellular router gets a private IP address, and then assigns local addresses in a different private subnet?
I donāt fully understand it myself. But the cellular has a public and private ips which cause the issue. There are other folks on this forum who understands it better than me.
That uses a Custom Action to set or delete the lock code (on a virtual lock called "a lock", in this case). The first parameter is a number, and identifies the slot for the code to be set. The second parameter is a string, the code itself. That can be set from a Dashboard, using a Variable template on the global variable connector called "Lock Code". When you set it to a code, that becomes the code; when you set it to 0 it removes the code from the lock.
Here is the state of that lock device right after setting it from the Dashboard.
Variants of this could be done to allow multiple lock codes to be set/cleared, using multiple variables to convey the code number and code. The key things going on are that the global variable connectors can be set from a Dashboard, and can cause a rule to be triggered when changed. Their value can be referenced in the rule and used in Custom Actions as shown.
@bravenel documented how to do this here: Use Dashboard to Manage Lock Codes and with me a newbie at this asking dumb questions, perhaps the thread might be helpful to others. It works on my Schlage Connect z-wave lock.
I did port forward on Google Wifi. Now I can access Dafang hacked cameras just fine remotely but not Hubitat. Public address works on home network but not outside. Any idea why I cannot access Hubitat? No moral or security preach, please.
This is Hubitat Incās design decision in the hub platform as of 2.2.9.
Either access your hub via some secure mechanism like a VPN (or TeamViewer etc), or use a reverse proxy, or purchase a subscription to Remote Access.
Correct. Hubitat has made it clear this design decision is not up for debate. And does not limit secure hub access via the internet. Nor does it necessitate a Remote Access subscription.
That is exactly why they fixed this, it was a huge security flaw. If you could access your hub in this way, everyone in the world potentially could too.
This recent thread pretty much summarizes what went into the decision. Itās short because the OP really insisted on acting conspiratorial and aggrieved, so the thread ended up closed.