This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:pet_companion [2020/09/26 15:13] vizycam [Using the App Console] |
wiki:pet_companion [2020/09/28 16:54] vizycam |
||
---|---|---|---|
Line 3: | Line 3: | ||
- | {{wiki:bonzer4.mp4||loop,autoplay}} | + | {{wiki:bonzer4.mp4|670x10|loop,autoplay}} |
Line 27: | Line 27: | ||
- Google account | - Google account | ||
- Powered speakers (optional) | - Powered speakers (optional) | ||
- | - Materials for making treat dispenser FIXME: link (optional) | + | - Materials for making [[wiki:make_treat_dispenser|treat dispenser]] |
- Familiarity with Python | - Familiarity with Python | ||
Line 124: | Line 124: | ||
- | {{wiki:pet_companion_vid_770.mp4||loop,autoplay}} | + | {{wiki:pet_companion_vid_770.mp4|770x10|loop,autoplay}} |
Line 160: | Line 160: | ||
- | {{wiki:app_console_800.mp4||loop,autoplay}} | + | {{wiki:app_console_1000.mp4|1000x420|loop,autoplay}} |
Line 254: | Line 254: | ||
- | FIXME! Video of dog being detected | + | {{wiki:detect_dog_770.mp4|770x10|loop,autoplay}} |
Line 284: | Line 284: | ||
- | FIXME: video | + | {{wiki:text_pet_770.mp4|770x10|loop,autoplay}} |
Line 402: | Line 402: | ||
- | Being able to access Vizy remotely and give your pet a treat would be nice, right? Such a feature requires some kind of treat dispenser. Fortunately, making a treat dispenser for your pet isn't too difficult FIXME: link. (And isn't your pet worth it?) | + | Being able to access Vizy remotely and give your pet a treat would be nice, right? Such a feature requires some kind of treat dispenser. Fortunately, [[wiki:make_treat_dispenser|making a treat dispenser for your pet isn't too difficult]]. (And isn't your pet worth it?) |
- | After following the assembly and connection instructions FIXME: link, you're ready to add a "Dispense Treat" button to the code. | + | After following the [[wiki:make_treat_dispenser|assembly and connection instructions]], you're ready to add a "Dispense Treat" button to the code. |
<sxh python; highlight: [5-7, 11-15, 20-21, 25-28]; title: Adding a treat dispenser button:> | <sxh python; highlight: [5-7, 11-15, 20-21, 25-28]; title: Adding a treat dispenser button:> | ||
Line 460: | Line 460: | ||
This code registers a callback with the text media object, so that when you text the word "treat" to your Vizy camera, treats are dispensed, pets are made happy, and you get an "ok" confirmation. | This code registers a callback with the text media object, so that when you text the word "treat" to your Vizy camera, treats are dispensed, pets are made happy, and you get an "ok" confirmation. | ||
- | FIXME: video of treat being typed into phone and treat being dispensed | ||
Line 479: | Line 478: | ||
- | FIXME! Picture of config | + | |
+ | {{wiki:vizy_sharing2_770.mp4|770x10|loop,autoplay}} | ||
Line 504: | Line 504: | ||
And, of course, your pet thanks you! | And, of course, your pet thanks you! | ||
- | |||
- | Here's the complete source code: FIXME! | ||