LoginSignup
1
1

More than 5 years have passed since last update.

raspberry pi 1 model bで、node-red その9

Last updated at Posted at 2016-10-27

概要

raspberry pi 1 model bの、node-redで、httpでmythingsを発火させてみた。

開発環境

raspberry pi 1 model b
raspbian 2016_09_23 jessie lite

写真

ras12.JPG

mythingsアプリの設定

idcfで条件を満たしたら、自分に通知する。
トリガー: trigger-1
メッセージ: {{text1}}

http requestの設定

Method: post
URL: http://hoge/data/trigger-1_uuid

functionの設定

msg.payload = {
    "text1": "okok"
};
msg.headers = {
    "meshblu_auth_uuid": "trigger-1_uuid", 
    "meshblu_auth_token": "trigger-1_token"
};
return msg;
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1