Last Updated on : 2022-06-21 01:57:31download
You have created the pet feeder, defined its functions, and developed its remote control on the app.
In the function definition of the product, the relevant DP must meet the following requirements:
DP name | DP Code | DP content | Required or not |
---|---|---|---|
Switch | switch | {“type”:“bool”} | No |
Night light switch | light | {“type”:“bool”} | No |
Manual feeding | manual_feed | {“unit”:“”, “min”:0, “max”:12, “scale”:0, “step”:1, “type”:“value”} | No |
Query surplus grain | surplus_grain | {“unit”:“%”, “min”:0, “max”:100, “scale”:0, “step”:1, “type”:“value”} | No |
Query feeding status | feed_state | {“range”: [“standby”, “feeding”, “done”], “type”: “enum”} | No |
The pet feeder product defined based on the all-in-one version currently supports the integration of Google Assistant.
Function | Support language area | Corpus | Corresponding to DP delivery |
---|---|---|---|
Switch | Danish (da), Dutch (nl), English (en), French (fr), German (de), Hindi (hi), Indonesian (id) Italian (it), Japanese (ja), Korean (ko ), Norwegian (no), Portuguese (pt-BR), Spanish (es), Swedish (sv), Thai (th) |
|
On : switch=1Off : switch=0 |
Night light switch | English (en) |
|
Turn on: light=1 Turn off: light=0 |
Manual feeding | English (en) |
|
manual_feed =N |
Query surplus grain | English (en) | How much pet food is remaining in my (device_name)? | surplus_grain =N |
Query feeding status | English (en) | Is the (device_name) still dispensing pet food? | Standby:feed_state =standbyFeeding: feed_state =feedingFeeding done: feed_state =done |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback