Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modern Easy IoT with Docker & Resin.io

Modern Easy IoT with Docker & Resin.io

Tim Perry

June 07, 2018
Tweet

More Decks by Tim Perry

Other Decks in Technology

Transcript

  1. Modern easy IoT
    with Docker & Resin.io
    @pimterry

    View full-size slide

  2. Today’s Kit
    @pimterry
    Raspberry Pi 3 B Sense HAT

    View full-size slide

  3. How do you deploy,
    monitor and manage
    IoT applications?
    @pimterry

    View full-size slide

  4. @pimterry
    Wifi Login
    SSID: ResinWifi
    Password: resinwifi

    View full-size slide

  5. Create an account
    Create an application
    Add your device
    Push your code
    @pimterry
    Let’s get started!

    View full-size slide

  6. Sign up at Resin.io
    Enter your details
    Add an SSH key (optional)
    @pimterry
    Create an account

    View full-size slide

  7. @pimterry
    Create an application

    View full-size slide

  8. @pimterry
    Add your device
    Click ‘Add Device’
    Pick Development edition
    Enter the network details
    Follow the guide to flash your SD card
    Setup your hardware
    Wait for it to boot...

    View full-size slide

  9. @pimterry
    Push your code
    git clone
    https://github.com/resin-io-playground/sense-snake
    Add your app as a git remote
    > git push resin master

    View full-size slide

  10. @pimterry
    Push your code (with no SSH key)
    git clone https://github.com/resin-io-playground/sense-snake
    Install the CLI:
    docs.resin.io/reference/cli/ (‘Standalone install’)
    In the sense-snake folder:
    > resin login
    > resin push

    View full-size slide

  11. Reconfigure the app remotely
    See github.com/resin-io-playground/sense-snake
    Push code fast with local mode
    See docs.resin.io/learn/develop/local-mode/
    Build something for yourself
    github.com/resin-io-playground/node-sense-hat
    github.com/RPi-Distro/python-sense-hat
    @pimterry
    Go further

    View full-size slide

  12. @pimterry
    Changing the network settings
    Plug in your SD card
    Open the ‘resin-boot’ device
    Open the ‘system-connections’ folder
    Edit the settings in resin-wifi-01
    Eject, put in the pi, power it up

    View full-size slide

  13. @pimterry
    Have questions?
    forums.resin.io

    View full-size slide

  14. Modern easy IoT
    with Docker & Resin.io
    @pimterry

    View full-size slide