How to sendCommand to OFFLINE thing? How to force that?

Now that I think about it, I’m not sure that expire is in the docs. But it’s very straight forward. In MainUI navigate to Settings → Item → YourItem and under “metadata” click “Add Metadata” and choose “Expiration Timer”. The form should be pretty self explanatory.

For something a little more involved, see Design Patterns: Generic Is Alive.