XToys Updates - Dec 10 2021
Added 2021-12-10 14:29:51 +0000 UTCNew things coming soon:
PiShock Support
I've added support for the PiShock but don't officially have it in the list of toys yet. You can find it if you specifically search for 'pishock'.
I still need to fix a couple things before it's officially supported:
- switching to using a slider for the intensity level
- changing all shock collar scripts to use generic percentages (since they're currently only set up for the 15 shock level Petsafe Shock Collar)
The 2nd point is going to be a pain.
Webhook Changes
I'm working on making it so the same webhook ID can be made usable by multiple people (with a separate key to control who can write to the webhook). And also support for XToys scripts to be able to write to a webhook.
The intent is to use this as a way to support some 1 event to many users use cases like the Discord/Twitter parties that Lovense occasionally runs.
One person can be writing to the webhook via whatever means:
- A separate script running on their PC monitoring a Twitter hashtag
- An XToys script relying Discord Bot events through to the webhook
- A webcam streamer writing to the webhook in sync with their own toy
- etc
And then everyone who wants their toy to reach to the event can just turn on the Webhook, enter the code and have their toys respond. Instead of the current 1 to many option of running an online session, blocking others from controlling, making sure you add everyone's toys and approve people, hoping nothing crashes, etc.
(and yes I know a streaming API and API access in general for XToys is still needed...that's still a bigger ongoing project)