Open Vicbanyan opened 6 years ago
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 notifications@github.com 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 notifications@github.com wrote:
Thank you very much for your reply, will try same approach
On Tue, Mar 20, 2018, 11:30 PM curzondax79 notifications@github.com 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:
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 notifications@github.com 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. I sincerely do not want you to spend much time and effort with me because it would show up pretty quickly how dumb I am about this things. 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.
On Wed, Mar 21, 2018 at 2:03 PM, Vicbanyan notifications@github.com 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. I sincerely do not want you to spend much time and effort with me because it would show up pretty quickly how dumb I am about this things. 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" notifications@github.com 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. Will be back to you soon and I clearly understand if you decide to raise the white flag and surrender. 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. The first thing up you might have is when you get ready to install node
On Wed, Mar 21, 2018, 14:36 Vicbanyan notifications@github.com wrote:
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. Will be back to you soon and I clearly understand if you decide to raise the white flag and surrender. 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 A.
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 notifications@github.com 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.
We progress from process.
On Fri, Mar 23, 2018 at 9:07 AM, Vicbanyan notifications@github.com 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 notifications@github.com 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 notifications@github.com 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 vlsbanyan16@gmail.com 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 notifications@github.com 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 notifications@github.com 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 notifications@github.com wrote:
Dan, I did exactly what the august lock - smartthings readme said.
On Fri, Mar 23, 2018 at 10:42 AM Vic Sprenger vlsbanyan16@gmail.com 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 notifications@github.com 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 notifications@github.com 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 <
.
— 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.
I'll post the one I used with the annotations that are needed to make it work
On Fri, Mar 23, 2018, 11:15 Vicbanyan notifications@github.com wrote:
No I only did the smartthings one, do you both?
— 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-375718596, or mute the thread https://github.com/notifications/unsubscribe-auth/Ajw_tYy1YbM4ohLkVx5Ah2XzmWPWzHoBks5thR-HgaJpZM4SvOg3 .
Ok, here's my annotated readme. Sorry for the delay.
Clone two different projects:
Then, follow the steps below.
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.
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/
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": "192.168.0.9", "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.
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 notifications@github.com 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": "192.168.0.9", "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 vlsbanyan16@gmail.com 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 notifications@github.com 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": "192.168.0.9", "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 notifications@github.com 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 vlsbanyan16@gmail.com 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 notifications@github.com 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 <
- 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": "192.168.0.9", "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
We progress from process.
I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan notifications@github.com 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 vlsbanyan16@gmail.com 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 notifications@github.com 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": "192.168.0.9", "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 notifications@github.com 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 dan.allen.esq@gmail.com wrote:
I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan notifications@github.com 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 vlsbanyan16@gmail.com 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 <notifications@github.com
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": "192.168.0.9", "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.
On Sun, Mar 25, 2018 at 11:35 AM Vic Sprenger vlsbanyan16@gmail.com wrote:
will do
On Sun, Mar 25, 2018 at 11:21 AM curzondax79 notifications@github.com 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 dan.allen.esq@gmail.com wrote:
I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan notifications@github.com 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 vlsbanyan16@gmail.com 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 < notifications@github.com> 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": "192.168.0.9", "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 notifications@github.com 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.
On Sun, Mar 25, 2018 at 11:35 AM Vic Sprenger vlsbanyan16@gmail.com wrote:
will do
On Sun, Mar 25, 2018 at 11:21 AM curzondax79 notifications@github.com 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 dan.allen.esq@gmail.com wrote:
I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan notifications@github.com 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 <vlsbanyan16@gmail.com
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 < notifications@github.com> 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": "192.168.0.9", "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 notifications@github.com 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 notifications@github.com 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.
On Sun, Mar 25, 2018 at 11:35 AM Vic Sprenger vlsbanyan16@gmail.com wrote:
will do
On Sun, Mar 25, 2018 at 11:21 AM curzondax79 <notifications@github.com
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 dan.allen.esq@gmail.com wrote:
I'll never give up! Let me look into it.
On Sun, Mar 25, 2018, 10:01 Vicbanyan notifications@github.com 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 < vlsbanyan16@gmail.com
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 < notifications@github.com> 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": "192.168.0.9", "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 notifications@github.com 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 vlsbanyan16@gmail.com wrote:
nodejs is installed!!!!!!
On Sun, Mar 25, 2018 at 11:56 AM curzondax79 notifications@github.com 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 vlsbanyan16@gmail.com wrote:
do I create the config.json in github?
On Sun, Mar 25, 2018 at 11:58 AM Vic Sprenger vlsbanyan16@gmail.com wrote:
nodejs is installed!!!!!!
On Sun, Mar 25, 2018 at 11:56 AM curzondax79 notifications@github.com 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 notifications@github.com 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 vlsbanyan16@gmail.com 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 notifications@github.com 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. I've attached a screenshot of the launch command and some json output.
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 notifications@github.com 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 vlsbanyan16@gmail.com 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 notifications@github.com 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.
As above, you've noted the link to the project is a bit broken. Here's the real link
Thank you sir, back to it soon.
On Sun, Mar 25, 2018, 2:59 PM curzondax79 notifications@github.com 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 .
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 vlsbanyan16@gmail.com wrote:
Thank you sir, back to it soon.
On Sun, Mar 25, 2018, 2:59 PM curzondax79 notifications@github.com 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 notifications@github.com 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 .
Installed AugustLock Conttroller in Smartthings. All I get is "Lock is waiting." any thoughts?