New Service: Webhook & Scheduled Execution
obniz event let you use obniz without opening website and running nodejs locally.
After creation of your account, you are able to host private html/js and create event.
obniz event is a serverless service
Set program and set trigger, then an event was configured.
Every trigger triggered, program will automatically started.
You can choose from Three types of triggers.
- Webhook
- Scheduled Time
- Scheduled Interval
Each event has execution limit. It is 120/day for beginners.
Screenshot
Application Examples: Webhook
This is the best way to do something after something happen.
Various web services has it’s own web hook notifications. Facebook/IFTTT/Slack etc….
Imagine How easy move/sound something from web services.
- Ring a alert when CircleCI test failed.
- Integrate with GoogleHome via IFTTT
- Action from Slack
Application Examples: Schedule
Feed a pet, Monitoring house,, These tasks done with scheduled events.
Example: Growing Tomato
It takes a photo and save it on Dropbox every day.
Example: Watering office plant
I know It’s a bother watering office plant.
I do it by scheduled event.
Every 6hours It do watering.
It is possible that notify “no water!” via Slack.
obniz event があれば、ブラウザで開いたりnodejsを起動しなくてもプログラムを実行できます。
アカウントを作ると、プライベートhtml/jsのホスティングやevnetの作成ができるようになります。
obniz evnet はサーバーレスサービス
プログラムをセットして、トリガーを設定すればイベントの出来上がりです。
トリガーが起こるごとにプログラムが自動的に実行されます。
トリガーは以下の3つから選ぶことができます。
- Webhook
- 決まった時間に実行
- 決まった間隔で実行
全てのイベントは実行上限があります。ビギナー向けに現在は120/日です。
製作例: Webhook
何かが起きた後に何かをするには一番簡単な手段です。
沢山のウェブサービスがwebhook通知に対応しています。Facebook/IFTTT/Slack etc
それらを元に動かしたり音を鳴らすのなんていたって簡単。
- CircleCIの自動テストに失敗したらベルを鳴らす
- GoogleHomeとIFTTT経由で連携
- Slackを元にアクション
製作例: Schedule
ペットに餌を上げたり、家の状態をモニターしたり、そういったことはスケジュールイベントで可能です。
例: トマトの成長
毎日写真を取り、Dropboxに上げます。
例: オフィスの植物に水やり
忘れがちなオフィスの植物の水やりを自動化します。
6時間毎に自動的に水をあげます。
水がなくなってきたらSlackに通知することもできます。