【文件属性】:
文件名称:green-bean-firebase-laundry:使用洗衣信息更新 Firebase
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-13 06:51:17
JavaScript
这包含一些示例代码,用于侦听洗衣机,然后将该状态更改推送到 FireBase。
开始
连接到树莓派,然后运行:
git clone https://github.com/firstbuild/green-bean-firebase-laundry
cd green-bean-firebase-laundry
npm install
设置您的凭据!
编辑machine-status.js用自己的firebase_email , firebase_password ,并改变firebase_sandbox如果您不使用FirstBuild的火力地堡沙箱。
运行!
node machine-status.js
【文件预览】:
green-bean-firebase-laundry-master
----package.json(778B)
----LICENSE(1KB)
----README.md(524B)
----machine-status.js(2KB)