Giter VIP home page Giter VIP logo

webapp's Introduction

OpenBekenIOT Web App

This repo publishes a simple javascript webb app to

https://openbekeniot.github.io/webapp/

The code is in the gh-pages branch!

The web app is initiated by a very simple webpage on the device at http://(IP)/app

The address the device redirects to defaults to this repo, but there is a configuration on the dveice, so you can host locally on your LAN for more security, or even from the device itself (via the device filesystem if present).

The app root page loads startup.js, which then loads VueJS and a SFC myComponent.vue, which is the guts of the web app. Each page of the app is a separate SFC vuejs control.

Features include OTA, device filesystem management, device configuration, logging, etc.

How to develop the OBK Web App?

For developing web app, you might want to run it locally and not from github

  1. Get Visual Studio Code
  2. Get our repository - checkout gh-pages branch
  3. Open Folder in Visual Studio Code - our repository
  4. Right click on code and "Open with live server"
  5. On OBK device (or OBK simulator), change Web App URL to your device IP + port from Visual Studio Code - for example: http://192.168.0.118:5500/
  6. Then your OBK device will access your local web app server instead of the one from github. Then you can easily develop and test code changes quickly.

How to host Web App with Docker?

See guide: Hosting OpenBeken Webapp Locally with Docker on Various Operating Systems

webapp's People

Contributors

btsimonh avatar openshwprojects avatar

Stargazers

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

webapp's Issues

Webapp seems to be pointing to the wrong OTA file BL602.

Hello,
While using webapp
https://openbekeniot.github.io/webapp/ on BL602 chip.
In the OTA tab there is option to select OTA file to download to PC. After picking version I want to download I get link as below:
https://github.com/openshwprojects/OpenBK7231T_App/releases/download/1.15.645/OpenBL602_1.15.645.bin
Flashing with downloaded binary is getting stuck.
I believe that correct hyperlink should lead to OTA version:
https://github.com/openshwprojects/OpenBK7231T_App/releases/download/1.15.645/OpenBL602_1.15.645_OTA.bin.xz.ota
which is correct version for OTA binary. Flashing with it succeeded.

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.