Skip to content

[:tada:Active] ハードウェア領域:Firebase依存プログラム群

Notifications You must be signed in to change notification settings

inct-compost/hard-data-transmission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hard-data-transmission

Description

IoTコンポストトイレのハードウェアに組み込むプログラム
Firestoreへのデータの追加処理とFirebaseにアクセスするための認証用プログラム

This repository sends requests to the back-end server of back-firebase-functions to authenticate and add data

Requirement

name version
python(global) 3.x
netifaces 0.11.0

Getting Started

1. Install package

pip install netifaces

2. Add json files

2-1. touch file

cd json 
touch login_params.json token.json

2-2. Edit json file

login_params.json

{
  "id": "[hardware-id]",
  "pass": "[password]"
}

token.json

{}

How to use

Add sensing data

python main.py add -i [temp] [hum]

About

[:tada:Active] ハードウェア領域:Firebase依存プログラム群

Topics

Resources

Stars

Watchers

Forks

Languages