Giter VIP home page Giter VIP logo

losant-docs's Introduction

Losant Documentation

Repository backing the main Losant documentation, which is live at https://docs.losant.com. Pull requests and other updates are always welcome!

Editing The Documentation

This documentation uses MkDocs to build the actual documentation website. This repository can be cloned and run locally using MkDocs for making changes and previewing them.

To build the Losant documentation yourself, do the following:

  • Prerequisites

    • Run yarn install
    • Install Python 3.6.
    • Install MkDocs v1.0.4 - See Instructions.
  • Run the built in MkDocs webserver
    Go to the repository directory, and run yarn start. The documentation site will be running at http://localhost:8000. Any changes made to the documentation markdown will be reflected automatically.

Deploying

AWS_SECRET_KEY=your_secret AWS_ACCESS_KEY=your_key yarn deploy

Copyright (c) 2019 Losant IoT, Inc

https://www.losant.com

losant-docs's People

Contributors

acdaniel avatar ajcanterbury avatar anaptfox avatar carlowahlstedt avatar cephirothdy2j avatar chimit avatar eeerin avatar inconceivableduck avatar jeffbowen avatar kaybesee avatar michaelsavoia avatar nguyenbn avatar rjhilgefort avatar rozzip avatar spacetc62 avatar thereddest avatar wesm87 avatar zwigby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

losant-docs's Issues

Arduino Example Fails to Compile

The example detailed at Getting Started with the Arduino WiFi 101 Shield is confused, as it mixes two or even three different applications.

  • Connecting to Losant
  • Sending State
  • Receiving Commands

Moreover, it doesn't correspond to the arduino-wifi-shield-101.ino code.

Compiling against the Arduino Zero with Arduino IDE 1.6.12 fails.

JsonObject & payload = command->payload;

invalid initialization of reference of type 'ArduinoJson::JsonObject&' from expression of type 'ArduinoJson::JsonObject*'

Example for mosquitto_pub

I'm trying to use the command-line mosquitto_pub to test the connection with Losant.

mosquitto_pub -h broker.losant.com -p 1883 -t losant/$LOSANT_DEVICE_ID/state -m '{"data":{"Light":3.40e4,"Temperature":24.86,"Humidity":63.05,"Pressure":1.03e3}}' --key $LOSANT_ACCESS_KEY --cert $LOSANT_ACCESS_SECRET

Connection Refused: not authorised.
Error: The connection was refused.

What is possibly wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.