nabaztag2018 / pynab

Nabaztag en Python pour RaspberryPi
GNU General Public License v3.0
162 stars 53 forks source link

Add messaging (via Mastodon) #24

Open pguyot opened 5 years ago

pguyot commented 5 years ago

Add messaging between Nabaztags via Mastodon. Take advantage of pre-recorded sounds with Nabaztag's voice.

Also implement "voice mail" by signaling the presence of messages with nose led and replaying them when button is pressed.

Also probably use Mastodon's name as hostname.

pguyot commented 5 years ago

The Mastodon client currently ignores statuses with an older timestamp or a lower id than the latest processed status, effectively keeping a cache of a single message to avoiding processing duplicates in the pairing protocol. In the context of Mastodon which is a federated network, this is a poor design and should be fixed by keeping more messages (which is required by "voice mail").