Open mstfldmr opened 4 years ago
Try this: aws iot-data publish --topic "$TOPIC" --payload "{\"id\":\"1\",\"device\":\"$DEVICE\",\"flow\":$FLOW,\"temp\":$TEMP,\"humidity\":$HUMIDITY,\"sound\":$SOUND}" --profile "$PROFILE" --region "$REGION" --cli-binary-format raw-in-base64-out > /dev/null 2>&1
The payloads are not being base64 encoded, thus they are not published. I get this error: