Hass.ioに移行 2018/02/17
https://y-nmc.blogspot.jp/2014/03/irkit.html
curl -i “http://irkita1f0.local/messages” -H “X-Requested-With: curl”
“照明-全灯”
{“format”:”raw”,”freq”:38,”data”:[6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
{“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,815,904,2537,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
“照明-普段”
{“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,815,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
{“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,815,904,2537,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
“照明-常夜灯”
{“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,815,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
{“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,815,904,2537,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
“エアコン-電源”
{“format”:”raw”,”freq”:38,”data”:[6424,3119,873,761,873,761,873,2368,873,761,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,2368,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,2368,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,2368,873,761,873,2368,873,2368,873]}
{“format”:”raw”,”freq”:38,”data”:[6424,3119,873,761,873,761,873,2368,873,761,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873]}
{
“accessory”: “IRKit”,
“name”: “照明-全灯”,
“irkit_host”: “irkita1f0.local”,
“on_form”: {“format”:”raw”,”freq”:38,”data”:[6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
,
“off_form”: {“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,815,904,2537,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
},
{
“accessory”: “IRKit”,
“name”: “照明-普段”,
“irkit_host”: “irkita1f0.local”,
“on_form”: {“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,815,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
,
“off_form”: {“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,815,904,2537,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
},
{
“accessory”: “IRKit”,
“name”: “照明-常夜灯”,
“irkit_host”: “irkita1f0.local”,
“on_form”: {“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,815,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
,
“off_form”: {“format”:”raw”,”freq”:38,”data”:[6881,3458,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,815,904,2537,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,2537,904,815,904,815,904,65535,0,65535,0,18031,6881,3341,904,815,904,815,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,815,904,815,904,2537,904,815,904,2537,904,815,904,2537,904,815,904,815,904,2537,904,815,904,815,904,815,904,815,904,2537,904,2537,904,2537,904,2537,904,815,904,2537,904,815,904,815,904,815,904,2537,904,2537,904,815,904,815,904,2537,904,815,904,815,904]}
},
{
“accessory”: “IRKit”,
“name”: “エアコン-電源”,
“irkit_host”: “irkita1f0.local”,
“on_form”: {“format”:”raw”,”freq”:38,”data”:[6424,3119,873,761,873,761,873,2368,873,761,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,2368,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,2368,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,2368,873,761,873,2368,873,2368,873]}
,
“off_form”: {“format”:”raw”,”freq”:38,”data”:[6424,3119,873,761,873,761,873,2368,873,761,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,2368,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,2368,873,761,873,761,873,761,873,761,873,761,873,761,873,2368,873,761,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873]}
},
資料
https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pi
https://github.com/nfarina/homebridge
https://datahotel.io/archives/725
http://qiita.com/FePlus/items/b2120277194740c8e021
http://make-muda.weblike.jp/2016/06/4165/