google-home / smarthome-traits Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
There is one refresh button (DOM element ID# request-sync) on index.html under public folder. Originally clicking that btn will fire a /requestsync HTTP request. However it won't work because that /requestsync URL for Firebase hosting is different from Firebase function.
URL for index.html: https://project-id.web.app/index.html
so the URL for refresh button would be : https://project-id.web.app/requestsync
However actually refresh URL should be Firebase function endpoint URL like:
https://us-central1-project-id.cloudfunctions.net/requestsync
It can be done by just updating rewrite config in firebase.json:
"hosting": {
"public": "public",
"rewrites": [{
"source": "/requestsync",
"function": "requestsync"
}]
},
I have the modes and toggles working on the UI and firebase database, and the assistant correctly interprets my commands but doesn't know what to do with them. For example, I can ask it what size the load is and it will respond correctly, but if I say "set the washer load to large" it will either say "sorry, I don't understand" or "sorry, I couldn't reach the smart washing machine"
I am not sure if this is a bug:
https://stackoverflow.com/questions/72880033/sensorstate-smoke-sensor-notification
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.