Wifi Smart Locks for Business and Rentals
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Turn your locks into a smart lock system with RemoteLock. The RemoteLock API
enables users to build access control solutions for a variety of environments,
making controlling access easier than ever. With the RemoteLock API, users can
develop:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
remotelock: {
type: "app",
app: "remotelock",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.remotelock.com/user`,
headers: {
Authorization: `Bearer ${this.remotelock.$auth.oauth_access_token}`,
"Accept": `application/vnd.lockstate.v1+json`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})