Git Product home page Git Product logo

cobotta_crepe_app's Introduction

cobotta_crepe_app

This repository is application for

Two COBOTTA units used for performing the multiple processes for crepe cooking


Environment

  • cobotta

    • OS: Standard OS, not COBOTTA driver for Linux
    • Version: 2.7.x ~
    • IP: 192.168.0.1 , 192.168.0.2
  • Laptop Computer

    • OS: Cross-platform (Windows/Linux/macOS)
    • IP: 192.168.0.xxx

Installation

usage on webserver

pip3 install flask
pip3 install flask_sqlalchemy
pip3 install paypayopa

Open one shell, run the webserver program.

cd ./app
python3 server.py

Running on http://localhost:5073 (Press CTRL+C to quit)


If you use Paypay API, please change the following in "views.py" line 25.

API_KEY = "xxxxxxxxxx" #"YOUR_API_KEY"
API_SECRET = "xxxxxxxxxx" #"YOUR_API_SECRET"
MERCHANT_ID = "xxxxxxxxxx" #"YOUR_SHOP_ID"

usage on Electron APP

Prepare material for icon and save "server.py" in the same directory with the following name

  • crepe_icon.ico
  • crepe_icon.png

Install nodejs & npm

sudo apt install -y nodejs npm
sudo npm install n -g
sudo n stable
sudo apt purge -y nodejs npm
exec $SHELL -l
node -v

create node_modules

cd ./app
npm i -D electron-packager

  • Windows
npx electron-packager . app --platform=win32 --arch=x64 --icon=crepe_icon.ico
  • Raspbian
npx electron-packager . app --platform=linux --arch=armv7l --overwrite --icon=crepe_icon.png

Then, platform=linux

cd ./COBOTTA_Crepe_Cooking-linux-arm64/
chmod +x COBOTTA_Crepe_Cooking

Usage

First

Enter your ID and password to log in.(No ID or PW required)

  • ID:
  • PW:

Second

Perform COBOTTA CALSET.

Press the "Auto CALSET" button to execute CALSET for each COBOTTA.

Third

Move each COBOTTA to the initial position for crepe making

Latest

Select the menu and click the order button(Order with the above contents) to cook the crepes automatically.


License

This repository is licensed under the MIT license, see LICENSE

cobotta_crepe_app's People

Contributors

tasada038 avatar

Stargazers

 avatar

Watchers

 avatar

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.