aws-iot-button icon indicating copy to clipboard operation
aws-iot-button copied to clipboard

Missing step in directions?

Open ahollyer opened this issue 7 years ago • 0 comments

After following the instructions in the readme, the AWS IoT business rule is misconfigured. Resolved it with the following steps:

  1. Log into your AWS console at https://aws.amazon.com
  2. Go to the AWS IoT service
  3. Click "Act" in the lefthand menu. Rules dashboard comes up
  4. Click the card for the rule that matches your device
  5. Next to the "Rule Query Statement" heading, click edit
  6. Look at the topic filter. It says /button_pressed. This is incorrect. Change it to the actual topic name your device is publishing to: YOUR_DEVICE_NAME/button_pressed

If you don't know your device name, you can connect your esp32, run the terminal command 'mos console' and, if you've set up correctly, you can press the button and see the full topic name, e.g.

[Mar 10 13:48:58.508] Published: yes topic: esp32_12345/button_pressed message: {"free_ram":150572,"total_ram":229788}

ahollyer avatar Mar 11 '18 02:03 ahollyer