Skip to content

jonathanpaek/artikcloud-tutorial-mqtt-js-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

artikcloud-mqtt-js-sample

artik cloud mqtt sample code using javascript

requirements

  • node
  • npm

setup

  • create ARTIK Cloud account and create sample device (link coming soon)
  • rename 'template_config.json' to 'config.json'
  • set your 'deviceId' and 'deviceToken' in config.json file

install packages with following command

%> npm install

run the application

%> node app.js

sample response:

publishing data: {"temp":214}
publish path: /v1.1/messages/<redacted>
Use browser to see your data in realtime https://artik.cloud/my/data

About

sample code for mqtt on ARTIK Cloud using javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%