This "Smart Orchid" demonstrate how to link IoT to social web, using WebOfThings and ActivityPub, with WebThings project, check this wiki page from insights:
This is previously explained in:
- If you didn't before register to an instance of mastodon network:
- example: https://mastodon.social
- Once registered, go to settings page to create an application:
- Go to "Settings" / "Development" / "New Application"
- Fill application name: mastodon-lite (or anything else), ignore other fields
- Submit to generate application
- Go to application details and note "access token"
- example: "B4DC0D-DeadBeef1BadCode-1TODO_1TODOtodoTODO"
- Setup webthings-gateway as explained at:
- From addons menu, Add "ActivityPub Adapter"
- Go to addon page, and configure "ActivityPub" addon
- Configure mastodon host (default is mastodon.social) and port
- Fill access token issue from application page
- Go back to things pages
- Add "MastodonActuator" using add button ("+") at bottom right
- Click on icon and update text
- Automate with predefined messages using rules engine