...
- Create a new channel (pick any name and type you like).
- Send an event to your pico using the new channel.
- Do you get the same result? Why or why not?
- Delete the channel.
- Resend the event using the deleted channel.
- What happens? Why?
- Send the event
ecco/hello
to your pico. What do you observe? Why? - Add a new rule that selects on
echo/monkey
and responds with "Hello Monkey" unless an event attribute namedname
is given, in which case it will respond with "Hello " followed by the given name. Hint: use the.defaultsTo()
operator. Use the.klog()
operator to log the value that is used. - Repeat the previous exercise using the ternary conditional instead of the
.defaultsTo()
operator.
...