Skip to content

guillain/digitalDelegation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digitalDelegation

Cisco Spark integration with SigFox button

What is it?

  • Bt.tn / Sigfox button as trigger
  • Cisco Spark as Space for human and data
  • => When the Button is pushed Cisco Spark space is created and people are added

Based on

  • sparky (nodejs + express)
  • bt.tn (can also provide simulator)

HowTo

  • Clone localy

git clone https://github.com/guillain/digitalDelegation.git

  • Go into the folder

cd digitalDelegation

  • Install dependencies

npm install

  • Config your bt.tn with:
    • action: HTTP
    • HTTP URL: your url
    • HTTP Method: POST
    • Arguments: application/json
{"ID":"<ID>","EID":"<EID>","DEVICEID":"<DEVICEID>","counter":"<COUNTER>","date":"<DATE>", "time": "<TIME>","name":"<NAME>","user":"<USER>","location":"<LOCATION>","emailaddress":"<EMAILADDRESS>"}

cp config.js.default config.js vi config.js

  • Run the application, two configuration availables

  • 1/ For the dev, node is used

./app manual

  • 2/ For the prod, pm2 is used (install also this dependency)

./app [start|stop|restart|show|staus|log]

  • Push your button!!!
  • Check what happen on your Cisco Spark app

Have fun

About

Cisco Spark integration with SigFox button

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published