Toying With This Week (11/22-11/28)
Added 2020-11-24 23:59:55 +0000 UTCMax/Nora Motion Sensor Support
Allowing scripts to react to how fast you're moving the Lovense Max or Nora. This is technically already done and ready to go but it's leading into the next bigger issue which is making me hesitate pushing out the update.
Changing How Script Connections Work
Having scripts connect to either a 'Generic' toy or a specific brand of toy has been working ok so far but it's quickly going to become an issue as XToys starts supporting more toys and unique toys.
If I write a script for the Nora's motion sensor shouldn't it also work with the Max?
If I write a script for the Petsafe shock collar shouldn't it also work with other shock collars?
If I write a script for a We-Vibe is it 15 intensity steps like most of their toys? Or 27? Or 12? Or 15? Like some of their other toys under the same connector.
...I think connectors are probably going to need to change to instead connect to singular features of a toy.
Connect to a motion sensor for a toy. Connect to a single vibrator of a toy. Connect to an air pressure controller for a toy. etc.
That's a major breaking change across the entire app and Scripts and I'm still not 100% sure it's the right approach. But I'll hopefully be figuring it out this week or next before the site has too many users.
Writing Guides on how to use Scripts and Patterns
This is already mostly done in a series of messages in the XToys Discord but they need to be added to the Guides on the website so more people can find them.
Speech Synthesis/Text to Speech
Already live as of yesterday. XToys can be configured to speak out loud any input you give it manually or via a Script. I'll also be adding the premium actually nice sounding voices that Google's cloud services provides. But those voices will probably have to fall under the Premium membership since their text to speech engine gets expensive.
But yeah...you can totally make an AI bot now and have it respond how you want. "Siri, tease my wife."
Tilt and Shake Sensors
Already added as of Sunday. I haven't tested but in theory you should now be able to do things like strap the phone to a person for pet play and send a zap or something if they try to stand up.
Import/Export Scripts
Adding the ability to view the raw JSON from a Script, save it locally, make changes if desired, and re-upload it to XToys. It should be useful for people that want to duplicate an action a ton of times without going through the UI. There's no way the JSON format is going to stay at all consistent for the next few months so...use at your own risk.
Math Formulas
This shockingly only took maybe 10 minutes to add on Sunday and is live now. You can now write full math equations as part of setting a value during an Action. It should be useful for a number of things like wanting to invert a number 100 - {value} and such.
The Handy Integration
By the initial look of things and their API this won't be finished this week, but I should be receiving one in the next day or two and I'm hoping to get The Handy working with XToys soon.
Variables from Webpage Triggers
Other triggers got the ability to set their value to a {trigger} variable so associated Actions can use the value but the Webpage Monitor doesn't support it yet. I'm hoping to do so this week so regex matches can be used by Scripts.
Minor things:
- Making it easier to add multiple Blocks back to back
- Allow users to directly add Public Scripts without needing to save them first
- Performance improvements. XToys was accidentally using almost 40% of its CPU load processing mouse movement even when nothing was clicked. Some interact.js logging features were accidentally running in production. Oops.
- Joining a session is occasionally failing for an inconsistent reason (re-trying a second time works). Hopefully figuring out the cause of that bug.