AugustLock - Smartthings

Installed AugustLock Conttroller in Smartthings. All I get is "Lock is waiting." any thoughts?

I just followed the instructions and after some trial and error, I did get it to work.  I was stuck in the exact same spot as you.  What ultimately got it to work for me was manually copying and pasting the correct offline key in my config.json file.  When I typed it in manually, I must have made a mistake that I did not notice.

Thank you very much for your reply, will try same approach
On Tue, Mar 20, 2018, 11:30 PM curzondax79<EMAIL_ADDRESS>wrote:

I just followed the instructions and after some trial and error, I did get
it to work. I was stuck in the exact same spot as you. What ultimately got
it to work for me was manually copying and pasting the correct offline key
in my config.json file. When I typed it in manually, I must have made a
mistake that I did not notice.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-374825148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyM-z2wj26AixQuDt4j8xBTtRiI8Wks5tgclGgaJpZM4SvOg3
.

There was also some bluestone driver configuration that I had to do. I'll
be happy to help you out as best as I can
On Wed, Mar 21, 2018, 11:50 Vicbanyan<EMAIL_ADDRESS>wrote:

Thank you very much for your reply, will try same approach
On Tue, Mar 20, 2018, 11:30 PM curzondax79<EMAIL_ADDRESS>wrote:

I just followed the instructions and after some trial and error, I did
get
it to work. I was stuck in the exact same spot as you. What ultimately
got
it to work for me was manually copying and pasting the correct offline
key
in my config.json file. When I typed it in manually, I must have made a
mistake that I did not notice.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-374825148
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AZwpyM-z2wj26AixQuDt4j8xBTtRiI8Wks5tgclGgaJpZM4SvOg3
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375014189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tYw3i_W4gyUqeUUvkE4HLyc5bIvaks5tgoTNgaJpZM4SvOg3
.

I have no luck, copy and pasted again. One question please, I have Comcast and for some strange reason I am unable to open ports, any port (have spent 48 days it seems on the phone with them with no results), does not being able to open ports, for example 80, effect the results.

@Vicbanyan can you please share details like:

Operating system
What's your node version
Your lock model

From there, I'll try to guide you. Comcast doesn't influence, as your computer will listen to the local network, not to the internet.
Usually, the problem is related to getting the correct offline key. How did you get it?
Thanks

Not really. When you are at home, you don't need to have any ports open
because you're on your local sidebar of your network ( so when you speak of
opening ports, you are opening a port from your inside home world to the
outside world of the internet) are you able to see any Json outputs when
you hit refresh in the SmartThings app?
On Wed, Mar 21, 2018, 13:31 Vicbanyan<EMAIL_ADDRESS>wrote:

I have no luck, copy and pasted again. One question please, I have Comcast
and for some strange reason I am unable to open ports, any port (have spent
48 days it seems on the phone with them with no results), does not being
able to open ports, for example 80, effect the results.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375050270,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tbQvtgLGOZG4EOFZb6dmQM1C6ntmks5tgpyKgaJpZM4SvOg3
.

Gentlemen you have caught me and I apologize. To say I am a beginner in doing this kind of stuff would be a gross exaggeration. I got into SmartThings after I retired and explore what I can do. i have downloaded several device drivers from GitHub (ie Nest) and to my great surprise they worked perfectly. Your questions regarding nodes, etc are beyond my feeble mind.  Thanks again for your help and on to finding out what a node is. Vic

No problem, I'll help you walk through it.  I too integrated my nest
thermostat into smartthings (though it is not fully supported).  That
project took me 15 minutes, getting my August Lock to work with smartthings
took me several months.  Since I just got it working this week, the steps
needed are fresh in my head.  I had to utilize several instructions outside
of the readme provided to make it work, so hopefully I can help you make it
work too.  No worries about the time aspect, you've caught me in a period
where I have some time.  I'm a new physician, but I just passed my last
board exam for awhile!  We progress from process.
After you issue the node server.js command to start your augustctl server
on your raspberry pi, you should see something pop up on your monitor when
you hit refresh in the smartthings app.  It should say something like
getting status (I can take a picture of it later if you need me to as to
what it says on my screen.  That is the json output that I'm speaking of.
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Wed, Mar 21, 2018 at 2:03 PM, Vicbanyan<EMAIL_ADDRESS>wrote:

Gentlemen you have caught me and I apologize. To say I am a beginner in
doing this kind of stuff would be a gross exaggeration. I got into
SmartThings after I retired and explore what I can do. i have downloaded
several device drivers from GitHub (ie Nest) and to my great surprise they
worked perfectly. Your questions regarding nodes, etc are beyond my feeble
mind.
Thanks again for your help and on to finding out what a node is. Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375060366,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tQGPoWLytL2z7gMcXRnCyKMUbIskks5tgqQcgaJpZM4SvOg3
.

Congratulations and best of luck in the future. Now please do not forget my preamble from my last message but I am doing this on a Mac (os 10.13.3) not a  raspberry pi. Told you I was a beginner.

I did just start getting into the pi and if you think that is easier I can try.

Ah, gotcha. Then I'll try my best best to help. The steps and process
should be similar, but there will be some differences. One nice thing is
you should have less problems with getting your Bluetooth Hardware to work.
Are you able to start the server JS file and see any output in your
terminal window. I believe it needs to be ran from a terminal window, even
if you are running it on a map.
On Mar 21, 2018 14:25, "Vicbanyan"<EMAIL_ADDRESS>wrote:
Congratulations and best of luck in the future. Now please do not forget my
preamble from my last message but I am doing this on a Mac (os 10.13.3) not
a raspberry pi. Told you I was a beginner.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375066517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tVcLYqcuUWh8bHixmM9q1yR5mfvDks5tgqkvgaJpZM4SvOg3
.

I'm going to try to do it on the pi. May take a little while to get it set up, I can not thank you enough for your help and patients.  Thanks again, Vic

great life's lesson:
We progress from process.

The instructions that are set up are fairly Raspberry Pi specific, so it
may be easier to set up from that one several any instructions I had to go
out on the internet and find more detailed instructions.  May take a little while to get it set
up, I can not thank you enough for your help and patients.  Thanks again, Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375069639,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tTaNvBl-zoll1P4afooXoORh3Bmoks5tgqu_gaJpZM4SvOg3
.

Will do, please feel free to give me a shout out if you need anything!  Here's a summary of the things that I had the most difficulty with and how I solved it.
In installing node, I found the nvm install wasn't very necessary, nor was installing the version he recommended.  In fact, I ended up installing node.js, which worked well for me.  Follow the instructions on the following page.  http://weworkweplay.com/play/raspberry-pi-nodejs/
When you install node.js like this and you try to run the server.js file, you'll get several error messages (or at least I did).  This was due to a few components not being installed.  I looked on the internet for installation instructions for each.  In the end, all that was needed to install the missing components was apt-get install "name of missing component"  I think there were about three or four things I needed to install.  One had to do with my bluetooth setup, and I can't remember what the other ones dealt with.  If you knock these out one by one, you should finally be able to run the server.js file
After I did this, this is the part I got to regarding my first reply.  I did not have my config.json file right insomuch as I must have had a typo that I didn't see.  I took the time to copy and paste the output from my android device to my config.json using putty from my windows pc to my raspberry pi.  (Putty is the program I use to SSH from my computer to my raspberry pi to get a terminal on my windows pc so I don't have to be at a pi connected to my machine)  Once the pi was set up correctly, I started seeing actual output on my screen from my json file and the smartthings app was working correctly with the lock.
If you launch this from a terminal window, it has to stay open for it to continue to listen to requests from smartthings.  I'm going to get around this by eventually putting a startup command in at boot to launch this from the pi itself without a terminal window being opened, but I haven't done this yet.
I hope these instructions help you get through some of the hangups I had in installing this project.  Also, thank you for liking my "We progress from process." quote.  It's a Dr. Dan original!
Dr. Dan

Dr Dan, I can not thank you enough for your very kind response and detailed
outline. Will get back to you with my progress, and for sure it is going to
be a process,. Vic
On Thu, Mar 22, 2018, 2:14 AM curzondax79<EMAIL_ADDRESS>wrote:

Will do, please feel free to give me a shout out if you need anything!
Here's a summary of the things that I had the most difficulty with and how
I solved it.
In installing node, I found the nvm install wasn't very necessary, nor was
installing the version he recommended. In fact, I ended up installing
node.js, which worked well for me. Follow the instructions on the following
page. http://weworkweplay.com/play/raspberry-pi-nodejs/
When you install node.js like this and you try to run the server.js file,
you'll get several error messages (or at least I did). This was due to a
few components not being installed. I looked on the internet for
installation instructions for each. In the end, all that was needed to
install the missing components was apt-get install "name of missing
component" I think there were about three or four things I needed to
install. One had to do with my bluetooth setup, and I can't remember what
the other ones dealt with. If you knock these out one by one, you should
finally be able to run the server.js file
After I did this, this is the part I got to regarding my first reply. I
did not have my config.json file right insomuch as I must have had a typo
that I didn't see. I took the time to copy and paste the output from my
android device to my config.json using putty from my windows pc to my
raspberry pi. (Putty is the program I use to SSH from my computer to my
raspberry pi to get a terminal on my windows pc so I don't have to be at a
pi connected to my machine) Once the pi was set up correctly, I started
seeing actual output on my screen from my json file and the smartthings app
was working correctly with the lock.
If you launch this from a terminal window, it has to stay open for it to
continue to listen to requests from smartthings. I'm going to get around
this by eventually putting a startup command in at boot to launch this from
the pi itself without a terminal window being opened, but I haven't done
this yet.
I hope these instructions help you get through some of the hangups I had
in installing this project. Also, thank you for liking my "We progress from
process." quote. It's a Dr. Dan original!
Dr. Dan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375191517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyC4zRcL0SuB4meSlrIK0m15LgOaoks5tg0FPgaJpZM4SvOg3
.

Dan, process update, copy and pasted AugustLock Controller program into pi (Python 3) and have many syntax errors, trying to clean those up although it is difficult because Python is not a strength for sure. Node version is v4.8.2. Process continues hopefully followed by some progress.

Dr Dan ... I fear I have reached the end of the road on this project. I finally got the syntax correct but then I got all sorts of statements like "no definition" and many more. I learned a lot and met a very nice Doctor in the process. Thanks again for your help and the very best in the future. Vic

Don't give up yet!  In your last email, you mentioned you copied and pasted
the program into Python.  That isn't required.  It made me wonder if you
were reading the readme that was posted for the project.  It's fairly step
by step, but I can provide you with the steps that need tweaking.
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Fri, Mar 23, 2018 at 9:07 AM, Vicbanyan<EMAIL_ADDRESS>wrote:

Dr Dan ... I fear I have reached the end of the road on this project. I
finally got the syntax correct but then I got all sorts of statements like
"no definition" and many more. I learned a lot and met a very nice Doctor
in the process. Thanks again for your help and the very best in the future.
Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375676373,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tcuz6qmFYPpaIpb2sJoUeqxjuQZaks5thQG4gaJpZM4SvOg3
.

That would be great, I'm back in the game! I will check the readmes again.
On Fri, Mar 23, 2018 at 10:18 AM curzondax79<EMAIL_ADDRESS>wrote:

Don't give up yet! In your last email, you mentioned you copied and pasted
the program into Python. That isn't required. It made me wonder if you
were reading the readme that was posted for the project. It's fairly step
by step, but I can provide you with the steps that need tweaking.
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Fri, Mar 23, 2018 at 9:07 AM, Vicbanyan<EMAIL_ADDRESS>wrote:

Dr Dan ... I fear I have reached the end of the road on this project. I
finally got the syntax correct but then I got all sorts of statements
like
"no definition" and many more. I learned a lot and met a very nice Doctor
in the process. Thanks again for your help and the very best in the
future.
Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375676373
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_tcuz6qmFYPpaIpb2sJoUeqxjuQZaks5thQG4gaJpZM4SvOg3
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375679723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyADs2piz6CEKJG_l4fb-IXTrY5dnks5thQQ1gaJpZM4SvOg3
.

Dan, I did exactly what the august lock - smartthings readme said.
On Fri, Mar 23, 2018 at 10:42 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

That would be great, I'm back in the game! I will check the readmes again.
On Fri, Mar 23, 2018 at 10:18 AM curzondax79<EMAIL_ADDRESS>wrote:

Don't give up yet! In your last email, you mentioned you copied and pasted
the program into Python. That isn't required. It made me wonder if you
were reading the readme that was posted for the project. It's fairly step
by step, but I can provide you with the steps that need tweaking.
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Fri, Mar 23, 2018 at 9:07 AM, Vicbanyan<EMAIL_ADDRESS>wrote:

Dr Dan ... I fear I have reached the end of the road on this project. I
finally got the syntax correct but then I got all sorts of statements
like
"no definition" and many more. I learned a lot and met a very nice
Doctor
in the process. Thanks again for your help and the very best in the
future.
Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375676373
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_tcuz6qmFYPpaIpb2sJoUeqxjuQZaks5thQG4gaJpZM4SvOg3
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375679723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyADs2piz6CEKJG_l4fb-IXTrY5dnks5thQQ1gaJpZM4SvOg3
.

The one that was specific for raspberry pi? Hummm. What syntax error are
you getting?
On Fri, Mar 23, 2018, 10:51 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, I did exactly what the august lock - smartthings readme said.
On Fri, Mar 23, 2018 at 10:42 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

That would be great, I'm back in the game! I will check the readmes
again.
On Fri, Mar 23, 2018 at 10:18 AM curzondax79<EMAIL_ADDRESS>wrote:

Don't give up yet! In your last email, you mentioned you copied and
pasted
the program into Python. That isn't required. It made me wonder if you
were reading the readme that was posted for the project. It's fairly
step
by step, but I can provide you with the steps that need tweaking.
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Fri, Mar 23, 2018 at 9:07 AM, Vicbanyan<EMAIL_ADDRESS>wrote:

Dr Dan ... I fear I have reached the end of the road on this project.
I
finally got the syntax correct but then I got all sorts of statements
like
"no definition" and many more. I learned a lot and met a very nice
Doctor
in the process. Thanks again for your help and the very best in the
future.
Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375676373

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/Ajw_tcuz6qmFYPpaIpb2sJoUeqxjuQZaks5thQG4gaJpZM4SvOg3

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375679723
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AZwpyADs2piz6CEKJG_l4fb-IXTrY5dnks5thQQ1gaJpZM4SvOg3

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375710846,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tVWTFcKF3ToFdjtU7q1rDzFuzwn8ks5thRnkgaJpZM4SvOg3
.

No I only did the smartthings one, do you both?

I did not do the august-api part, if that is required it is a little over my head for sure.

Ok, here's my annotated readme.  Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side

Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on top
right
Fill in name, Device Network ID (some random numbers and letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the basics of a
RaspberryPi. Also note a Bluetooth device is needed, and the one I used is
based on CSR 8510 Chipset http://www.amazon.com/gp/product/B00IMALQ94.
If you have a Mac (macbook, iMac) you can also use it to test the project.
Just skip directly to the node installation.

RaspberryPI side

Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest you
to have v0.10.29 - this can be done issuing nvm install v0.10.29 and then
nvm use v0.10.29

So here is the first step that I ran into a problem.  I couldn’t get nvm to
work right.  Based on what the instructions in the readme, you could use
nvm to install and select the version you need of node.  That did not work
for me, I just got error messages after a script would run and take about
45 minutes each time it failed.  What I did instead is just install a
version of node.  Also, I didn’t install node, I installed nodejs.  This
came about because of another error I ran into by running node, which I’ll
spare you since nodejs fixed the problem.  Follow the instructions at the
following:  http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be used to
communicate with your AugustLock. The steps necessary to grab it are
described here AugustLock OfflineKeys https://github.com/mtvg/August .
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began.  First, I made the json file
by just creating a blank file called sudo nano config.json then I saved a
blank file.  The “last” thing I fixed when I thought I had everything
installed correctly was to copy and paste the correct text into the
config.json file.  I thought I had it right, but I must have had a typo in
the file.  Now, are you using an iphone or an android to get the offline
keys.  I have an android, so I can’t comment on their instructions.  The
android instructions were a bit wonky because they were old; I had to find
newer instructions.  The ones under rooted android.  If you are unfamiliar
using adb, it isn’t hard if you follow the instructions.  Rather, getting
the drivers installed correctly can be tricky on older versions of windows
(let alone mac).  Let me know if you need more specific instructions.
Rooted Android

Phone should be in developer mode
https://www.howtogeek.com/129728/how-to-access-the-developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can get the
standalone tools here
https://developer.android.com/studio/releases/platform-tools.html#download

Phone is detected by adb when connected via USB. Test by running
command adb devices, should show something like FA6910301551 device under
"List of devices attached"

Dump the config file from the connected phone by running: adb shell
cat /data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID), handshakeKey (aka
the "offline key") and handshakeKeyIndex (aka the "offline key offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip address - for
any reason, as reported on SmartThings forum, ips starting with 10 (2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a typo when I
did it manually.

Start you server using node  nodejs server.js
2. Open your browser at http://youripaddress:3000/api/status and if
everything is configured accordingly, you should be able to see a json
response with the result

Dan , just got your email, can not thank you enough, will update you on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79<EMAIL_ADDRESS>wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on top
right
Fill in name, Device Network ID (some random numbers and letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the basics of a
RaspberryPi. Also note a Bluetooth device is needed, and the one I used is
based on CSR 8510 Chipset http://www.amazon.com/gp/product/B00IMALQ94.
If you have a Mac (macbook, iMac) you can also use it to test the project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest you
to have v0.10.29 - this can be done issuing nvm install v0.10.29 and then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t get nvm to
work right. Based on what the instructions in the readme, you could use
nvm to install and select the version you need of node. That did not work
for me, I just got error messages after a script would run and take about
45 minutes each time it failed. What I did instead is just install a
version of node. Also, I didn’t install node, I installed nodejs. This
came about because of another error I ran into by running node, which I’ll
spare you since nodejs fixed the problem. Follow the instructions at the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be used to
communicate with your AugustLock. The steps necessary to grab it are
described here AugustLock OfflineKeys https://github.com/mtvg/August .
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began. First, I made the json file
by just creating a blank file called sudo nano config.json then I saved a
blank file. The “last” thing I fixed when I thought I had everything
installed correctly was to copy and paste the correct text into the
config.json file. I thought I had it right, but I must have had a typo in
the file. Now, are you using an iphone or an android to get the offline
keys. I have an android, so I can’t comment on their instructions. The
android instructions were a bit wonky because they were old; I had to find
newer instructions. The ones under rooted android. If you are unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather, getting
the drivers installed correctly can be tricky on older versions of windows
(let alone mac). Let me know if you need more specific instructions.
Rooted Android

Phone should be in developer mode
<
https://www.howtogeek.com/129728/how-to-access-the-developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can get the
standalone tools here
<
https://developer.android.com/studio/releases/platform-tools.html#download

Phone is detected by adb when connected via USB. Test by running
command adb devices, should show something like FA6910301551 device under
"List of devices attached"

Dump the config file from the connected phone by running: adb shell
cat /data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID), handshakeKey (aka
the "offline key") and handshakeKeyIndex (aka the "offline key offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip address - for
any reason, as reported on SmartThings forum, ips starting with 10 (2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a typo when I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status and if
everything is configured accordingly, you should be able to see a json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375969994,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3
.

Dan, got this error on: sudo dpkg -i node_latest_armhf.deb
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed
node provides node and is to be installed
dpkg: error processing archive node_latest_armhf.deb (--install);
conflicting packages - not install node
errors were encountered while processing:
node_latest_armhf.deb
I checked the installed node version and it is v4.8.2
Dan, PLEASE, at any time feel free to say that's enough help from me and
good luck on your own!
On Sun, Mar 25, 2018 at 10:18 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

Dan , just got your email, can not thank you enough, will update you on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79<EMAIL_ADDRESS>wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on top
right
Fill in name, Device Network ID (some random numbers and letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the basics of
a
RaspberryPi. Also note a Bluetooth device is needed, and the one I used is
based on CSR 8510 Chipset http://www.amazon.com/gp/product/B00IMALQ94.
If you have a Mac (macbook, iMac) you can also use it to test the project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest you
to have v0.10.29 - this can be done issuing nvm install v0.10.29 and then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t get nvm to
work right. Based on what the instructions in the readme, you could use
nvm to install and select the version you need of node. That did not work
for me, I just got error messages after a script would run and take about
45 minutes each time it failed. What I did instead is just install a
version of node. Also, I didn’t install node, I installed nodejs. This
came about because of another error I ran into by running node, which I’ll
spare you since nodejs fixed the problem. Follow the instructions at the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be used to
communicate with your AugustLock. The steps necessary to grab it are
described here AugustLock OfflineKeys https://github.com/mtvg/August .
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began. First, I made the json file
by just creating a blank file called sudo nano config.json then I saved a
blank file. The “last” thing I fixed when I thought I had everything
installed correctly was to copy and paste the correct text into the
config.json file. I thought I had it right, but I must have had a typo in
the file. Now, are you using an iphone or an android to get the offline
keys. I have an android, so I can’t comment on their instructions. The
android instructions were a bit wonky because they were old; I had to find
newer instructions. The ones under rooted android. If you are unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather, getting
the drivers installed correctly can be tricky on older versions of windows
(let alone mac). Let me know if you need more specific instructions.
Rooted Android

Phone should be in developer mode
<
https://www.howtogeek.com/129728/how-to-access-the-developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can get the
standalone tools here
<
https://developer.android.com/studio/releases/platform-tools.html#download

Phone is detected by adb when connected via USB. Test by running
command adb devices, should show something like FA6910301551 device under
"List of devices attached"

Dump the config file from the connected phone by running: adb shell
cat /data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID), handshakeKey
(aka
the "offline key") and handshakeKeyIndex (aka the "offline key offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip address - for
any reason, as reported on SmartThings forum, ips starting with 10 (2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a typo when
I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status and if
everything is configured accordingly, you should be able to see a json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375969994,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3
.

I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, got this error on: sudo dpkg -i node_latest_armhf.deb
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed
node provides node and is to be installed
dpkg: error processing archive node_latest_armhf.deb (--install);
conflicting packages - not install node
errors were encountered while processing:
node_latest_armhf.deb
I checked the installed node version and it is v4.8.2
Dan, PLEASE, at any time feel free to say that's enough help from me and
good luck on your own!
On Sun, Mar 25, 2018 at 10:18 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

Dan , just got your email, can not thank you enough, will update you on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79<EMAIL_ADDRESS>wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on top
right
Fill in name, Device Network ID (some random numbers and letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the basics
of
a
RaspberryPi. Also note a Bluetooth device is needed, and the one I used
is
based on CSR 8510 Chipset <http://www.amazon.com/gp/product/B00IMALQ94
.
If you have a Mac (macbook, iMac) you can also use it to test the
project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest you
to have v0.10.29 - this can be done issuing nvm install v0.10.29 and
then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t get nvm
to
work right. Based on what the instructions in the readme, you could use
nvm to install and select the version you need of node. That did not
work
for me, I just got error messages after a script would run and take
about
45 minutes each time it failed. What I did instead is just install a
version of node. Also, I didn’t install node, I installed nodejs. This
came about because of another error I ran into by running node, which
I’ll
spare you since nodejs fixed the problem. Follow the instructions at the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be used to
communicate with your AugustLock. The steps necessary to grab it are
described here AugustLock OfflineKeys https://github.com/mtvg/August
.
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began. First, I made the json file
by just creating a blank file called sudo nano config.json then I saved
a
blank file. The “last” thing I fixed when I thought I had everything
installed correctly was to copy and paste the correct text into the
config.json file. I thought I had it right, but I must have had a typo
in
the file. Now, are you using an iphone or an android to get the offline
keys. I have an android, so I can’t comment on their instructions. The
android instructions were a bit wonky because they were old; I had to
find
newer instructions. The ones under rooted android. If you are unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather, getting
the drivers installed correctly can be tricky on older versions of
windows
(let alone mac). Let me know if you need more specific instructions.
Rooted Android

Phone should be in developer mode
<

https://www.howtogeek.com/129728/how-to-access-the-developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can get the
standalone tools here
<

https://developer.android.com/studio/releases/platform-tools.html#download

Phone is detected by adb when connected via USB. Test by running
command adb devices, should show something like FA6910301551 device
under
"List of devices attached"

Dump the config file from the connected phone by running: adb shell
cat /data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID), handshakeKey
(aka
the "offline key") and handshakeKeyIndex (aka the "offline key offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip address - for
any reason, as reported on SmartThings forum, ips starting with 10 (2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a typo
when
I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status and if
everything is configured accordingly, you should be able to see a json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375969994
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375976983,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tVvxw_3zofbEUxFQPrj2esARrmkLks5th7FggaJpZM4SvOg3
.

Let's try this to install nodejs (pulled from a website)
Update your system package list:
pi@w3demopi:~ $ sudo apt-get update
Upgrade all your installed packages to their latest version:
pi@w3demopi:~ $ sudo apt-get dist-upgrade
Doing this regularly will keep your Raspberry Pi installation up to date.
To download and install newest version of Node.js, use the following
command:
pi@w3demopi:~ $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E
bash -
Now install it by running:
pi@w3demopi:~ $ sudo apt-get install -y nodejs
Check that the installation was successful, and the version number of
Node.js with:
pi@w3demopi:~ $ node -v
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 10:02 AM, Dan Allen<EMAIL_ADDRESS>wrote:

I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, got this error on: sudo dpkg -i node_latest_armhf.deb
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed
node provides node and is to be installed
dpkg: error processing archive node_latest_armhf.deb (--install);
conflicting packages - not install node
errors were encountered while processing:
node_latest_armhf.deb
I checked the installed node version and it is v4.8.2
Dan, PLEASE, at any time feel free to say that's enough help from me and
good luck on your own!
On Sun, Mar 25, 2018 at 10:18 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

Dan , just got your email, can not thank you enough, will update you on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79<EMAIL_ADDRESS>wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on top
right
Fill in name, Device Network ID (some random numbers and letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the basics
of
a
RaspberryPi. Also note a Bluetooth device is needed, and the one I
used is
based on CSR 8510 Chipset <http://www.amazon.com/gp/product/B00IMALQ94
.
If you have a Mac (macbook, iMac) you can also use it to test the
project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest you
to have v0.10.29 - this can be done issuing nvm install v0.10.29 and
then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t get
nvm to
work right. Based on what the instructions in the readme, you could use
nvm to install and select the version you need of node. That did not
work
for me, I just got error messages after a script would run and take
about
45 minutes each time it failed. What I did instead is just install a
version of node. Also, I didn’t install node, I installed nodejs. This
came about because of another error I ran into by running node, which
I’ll
spare you since nodejs fixed the problem. Follow the instructions at
the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be used to
communicate with your AugustLock. The steps necessary to grab it are
described here AugustLock OfflineKeys https://github.com/mtvg/August
.
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began. First, I made the json
file
by just creating a blank file called sudo nano config.json then I
saved a
blank file. The “last” thing I fixed when I thought I had everything
installed correctly was to copy and paste the correct text into the
config.json file. I thought I had it right, but I must have had a typo
in
the file. Now, are you using an iphone or an android to get the offline
keys. I have an android, so I can’t comment on their instructions. The
android instructions were a bit wonky because they were old; I had to
find
newer instructions. The ones under rooted android. If you are
unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather,
getting
the drivers installed correctly can be tricky on older versions of
windows
(let alone mac). Let me know if you need more specific instructions.
Rooted Android

Phone should be in developer mode
<
https://www.howtogeek.com/129728/how-to-access-the-
developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can get
the
standalone tools here
<
https://developer.android.com/studio/releases/platform-
tools.html#download

Phone is detected by adb when connected via USB. Test by running
command adb devices, should show something like FA6910301551 device
under
"List of devices attached"

Dump the config file from the connected phone by running: adb shell
cat /data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID), handshakeKey
(aka
the "offline key") and handshakeKeyIndex (aka the "offline key offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip address -
for
any reason, as reported on SmartThings forum, ips starting with 10 (2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a typo
when
I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status and if
everything is configured accordingly, you should be able to see a json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375969994>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375976983,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tVvxw_3zofbEUxFQPrj2esARrmkLks5th7FggaJpZM4SvOg3
.

will do
On Sun, Mar 25, 2018 at 11:21 AM curzondax79<EMAIL_ADDRESS>wrote:

Let's try this to install nodejs (pulled from a website)
Update your system package list:
pi@w3demopi:~ $ sudo apt-get update
Upgrade all your installed packages to their latest version:
pi@w3demopi:~ $ sudo apt-get dist-upgrade
Doing this regularly will keep your Raspberry Pi installation up to date.
To download and install newest version of Node.js, use the following
command:
pi@w3demopi:~ $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E
bash -
Now install it by running:
pi@w3demopi:~ $ sudo apt-get install -y nodejs
Check that the installation was successful, and the version number of
Node.js with:
pi@w3demopi:~ $ node -v
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 10:02 AM, Dan Allen<EMAIL_ADDRESS>wrote:

I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, got this error on: sudo dpkg -i node_latest_armhf.deb
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed
node provides node and is to be installed
dpkg: error processing archive node_latest_armhf.deb (--install);
conflicting packages - not install node
errors were encountered while processing:
node_latest_armhf.deb
I checked the installed node version and it is v4.8.2
Dan, PLEASE, at any time feel free to say that's enough help from me and
good luck on your own!
On Sun, Mar 25, 2018 at 10:18 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

Dan , just got your email, can not thank you enough, will update you
on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79<EMAIL_ADDRESS>

wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on top
right
Fill in name, Device Network ID (some random numbers and letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the
basics
of
a
RaspberryPi. Also note a Bluetooth device is needed, and the one I
used is
based on CSR 8510 Chipset <
http://www.amazon.com/gp/product/B00IMALQ94
.
If you have a Mac (macbook, iMac) you can also use it to test the
project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest
you
to have v0.10.29 - this can be done issuing nvm install v0.10.29 and
then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t get
nvm to
work right. Based on what the instructions in the readme, you could
use
nvm to install and select the version you need of node. That did not
work
for me, I just got error messages after a script would run and take
about
45 minutes each time it failed. What I did instead is just install a
version of node. Also, I didn’t install node, I installed nodejs.
This
came about because of another error I ran into by running node, which
I’ll
spare you since nodejs fixed the problem. Follow the instructions at
the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be used
to
communicate with your AugustLock. The steps necessary to grab it are
described here AugustLock OfflineKeys <
https://github.com/mtvg/August>
.
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began. First, I made the json
file
by just creating a blank file called sudo nano config.json then I
saved a
blank file. The “last” thing I fixed when I thought I had everything
installed correctly was to copy and paste the correct text into the
config.json file. I thought I had it right, but I must have had a
typo
in
the file. Now, are you using an iphone or an android to get the
offline
keys. I have an android, so I can’t comment on their instructions.
The
android instructions were a bit wonky because they were old; I had to
find
newer instructions. The ones under rooted android. If you are
unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather,
getting
the drivers installed correctly can be tricky on older versions of
windows
(let alone mac). Let me know if you need more specific instructions.
Rooted Android

Phone should be in developer mode
<
https://www.howtogeek.com/129728/how-to-access-the-
developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can get
the
standalone tools here
<
https://developer.android.com/studio/releases/platform-
tools.html#download

Phone is detected by adb when connected via USB. Test by running
command adb devices, should show something like FA6910301551 device
under
"List of devices attached"

Dump the config file from the connected phone by running: adb
shell
cat /data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID),
handshakeKey
(aka
the "offline key") and handshakeKeyIndex (aka the "offline key
offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip address -
for
any reason, as reported on SmartThings forum, ips starting with 10 (2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a typo
when
I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status and if
everything is configured accordingly, you should be able to see a
json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375969994>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375976983
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_tVvxw_3zofbEUxFQPrj2esARrmkLks5th7FggaJpZM4SvOg3

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375978309,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyIjREoTmNHm7HgV-9u5bcfzfe5AYks5th7XvgaJpZM4SvOg3
.

I was able to get the update using:  apt-get update. When I tried first
using: pi@w3demopi:~ $ sudo apt-get update it came back
bash: pi@w3demopi:~$: command not found.
When I tried step 2: pi@w3demopi:~ $ curl -sL
https://deb.nodesource.com/setup_8.x | sudo -E I got the same response:
bash: pi@w3demopi:~$: command not found.

To download and install newest version of Node.js, use the following
command:
pi@w3demopi:~ $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E
bash -
Now install it by running:
pi@w3demopi:~ $ sudo apt-get install -y nodejs
Check that the installation was successful, and the version number of
Node.js with:
pi@w3demopi:~ $ node -v
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 10:02 AM, Dan Allen<EMAIL_ADDRESS>wrote:

I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, got this error on: sudo dpkg -i node_latest_armhf.deb
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed
node provides node and is to be installed
dpkg: error processing archive node_latest_armhf.deb (--install);
conflicting packages - not install node
errors were encountered while processing:
node_latest_armhf.deb
I checked the installed node version and it is v4.8.2
Dan, PLEASE, at any time feel free to say that's enough help from me
and
good luck on your own!
On Sun, Mar 25, 2018 at 10:18 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

Dan , just got your email, can not thank you enough, will update you
on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79 <
<EMAIL_ADDRESS>wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on
top
right
Fill in name, Device Network ID (some random numbers and letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your
server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the
basics
of
a
RaspberryPi. Also note a Bluetooth device is needed, and the one I
used is
based on CSR 8510 Chipset <
http://www.amazon.com/gp/product/B00IMALQ94
.
If you have a Mac (macbook, iMac) you can also use it to test the
project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest
you
to have v0.10.29 - this can be done issuing nvm install v0.10.29 and
then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t get
nvm to
work right. Based on what the instructions in the readme, you could
use
nvm to install and select the version you need of node. That did not
work
for me, I just got error messages after a script would run and take
about
45 minutes each time it failed. What I did instead is just install a
version of node. Also, I didn’t install node, I installed nodejs.
This
came about because of another error I ran into by running node,
which
I’ll
spare you since nodejs fixed the problem. Follow the instructions at
the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be used
to
communicate with your AugustLock. The steps necessary to grab it are
described here AugustLock OfflineKeys <
https://github.com/mtvg/August>
.
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began. First, I made the json
file
by just creating a blank file called sudo nano config.json then I
saved a
blank file. The “last” thing I fixed when I thought I had everything
installed correctly was to copy and paste the correct text into the
config.json file. I thought I had it right, but I must have had a
typo
in
the file. Now, are you using an iphone or an android to get the
offline
keys. I have an android, so I can’t comment on their instructions.
The
android instructions were a bit wonky because they were old; I had
to
find
newer instructions. The ones under rooted android. If you are
unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather,
getting
the drivers installed correctly can be tricky on older versions of
windows
(let alone mac). Let me know if you need more specific instructions.
Rooted Android

Phone should be in developer mode
<
https://www.howtogeek.com/129728/how-to-access-the-
developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can get
the
standalone tools here
<
https://developer.android.com/studio/releases/platform-
tools.html#download

Phone is detected by adb when connected via USB. Test by running
command adb devices, should show something like FA6910301551 device
under
"List of devices attached"

Dump the config file from the connected phone by running: adb
shell
cat /data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID),
handshakeKey
(aka
the "offline key") and handshakeKeyIndex (aka the "offline key
offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip address -
for
any reason, as reported on SmartThings forum, ips starting with 10
(2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a typo
when
I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status and if
everything is configured accordingly, you should be able to see a
json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375969994>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375976983
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_tVvxw_3zofbEUxFQPrj2esARrmkLks5th7FggaJpZM4SvOg3

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375978309,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyIjREoTmNHm7HgV-9u5bcfzfe5AYks5th7XvgaJpZM4SvOg3
.

Are you typing "pi@w3demonpi"  If so, don't.  That's  just a pasting of the
computer that whomever posted this on the internet used.  Just do "sudo
apt-get update"
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 10:51 AM, Vicbanyan<EMAIL_ADDRESS>wrote:

I was able to get the update using: apt-get update. When I tried first
using: pi@w3demopi:~ $ sudo apt-get update it came back
bash: pi@w3demopi:~$: command not found.
When I tried step 2: pi@w3demopi:~ $ curl -sL
https://deb.nodesource.com/setup_8.x | sudo -E I got the same response:
bash: pi@w3demopi:~$: command not found.

To download and install newest version of Node.js, use the following
command:
pi@w3demopi:~ $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E
bash -
Now install it by running:
pi@w3demopi:~ $ sudo apt-get install -y nodejs
Check that the installation was successful, and the version number of
Node.js with:
pi@w3demopi:~ $ node -v
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 10:02 AM, Dan Allen<EMAIL_ADDRESS>wrote:

I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, got this error on: sudo dpkg -i node_latest_armhf.deb
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed
node provides node and is to be installed
dpkg: error processing archive node_latest_armhf.deb (--install);
conflicting packages - not install node
errors were encountered while processing:
node_latest_armhf.deb
I checked the installed node version and it is v4.8.2
Dan, PLEASE, at any time feel free to say that's enough help from me
and
good luck on your own!
On Sun, Mar 25, 2018 at 10:18 AM Vic Sprenger<EMAIL_ADDRESS>

wrote:

Dan , just got your email, can not thank you enough, will update
you
on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79 <
<EMAIL_ADDRESS>wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings https://graph.api.smartthings.com/
Click on My Devices Handlers, and then Create New Device
Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device on
top
right
Fill in name, Device Network ID (some random numbers and
letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your
server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the
basics
of
a
RaspberryPi. Also note a Bluetooth device is needed, and the one I
used is
based on CSR 8510 Chipset <
http://www.amazon.com/gp/product/B00IMALQ94
.
If you have a Mac (macbook, iMac) you can also use it to test the
project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar with
Install Node. I suggest following the nvm package, which allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I suggest
you
to have v0.10.29 - this can be done issuing nvm install v0.10.29
and
then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t
get
nvm to
work right. Based on what the instructions in the readme, you
could
use
nvm to install and select the version you need of node. That did
not
work
for me, I just got error messages after a script would run and
take
about
45 minutes each time it failed. What I did instead is just
install a
version of node. Also, I didn’t install node, I installed nodejs.
This
came about because of another error I ran into by running node,
which
I’ll
spare you since nodejs fixed the problem. Follow the instructions
at
the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be
used
to
communicate with your AugustLock. The steps necessary to grab it
are
described here AugustLock OfflineKeys <
https://github.com/mtvg/August>
.
I used the iPhone method, taking a backup and extracting the file.

So here’s where our discussion thread began. First, I made the
json
file
by just creating a blank file called sudo nano config.json then I
saved a
blank file. The “last” thing I fixed when I thought I had
everything
installed correctly was to copy and paste the correct text into
the
config.json file. I thought I had it right, but I must have had a
typo
in
the file. Now, are you using an iphone or an android to get the
offline
keys. I have an android, so I can’t comment on their instructions.
The
android instructions were a bit wonky because they were old; I had
to
find
newer instructions. The ones under rooted android. If you are
unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather,
getting
the drivers installed correctly can be tricky on older versions of
windows
(let alone mac). Let me know if you need more specific
instructions.
Rooted Android

Phone should be in developer mode
<
https://www.howtogeek.com/129728/how-to-access-the-
developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can
get
the
standalone tools here
<
https://developer.android.com/studio/releases/platform-
tools.html#download

Phone is detected by adb when connected via USB. Test by
running
command adb devices, should show something like FA6910301551
device
under
"List of devices attached"

Dump the config file from the connected phone by running: adb
shell
cat /data/data/com.august.luna/shared_prefs/
PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID),
handshakeKey
(aka
the "offline key") and handshakeKeyIndex (aka the "offline key
offset")

To have your server listening correctly, you should modify your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip
address -
for
any reason, as reported on SmartThings forum, ips starting with 10
(2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a
typo
when
I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status and
if
everything is configured accordingly, you should be able to see a
json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375969994>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375976983
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_tVvxw_
3zofbEUxFQPrj2esARrmkLks5th7FggaJpZM4SvOg3

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375978309>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZwpyIjREoTmNHm7HgV-
9u5bcfzfe5AYks5th7XvgaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375980609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tdGD4tJWg1y-QvPEz19JhhNRlN_Gks5th7z5gaJpZM4SvOg3
.

told you a was a beginner, patients my brother patients
On Sun, Mar 25, 2018 at 11:53 AM curzondax79<EMAIL_ADDRESS>wrote:

Are you typing "pi@w3demonpi" If so, don't. That's just a pasting of the
computer that whomever posted this on the internet used. Just do "sudo
apt-get update"
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 10:51 AM, Vicbanyan<EMAIL_ADDRESS>wrote:

I was able to get the update using: apt-get update. When I tried first
using: pi@w3demopi:~ $ sudo apt-get update it came back
bash: pi@w3demopi:~$: command not found.
When I tried step 2: pi@w3demopi:~ $ curl -sL
https://deb.nodesource.com/setup_8.x | sudo -E I got the same response:
bash: pi@w3demopi:~$: command not found.

To download and install newest version of Node.js, use the following
command:
pi@w3demopi:~ $ curl -sL https://deb.nodesource.com/setup_8.x | sudo
-E
bash -
Now install it by running:
pi@w3demopi:~ $ sudo apt-get install -y nodejs
Check that the installation was successful, and the version number of
Node.js with:
pi@w3demopi:~ $ node -v
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 10:02 AM, Dan Allen<EMAIL_ADDRESS>wrote:

I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, got this error on: sudo dpkg -i node_latest_armhf.deb
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed
node provides node and is to be installed
dpkg: error processing archive node_latest_armhf.deb (--install);
conflicting packages - not install node
errors were encountered while processing:
node_latest_armhf.deb
I checked the installed node version and it is v4.8.2
Dan, PLEASE, at any time feel free to say that's enough help from
me
and
good luck on your own!
On Sun, Mar 25, 2018 at 10:18 AM Vic Sprenger <
<EMAIL_ADDRESS>

wrote:

Dan , just got your email, can not thank you enough, will update
you
on
progress, Vic
On Sun, Mar 25, 2018 at 9:19 AM curzondax79 <
<EMAIL_ADDRESS>wrote:

Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:

augustlock-smartthings
https://github.com/robson83/augustlock-smartthings
augustlock-api https://github.com/robson83/augustctl

Then, follow the steps below.

SmartThings side
Log onto your SmartThings <
https://graph.api.smartthings.com/>
Click on My Devices Handlers, and then Create New Device
Handler
on top right
Copy the code you just cloned from the repo called
"AugustLock.groovy"
Click Save, and then Publish - for me
Go to the top menu, click on My Devices and then New Device
on
top
right
Fill in name, Device Network ID (some random numbers and
letters
(A-F)), Type select AugustController (should be by the end of
the options)
and then click create
After creating, click EDIT below preferences, and type your
server
IP and port - this is important to make everything work

Note:I'm assuming you know about how to install and operate the
basics
of
a
RaspberryPi. Also note a Bluetooth device is needed, and the
one I
used is
based on CSR 8510 Chipset <
http://www.amazon.com/gp/product/B00IMALQ94
.
If you have a Mac (macbook, iMac) you can also use it to test
the
project.
Just skip directly to the node installation.

RaspberryPI side
Install Raspbian, or any other image you might be familiar
with
Install Node. I suggest following the nvm package, which
allows
you to switch between node versions easily - Follow (NVM)[
https://github.com/creationix/nvm] here. After getting, I
suggest
you
to have v0.10.29 - this can be done issuing nvm install v0.10.29
and
then
nvm use v0.10.29

So here is the first step that I ran into a problem. I couldn’t
get
nvm to
work right. Based on what the instructions in the readme, you
could
use
nvm to install and select the version you need of node. That did
not
work
for me, I just got error messages after a script would run and
take
about
45 minutes each time it failed. What I did instead is just
install a
version of node. Also, I didn’t install node, I installed
nodejs.
This
came about because of another error I ran into by running node,
which
I’ll
spare you since nodejs fixed the problem. Follow the
instructions
at
the
following: http://weworkweplay.com/play/raspberry-pi-nodejs/

Go to the augustlock-api project and create a file called
"config.json". That file should contain your keys that will be
used
to
communicate with your AugustLock. The steps necessary to grab it
are
described here AugustLock OfflineKeys <
https://github.com/mtvg/August>
.
I used the iPhone method, taking a backup and extracting the
file.

So here’s where our discussion thread began. First, I made the
json
file
by just creating a blank file called sudo nano config.json then
I
saved a
blank file. The “last” thing I fixed when I thought I had
everything
installed correctly was to copy and paste the correct text into
the
config.json file. I thought I had it right, but I must have had
a
typo
in
the file. Now, are you using an iphone or an android to get the
offline
keys. I have an android, so I can’t comment on their
instructions.
The
android instructions were a bit wonky because they were old; I
had
to
find
newer instructions. The ones under rooted android. If you are
unfamiliar
using adb, it isn’t hard if you follow the instructions. Rather,
getting
the drivers installed correctly can be tricky on older versions
of
windows
(let alone mac). Let me know if you need more specific
instructions.
Rooted Android

Phone should be in developer mode
<
https://www.howtogeek.com/129728/how-to-access-the-
developer-options-menu-and-enable-usb-debugging-on-android-4.2/

Have installed platform tools (adb). If you need them you can
get
the
standalone tools here
<
https://developer.android.com/studio/releases/platform-
tools.html#download

Phone is detected by adb when connected via USB. Test by
running
command adb devices, should show something like FA6910301551
device
under
"List of devices attached"

Dump the config file from the connected phone by running: adb
shell
cat /data/data/com.august.luna/shared_prefs/
PeripheralInfoCache.xml

Take note of bluetoothAddress (this is the device ID),
handshakeKey
(aka
the "offline key") and handshakeKeyIndex (aka the "offline key
offset")

To have your server listening correctly, you should modify
your
config.json, adding an 'address' key to the json file. Example:
{"address":
"<IP_ADDRESS>", "offlineKey": "01234567890abcdef",
"offlineKeyOffset": 1 } .
Suggest you to have your local LAN address with 3 digit ip
address -
for
any reason, as reported on SmartThings forum, ips starting with
10
(2
digits), doesn't communicate well (maybe a bug on ST?)

Again, this worked when I pasted in the info; I must have had a
typo
when
I
did it manually.

Start you server using node nodejs server.js
Open your browser at http://youripaddress:3000/api/status
and
if
everything is configured accordingly, you should be able to see
a
json
response with the result

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375969994>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AZwpyDZWoN4SKcKpO6p248zsAjcyUOHuks5th5l5gaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375976983
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_tVvxw_
3zofbEUxFQPrj2esARrmkLks5th7FggaJpZM4SvOg3

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375978309>,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AZwpyIjREoTmNHm7HgV-
9u5bcfzfe5AYks5th7XvgaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375980609
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_tdGD4tJWg1y-QvPEz19JhhNRlN_Gks5th7z5gaJpZM4SvOg3
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375980788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyONlgAOcsXek3N4tnqSBk6CXNIPkks5th72TgaJpZM4SvOg3
.

No worries!

nodejs is installed!!!!!!
On Sun, Mar 25, 2018 at 11:56 AM curzondax79<EMAIL_ADDRESS>wrote:

No worries!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375980980,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyDjXzhv9PIXlaxLZTEyFUEMj8tPAks5th74ggaJpZM4SvOg3
.

do I create the config.json in github?
On Sun, Mar 25, 2018 at 11:58 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

nodejs is installed!!!!!!
On Sun, Mar 25, 2018 at 11:56 AM curzondax79<EMAIL_ADDRESS>wrote:

No worries!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375980980,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyDjXzhv9PIXlaxLZTEyFUEMj8tPAks5th74ggaJpZM4SvOg3
.

created it on pi, saw your explaination
On Sun, Mar 25, 2018 at 12:12 PM Vic Sprenger<EMAIL_ADDRESS>wrote:

do I create the config.json in github?
On Sun, Mar 25, 2018 at 11:58 AM Vic Sprenger<EMAIL_ADDRESS>wrote:

nodejs is installed!!!!!!
On Sun, Mar 25, 2018 at 11:56 AM curzondax79<EMAIL_ADDRESS>wrote:

No worries!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375980980,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyDjXzhv9PIXlaxLZTEyFUEMj8tPAks5th74ggaJpZM4SvOg3
.

so the next thing you'll probably run into is when you try to run nodejs server per the readme, it will return an error saying it can't find something.  Let me know what it says.

suggested more than I should, I just created the file name but I'm not sure
what to put in it.
On Sun, Mar 25, 2018 at 12:20 PM curzondax79<EMAIL_ADDRESS>wrote:

so the next thing you'll probably run into is when you try to run nodejs
server per the readme, it will return an error saying it can't find
something. Let me know what it says.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375982655,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyOcc6hRs0JlPaD8zK2Vs_fglibCxks5th8OvgaJpZM4SvOg3
.

I did do the developer thing on my android phone
On Sun, Mar 25, 2018 at 12:25 PM Vic Sprenger<EMAIL_ADDRESS>wrote:

suggested more than I should, I just created the file name but I'm not
sure what to put in it.
On Sun, Mar 25, 2018 at 12:20 PM curzondax79<EMAIL_ADDRESS>wrote:

so the next thing you'll probably run into is when you try to run nodejs
server per the readme, it will return an error saying it can't find
something. Let me know what it says.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375982655,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyOcc6hRs0JlPaD8zK2Vs_fglibCxks5th8OvgaJpZM4SvOg3
.

I just put the file in the augustctl directory.

looking in robson83 https://github.com/robson83/augustctl
https://github.com/robson83/augustctl see no knew item
On Sun, Mar 25, 2018 at 12:42 PM curzondax79<EMAIL_ADDRESS>wrote:

I just put the file in the augustctl directory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375984431,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyIjDX-VYAOgow8BtkA2Rck8isL54ks5th8kNgaJpZM4SvOg3
.

Doctor, I'm going to take a break, as always thank you
On Sun, Mar 25, 2018 at 12:50 PM Vic Sprenger<EMAIL_ADDRESS>wrote:

looking in robson83 https://github.com/robson83/augustctl
https://github.com/robson83/augustctl see no knew item
On Sun, Mar 25, 2018 at 12:42 PM curzondax79<EMAIL_ADDRESS>wrote:

I just put the file in the augustctl directory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375984431,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyIjDX-VYAOgow8BtkA2Rck8isL54ks5th8kNgaJpZM4SvOg3
.

You're welcome, I'm around if you need me.
Regards,
Dan Allen, D.O, M.B.S., M.A.T.
Resident Psychiatrist
The Medical Center, Bowling Green, KY
We progress from process.
On Sun, Mar 25, 2018 at 12:29 PM, Vicbanyan<EMAIL_ADDRESS>wrote:

Doctor, I'm going to take a break, as always thank you
On Sun, Mar 25, 2018 at 12:50 PM Vic Sprenger<EMAIL_ADDRESS>wrote:

looking in robson83 https://github.com/robson83/augustctl
https://github.com/robson83/augustctl see no knew item
On Sun, Mar 25, 2018 at 12:42 PM curzondax79<EMAIL_ADDRESS>wrote:

I just put the file in the augustctl directory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/robson83/augustlock-smartthings/issues/
1#issuecomment-375984431>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZwpyIjDX-
VYAOgow8BtkA2Rck8isL54ks5th8kNgaJpZM4SvOg3>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375987864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_tZJAPUTDK2DcBpT0--cPMfBtrXCzks5th9PmgaJpZM4SvOg3
.

As above, you've noted the link to the project is a bit broken.  Here's the real link
https://github.com/robson83/augustlock-smartthings

Happy Monday Dr Dan, I'm at the place where I created config.json but am
very confused as to put in it, at you convenience would you please lead me
in the right direction.
On Sun, Mar 25, 2018 at 4:22 PM Vic Sprenger<EMAIL_ADDRESS>wrote:

Thank you sir, back to it soon.
On Sun, Mar 25, 2018, 2:59 PM curzondax79<EMAIL_ADDRESS>wrote:

As above, you've noted the link to the project is a bit broken. Here's
the real link
https://github.com/robson83/augustlock-smartthings
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-375994434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyK2A0cQQhwyagJvBvw22t0Si3xopks5th-kagaJpZM4SvOg3
.

Dan, in closing out this project I wanted to thank you one more time for helping me. Your patience and understanding in dealing with my ignorance in this work was truly outstanding. I sincerely wish you the best in your career and if ever I'm in the area I'm definitely going to look you up and say hello. Vic

Did you figure it out?
On Fri, Apr 6, 2018, 09:43 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, in closing out this project I wanted to thank you one more time for
helping me. Your patience and understanding in dealing with my ignorance in
this work was truly outstanding. I sincerely wish you the best in your
career and if ever I'm in the area I'm definitely going to look you up and
say hello. Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-379275213,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajw_te1exTTZzzv1IaZ3-a2wGm7K0Ltsks5tl38mgaJpZM4SvOg3
.

I would love to say yes but I tried for many days with no success. I do
believe you understood how ignorant I am regarding the things you were
trying to teach me. That's why I had to give you just one more thanks for
sticking with me as long as you did. I truly learned a lot and will
continue my search for progress through process. Vic
On Fri, Apr 6, 2018, 11:03 AM curzondax79<EMAIL_ADDRESS>wrote:

Did you figure it out?
On Fri, Apr 6, 2018, 09:43 Vicbanyan<EMAIL_ADDRESS>wrote:

Dan, in closing out this project I wanted to thank you one more time for
helping me. Your patience and understanding in dealing with my ignorance
in
this work was truly outstanding. I sincerely wish you the best in your
career and if ever I'm in the area I'm definitely going to look you up
and
say hello. Vic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-379275213
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ajw_te1exTTZzzv1IaZ3-a2wGm7K0Ltsks5tl38mgaJpZM4SvOg3
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robson83/augustlock-smartthings/issues/1#issuecomment-379281543,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZwpyOnb0HF1uqB4Oh4_CkPsd-Lpb6vDks5tl4PSgaJpZM4SvOg3
.


update tooltip.js

tooltip will be hidden before it is correct positioned. this change will prevent top left corner flicker...

Is the flicker based on what is currently in master?

Can you link a reproduction that demonstrates the flicker clearly on the most current version?

http://plnkr.co/edit/jnTT6PT9IMaBER7FenZN?p=preview
plunr example. put mouse on button, notice above

I like this solution - thanks a lot!


Updating processor factory to collector 048

Updated opentelemetry-collector to 0.48.0
The main change is around processorhelper.NewFactory that was changed to component.NewProcessorFactory

👋🏻 Thank you for this, @jorgelopezdan. I'm sorry that I did not see your PR before I started the work for #14 which upgraded the timestamp processor and examples to OTel Collector 0.50.0.
I'll close this out with sincere thanks for the contribution 🙏🏻


Add support for non-standard P2SH redeem scripts

I'd like Haskoin to support the building of transactions with non-standard redeem scripts in the inputs (since Bitcoin Core 0.10, rules around redeem scripts have been mostly removed and non-standard redeem scripts now get relayed correctly).
The issue is type RedeemScript = ScriptOutput and how ScriptOutput is documented as "describing standard transaction".
I feel like type RedeemScript = Script may make more sense, what do you think?

ah I think the biggest problem will be sigKeys which is used in signTx as it guesses which keys sign the input given the output we're spending. But if it's arbitrarily non-standard, we can't simply guess the key and should expect instead to be given the requirements

actually, adding a constructor to ScriptOutput seems much easier https://github.com/haskoin/haskoin/compare/master...hudon:hudon-arbitrary-redeem

Some rewriting of things may be in order to support this. You may want to submit a patch. ;)

yea I tried but it changes way too many modules so I ended up writing a signTx for my specific case... it's probably better this way


Add a namespace paramater to connect()

Google Datastore supports multi-tenancy via namespaces. Building that directly into the connect call will allow us to emulate different "databases" within Datastore. Such a feature is useful for keeping a Dev datastore and a production datastore for example.

Is this an answer to my previous question - or just something I was not
meant to be copied on 'cos would not comprehend it........
On Thu, Apr 30, 2015 at 6:35 AM, Ryan Stuart<EMAIL_ADDRESS>wrote:

Google Datastore supports multi-tenancy via namespaces
https://cloud.google.com/datastore/docs/concepts/entities. Building
that directly into the connect call will allow us to emulate different
"databases" within Datastore. Such a feature is useful for keeping a Dev
datastore and a production datastore for example.
—
Reply to this email directly or view it on GitHub
https://github.com/Kapiche/gcloud-datastore-oem/issues/2.

--
Mac Exon-Taylor
CEO, Co-Founder
Kapiche Ltd
<EMAIL_ADDRESS>+44 (0) 7460 170 907
www.kapiche.com http://www.kapiche.com

Neither. It's something you get notified off because you are automatically subscribed to all Kapiche repos. On the github page, top right, click the unwatch button.

Thanks, will do.  I needed to clarify the Trending and Data Storage
elements in the Competitor table.  We don't offer Topic trending right now;
granted we can provide the data to do it - if that is what you meant?
Equally, I was not sure if the Data Storage item referred to the underlying
Data mining/indexing platform, or simply a capability of the API?
Also, I thought we were advocating sentiment at the Topic level, not
comment, so perhaps ticking both boxes negates our argument?
On Thu, Apr 30, 2015 at 8:20 AM, Ryan Stuart<EMAIL_ADDRESS>wrote:

Neither. It's something you get notified off because you are automatically
subscribed to all Kapiche repos. On the github page, top right, click the
unwatch button.
—
Reply to this email directly or view it on GitHub
https://github.com/Kapiche/gcloud-datastore-oem/issues/2#issuecomment-97691991
.

--
Mac Exon-Taylor
CEO, Co-Founder
Kapiche Ltd
<EMAIL_ADDRESS>+44 (0) 7460 170 907
www.kapiche.com http://www.kapiche.com


some question about exome=true

Hello, can I directly use your exome reference signature with other software for feature extraction? I would like to compare the performance between the software. I would like to know if, when using exome=True, any other operations are performed on the input data besides sampling according to the V7 bed, such as normalization.The path is "SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.4_SBS_GRCh38_exome.txt"

Dear @shenhaizhongdechanrao,
Thanks so much for your interest! Of course, feel free to use our renormalized version of the COSMIC reference signatures based on the exome trinucleotide context. Indeed, please let us know if we can help with anything. You can reach out by email at<EMAIL_ADDRESS>Regarding your question, you were totally correct. When using exome=True, the input data is downsampled to the exome, according to the BED file provided in SigProfilerMatrixGenerator and the renormalized version of the signatures is used. SigProfilerAssignment does not perform any normalization of the input data, as we decided to directly renormalize the reference signatures instead.
I hope this makes sense, and please reopen the ticket or send us an email if you have any further questions.


Refactor with new command structure

Reference: https://github.com/PortalNetwork/kaizen-cli/wiki/kaizen-cli

Create an refactor-kaizen branch for this issue


Projection with any() ?

Replacing some of my ranges filter stuff with flux made it around 25% faster, but I am unable to use flux::proj() for a projection with any():
return ! std::ranges::any_of(mappingsList, [](const auto vk) { return vk == 0; }, &CBActionMap::ButtonVirtualKeycode);
attempt:
return !flux::ref(mappingsList).any([](const auto vk) { return vk == 0; }, flux::proj(std::equal{}, &CBActionMap::ButtonVirtualKeycode));
Documentation doesn't really refer to flux::proj() much at all, beyond a couple instances of it's usage.

Nevermind, this works:
return !flux::ref(mappingsList).any(flux::proj([](const auto vk) { return vk == 0; },&CBActionMap::ButtonVirtualKeycode));

Replacing some of my ranges filter stuff with flux made it around 25% faster

That's great to hear!

Documentation doesn't really refer to flux::proj() much at all, beyond a couple instances of it's usage.

Yeah, there's lots of stuff missing from the documentation at the moment, it definitely needs improvement

Nevermind, this works:
return !flux::ref(mappingsList).any(flux::proj([](const auto vk) { return vk == 0; },&CBActionMap::ButtonVirtualKeycode));

Glad to hear you figured it out! If you're interested, I think the following should be equivalent but is a bit shorter and perhaps more readable: (the generated code should be the same though)
return flux::all(mappingsList, flux::proj(flux::pred::nonzero, &CBActionMap::ButtonVirtualKeycode));

If you have any more questions about Flux please let me know :)


fix typo in alexnet.md

fixed typo: 'ToTenor' -> 'ToTensor'

The only new commit is 62f9015: fix typo in alexnet.md. The other three are already in mli:master.
ps: I need to learn how not to include the previous commits...


[Bug Report] Text input saving on every keystroke

title says it all

@all-contributors please add @CaiCheng-Li for bug


New release needs to have make swagger run to pick up recent changes.

@dmettem   Sorry I wan't clear re #16.  The last change I submitted was updating the return codes via the  hack/fix_vra_swagger script.  So you'll need to run make swagger to put the change in and rebuild the models/client and then add a new release...

Addressing in #18.

Addressed in #18.