Skip to content

ryo-ma/ood-meteoroid-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Okinawa Open Days Meteoroid demonstration

Usage

Login a raspberry pi with a human sensor

ssh user@ip

Start pipenv and Install requirements

cd devices/
pipenv shell
pipenv install

Run the human sensor

python human_sensor/human_sensor.py http://orion_host:port

Login a raspberry pi with a led

ssh user@ip

Start pipenv and Install requirements

cd devices/
pipenv shell
pipenv install

Run the led

./led/start.sh

Update a function v1 using meteoroid-cli

meteoroid function update function_id functions/switch_led_v1.py -p led_endpoint http://host:port -p pattern color_wipe -p color green -l python:3

Update a function v2 using meteoroid-cli

meteoroid function update function_id functions/switch_led_v2.py -p led_endpoint http://host:port -p pattern color_wipe -p color green -p slack_url https://hooks.slack.com/services/xxxx -l python:3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published