【文件属性】:
文件名称:mqtt-google-calendar:Google日历到MQTT的桥梁
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-16 06:22:57
JavaScript
mqtt-google-calendar
此应用程序是Google日历桥,可以在Google日历事件的开始和结束时将用户定义的主题发布到MQTT代理。
设置
sudo npm install mqtt-google-calendar -g
开始经纪人
使用以下命令启动MQTT代理
mosquitto
配置
创建/修改配置“ config.json”
{
"calendar_id":"foo@group.calendar.google.com",
"client_secret":"foobar",
"client_id":"foobar.apps.googleusercontent.com",
"refresh_token":"foo"
}
开始申请
使用配置文件的路径和MQTT代理的URL启动应用程序
mqtt-google-ca
【文件预览】:
mqtt-google-calendar-master
----.gitignore(37B)
----package.json(818B)
----README.md(2KB)
----mqtt-google-calendar.js(9KB)
----config-example.json(177B)