Coffee machine monitoring

This is a sample application implemented for demonstration purposes using AWS IoT Greengrass and AWS Lambda

Machine 1

{%if data_per_device and '1' in data_per_device %} Cups served: {{data_per_device['1'].total_cups}}
Bean usage: {{data_per_device['1'].total_beans_usage}} g
{% endif %} {% if not data_per_device or '1' not in data_per_device %} No telemetry on caffee consumption is available yet {% endif %}

Machine 2

{%if data_per_device and '2' in data_per_device %} Cups served: {{data_per_device['2'].total_cups}}
Bean usage: {{data_per_device['2'].total_beans_usage}} g
{% endif %} {% if not data_per_device or '2' not in data_per_device %} No telemetry on caffee consumption is available yetx {% endif %}
{{data_per_device}}