Reputation: 625
I am trying to integrate the IP camera with my google actions. I have developed several commands such as change camera name, start rotation, start recording etc., and implementing it with my Google fulfillment using Actions on Google Client Library for Node.js v2. After I read the guide, I found that CameraStream is available in Smart Home SDK, but I do not see any reference for Dialogflow with my own hosting fulfillment server.
Is there anyway to use Dialogflow with Smart Home CameraStream Trait? or do I have to switch to Google Smart Home SDK? Because I also want to train my own phase. How should I do it if it is only available for Home SDK?
Upvotes: 1
Views: 197
Reputation: 11968
If you want to add a direct smart home integration for the Google Assistant, you should use the smart home integration. This will allow you to give commands directly like "show me the doorbell" to get the camera stream.
If you are looking for additional options that are not available as smart home traits at the moment, such as "start rotation", you should look into Dialogflow as a conversational action.
The important thing to keep in mind is that smart home actions do not require natural language processing. If the user says "show me the doorbell", your server does not get the user's query nor needs to interpret it. Your server will only get an execute command for that device. Dialogflow is a great tool for natural language processing, but is not used for smart home actions.
Upvotes: 1