Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 640 Bytes

design.md

File metadata and controls

23 lines (16 loc) · 640 Bytes

Implementation Details

Google Cloud IoT Core

Machinist communicates using MQTT to IoT Core through Gateways and Devices.

Machinist subscribes to the following topics:

  • /devices/gateway-id/config
  • /devices/gateway-id/commands/#

Machinist publishes to the following topics:

  • /devices/gateway-id/state
  • /devices/gateway-id/events/#

When Machinist receives a config, it starts a machine for each device-id listed in config.

Machines subscribe to the following topics:

  • /devices/device-id/config
  • /devices/device-id/commands/#

Machine publish to the following topics:

  • /devices/device-id/state
  • /devices/device-id/events/#