Start and Stop¶
The trait “Start and Stop” allows you to start and stop devices or a running cycle of it.
Fitting device types¶
These device types could be combined well with this trait:
The gBridge service publishes either
0 (device should be stopped) or
1 (device should be started) when you say a voice command.
Your application should publish the current device state to the status topic everytime the device is started/ stopped. Data from the status topic is cached and used to response to questions about the device state from Google.
You may publish these values on the status topic:
stopmeans the device is stopped.
startmeans the device is started.
These values are case-insensitive.