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:
Dishwashers
Dryers
Sprinklers
Vacuums
Washer
Action topics¶
The gBridge service publishes either 0
(device should be stopped) or 1
(device should be started) when you say a voice command.
Status topics¶
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:
One of
0
,off
,stop
means the device is stopped.One of
1
,on
,start
means the device is started.
These values are case-insensitive.