SamuKata
denialtek
denialtek

patreon


Toying With This Week (Aug 29 - Sep 4)

Scripted Patterns

Alright my project to rewrite scripted patterns is done finally. Now you can more easily make complex patterns and add sliders and such to alter any part of the pattern. And they work for position based toys so you can make randomized stroking patterns. Woot!

For example a pattern that randomly either strokes fast for a random number of strokes, or pauses for a random amount of time:


OSSM

Which leads to my next project of actually adding support for a position based thrusting toy. I'm going to be focusing on the OSSM (Open Source Sex Machine).

I did spend the past couple days trying to figure out how best to add support for it and it's proved to be more complex than expected. Firstly of course because I have to write/learn how to code for an ESP32, but also because Chrome really doesn't want me sending commands to a local web server.

1. Run a web server on the ESP32? Nope, requires a valid SSL cert. Technically it works if you open the page in a separate tab and accept the self signed cert, but that's pretty hacky.

2. Run a websocket server on the ESP32? Nope, there's no libraries at all that support wss.

3. Use MQTT? Yeah...but then users would need to run a secure MQTT server, which again is complex and not feasible. (which doesn't bode well for adding general MQTT support in the future)

4. Have the ESP32 connect to the XToys backend via websocket or similar? Yeah, but then you have the round trip delay issue like The Handy has.

5. Bluetooth? Yeah I guess, but it's too bad I can't take advantage of the network access on the ESP32.

So bluetooth is my current plan and it appears to be working. There is also the minor issue that I don't technically own an OSSM yet πŸ˜…, but that's an issue for once I try to actually react to the bluetooth commands.


More Creators