IoT solution with an open source and free to use tracking platform for high difficulty trails that observe lost hikers and higher rate of hiker injuries.
This dashboard currently works with WisNode TrackIt RAK2171 only. The project will be constantly updated to include more devices.
Thanks to GeeksForGeeks for steps to deploy Node.js app using Heroku
Please note that Heroku is ending all it's free services starting November 28th, 2022. We will soon update this page to include AWS Free Tier Hosting.
- Create Free Account on Heroku
- Clone this repository and push it to your Github
- Goto https://dashboard.heroku.com/apps and Click on New > Create New App
- Add app-name and Click on Create app
- Open Deploy tab and Click on Github under Deployment method
- Provide necessary persmission to provide Heroku access to your Github repo
- After that, the Deployment section will show up where you can select pick them up and deploy or Manual Deployment, click Enable Automatic Deploys
- Now we have to tell Heroku that our app is a NodeJS app.
- Open the Settings tab scroll down and click “Add buildpack
- Select NodeJS from the options and click Save changes. Now, go back to the Deploy tab, and click Deploy Branch at the bottom.
- Heroku will take the code and host it.
- Now open the Setting tab scroll and look for Domain. We can see a URL if we copy paste and run in the browser, we can see our Deployed App.
- Goto https://console.helium.com/devices
- To add a Integration, go to Integrations on the left-hand menu. Select the integration to add - in this case, the HTTP integration.
- The next step is to paste the HTTP endpoint.
- Copy the URL from Heroku and paste it under Endpoint URL. HTTP Header and Value are not required and those can be left blank. Lastly, provide a name for the integration. Names do not have to be unique. Click Add Integration.
- Goto Flows > Devices
- Drag and Drop the Device to the Dashboard
- Goto Flows > Integrations
- Drag and Drop the Integration we just added to the Dashboard
- Connect Device to Integration in the Dashboard
- Your device should start sending location data to your Heroku app
- Your device's location can be accessred from https://APP-NAME.herokuapp.com/tracker/DEVICEID
Copyright 2022 - IoT Off-Grid, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.