I receive the following input:
$aws/things/siemens-logo/shadow/update
{
"state": {
"reported": {
"I..1:1-1": "01"
}
}
}
How can I republish the value as follows:
office/rgb1/light/status
{
"state": "ON",
}
I'm stuck with the SQL statement.
SQL: SELECT VALUE state from '$aws/things/siemens-logo/shadow/update'
*I found the following page: https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-json.html