Crafty/Crafty+ by Storz & Bickel

JCat

Well-Known Member
Accessory Maker
Hey everyone ... so I can write a web app to update your Crafty (maybe another 4 hours to get it working and published), but no support on iOS no matter what for web Bluetooth so still won’t work on iPhone or iPad, however, you could then manage your crafty with a PC, Mac, Linux Box, and Android ...

what does everyone think? Is this something people will want?
 
JCat,

JCat

Well-Known Member
Accessory Maker
FYI--Here's a sample. I'll have it available as a web site for people to use by sometime this weekend I imagine. Uses Web Bluetooth API's, and it's written in Ionic/React.

Works well and allows one to control their crafty from any of the following as long as they have a Bluetooth LE adapter installed:
- PC
- Mac
- Linux
- Android

No iOS though as no browsers on iOS support Web Bluetooth.

I can make small changes to use the native bluetooth API's, and then deploy as an app, however, I can't actually distribute it as you can't legally distribute enterprise signed applications to the public, and I can only register up to 100 devices per year to my dev account for using the dev signed version. Could distribute to up to 10,000 users using TestFlight distribution ... but then I'd have to redistribute and people would have to reinstall every 3 months!

Can't publish to App Store 'cause of Apple.

So basically there is no good way to get it to work on your iPhone or iPad; the only caveat is if you have your own Apple Developer account, or know someone who does who can compile/sign this for you, then you can build it and install it yourself on your iDevice. (ie. I could install this app on my device, but I can't distribute it)

At least this will allow users who don't own an Android device to use their PC to manage their settings on their Crafty (although not great for out-and-about).

localhost-8100-home-i-Phone-6-7-8-1.png
 

JCat

Well-Known Member
Accessory Maker
FYI--Here's a sample of an app I just made (started yesterday). I'll have it available as a web site for people to use by sometime this weekend I imagine. Uses Web Bluetooth API's, and it's written in Ionic/React. (just need to finish some stuff ... at least get the booster temp setting into the main page)

Works well and allows one to control their crafty from any of the following as long as they have a Bluetooth LE adapter installed:
- PC
- Mac
- Linux
- Android

No iOS though as no browsers on iOS support Web Bluetooth.

I can make small changes to use the native bluetooth API's, and then deploy as an app, however, I can't actually distribute it as you can't legally distribute enterprise signed applications to the public, and I can only register up to 100 devices per year to my dev account for using the dev signed version. Could distribute to up to 10,000 users using TestFlight distribution ... but then I'd have to redistribute and people would have to reinstall every 3 months!

Can't publish to App Store 'cause of Apple.

So basically there is no good way to get it to work on your iPhone or iPad; the only caveat is if you have your own Apple Developer account, or know someone who does who can compile/sign this for you, then you can build it and install it yourself on your iDevice. (ie. I could install this app on my device, but I can't distribute it)

At least this will allow users who don't own an Android device to use their PC to manage their settings on their Crafty (although not great for out-and-about).

localhost-8100-home-i-Phone-6-7-8-1.png
 

dzoinp

Well-Known Member
Accessory Maker
I've just edited the title of this thread to read "Crafty Plus" rather than "Crafty+". The plus sign was causing issues and it's possible this was one of them. Please let me know if you continue to have the problem.

Thanks ... sorry but it looks the same ...
Tinymight thread is the same
 
dzoinp,

JCat

Well-Known Member
Accessory Maker
Ok everyone, so I've created a web app accessible at https://github.cataford.com/crafty with Ionic/ReactJS/Web Bluetooth that will work on Chrome browsers on:
- PC
- Mac
- Linux
- Android

The device of course has to have a Bluetooth LE adapter.

It unfortunately won't work on iOS devices, as Apple has not added Web Bluetooth support to the WebKit browser (safari and everything really on iOS).

So again, here's the URL:

https://github.cataford.com/crafty

And here's some screenshots:

crafty-connect.png
github-cataford-com-crafty-i-Phone-6-7-8.png


github-cataford-com-crafty-i-Phone-6-7-8-1.png
github-cataford-com-crafty-i-Phone-6-7-8-2.png


Hope everyone likes this! Not a perfect solution, but at least then you don't need an Android device (everyone has a PC or Mac!)
 

elmomuzz

That just happened...
So one day with my + and I loooove it. The new plastic and shape make it feel really good in the hand. It does heat up way faster then my original crafty and I dare say the draw is slightly improved. The three temperature options are great.
More testing required to see if the battery really lasts like a mighty.

The lack of accessories is a bummer but I have them from previous s&b purchases so whatever.
 

JCat

Well-Known Member
Accessory Maker
Ok everyone, so I've created a web app accessible at https://github.cataford.com/crafty with Ionic/ReactJS/Web Bluetooth that will work on Chrome browsers on:
- PC
- Mac
- Linux
- Android

The device of course has to have a Bluetooth LE adapter.

I’ve only tested so far with a Crafty as I don’t have a Crafty+. But if someone could test and let me know that would be great!

It unfortunately won't work on iOS devices, as Apple has not added Web Bluetooth support to the WebKit browser (safari and everything really on iOS).

So again, here's the URL:

https://github.cataford.com/crafty

And here's some screenshots:

crafty-connect.png
github-cataford-com-crafty-i-Phone-6-7-8.png


github-cataford-com-crafty-i-Phone-6-7-8-1.png
github-cataford-com-crafty-i-Phone-6-7-8-2.png


Hope everyone likes this! Not a perfect solution, but at least then you don't need an Android device (everyone has a PC or Mac!)
 

JCat

Well-Known Member
Accessory Maker
Very cool tested on PC and Android as well. It just works, I don't have an iPhone so I'm not inconvenienced but thank you for this.
I’m still pursuing an iOS option for users ... just waiting for an answer from author of WebBLE
 

blackstone

Well-Known Member
Thank you for all your efforts @JCat
Just saying, I could only get a blank screen with it on android tablet here in Europe.
(Original new app not working for me either, getting a "could not read project status register 2" message, which Ive heard another poster mention)
Thanks.
 

JCat

Well-Known Member
Accessory Maker
Thank you for all your efforts @JCat
Just saying, I could only get a blank screen with it on android tablet here in Europe.
(Original new app not working for me either, getting a "could not read project status register 2" message, which Ive heard another poster mention)
Thanks.
It does need the correct version of chrome installed. Apart from that, it should work. Haven’t done much Android testing yet (although I’ve heard others that have successfully) ... mostly Windows and Mac.

I just updated it actually, so it will allow install for offline use, so now you can pick “Install Crafty Control” from your chrome menu and it will install it like a native app (adds to start menu and runs offline but updates if connected and update is available)

Edit: Blank screen sounds like an old or unsupported browser though ... chrome, safari, and Firefox should all display the app properly (not IE) just only chrome will allow the Bluetooth communication.

Edit edit: until the app comes up and you click “connect” no communication has even started with your Crafty, so your Crafty isn’t part of the issue, just your tablet not running the script properly in the browser.
 
Last edited:

Milo

Well-Known Member
Nice work! I don't have a Crafty but I'd be a lot more comfortable getting one knowing this exists.
 
Milo,

davesmith

Well-Known Member
Glass Blower
I got both my crafty+ (vaposhop and nameste) currently trying to return the vaposhop as even in the black Friday sale its still the everyday price at nameste. I've not had a response for my rma request yet, if it gets to Tues day I'll call them I think.

Both shops were fine for tracking etc but I'm no fussy about that stuff really.

Unit itself is great so far. I dont like how plastic it feels in the hand but it works. It's much lighter than I expected too which is nice. Am getting 6-8 bowls off a full charge currently but that's not a proper test, just general usage.

And thanks @JCat for that app ill check that out this eve big up
 

paytonpenn

Level 30 Nature/Healer
To clarify I tested more today. It did acknowledge my Crafty but wouldn't connect unless it was on. On Android I may have been high as I haven't actually gotten in to connect, just show up then give connecting but never actually connect like it did on my PC. I tested in Opera and Chrome on my Essential PH-1 running the latest version of Android 10 and Chrome. Sorry for the confusion.
 
paytonpenn,

JCat

Well-Known Member
Accessory Maker
Very cool tested on PC and Android as well. It just works, I don't have an iPhone so I'm not inconvenienced but thank you for this.
Did you test with Crafty+ ?

I’ve only tested with an older version Crafty so far :)

If I had an updated one or a plus I’d also add the auto-off configuration and the countdown timer ... but these are not available in earlier version Craftys.
 
JCat,

paytonpenn

Level 30 Nature/Healer
I have crafty+ only to test. Honestly the timers are so garbage and unreliable. I have mine for a minute and it rarely works consistently.
 
paytonpenn,
  • Like
Reactions: JCat

JCat

Well-Known Member
Accessory Maker
I have crafty+ only to test. Honestly the timers are so garbage and unreliable. I have mine for a minute and it rarely works consistently.
Excellent! I figured they wouldn’t have changed the BLE interface with the Crafty+ and good to get confirmation :)
 

CarbonFiberGuy

Well-Known Member
CarbonFiberGuy,
  • Like
Reactions: JCat

JCat

Well-Known Member
Accessory Maker
Nice really great work ! Can you do this for the ghost mv1 app too please !!! lol
Maybe :)

I would need someone to give me one though ... (I'm not about to go out buying vapes just so I can create work for myself ... lol)

I've had others ask me the same about the Volcano Hybrid and I've responded in kind (I've also reached out to S&B as I figured they might want to add it to their site and send their customers to it ... maybe they'll send me a Volcano Hybrid ... :lol: )

FYI everyone ... I've published a new version, that fixes a lot of connection bugs now that I understood where you can run into issues w/ the bluetooth stack ... (needed to make sure only one operation runs at a time ... so chained them in an async/await series for the initial connection/reads and then using a task queue to ensure only one gets executed at a time after that for the user triggered actions and events.

You'll need to close all browser windows (since last opening the app), and then re-launch and it should update either immediately, or on refresh, or on next launch after that (you'll no it's updated because you'll see the version 1.0.1-beta in the bottom left corner); sorry for the slightly convoluted update process but I didn't have time to fix up the service worker logic to provide a smoother notification/refresh process :)
 

JCat

Well-Known Member
Accessory Maker
FYI everyone ... I've published a new version, that fixes a lot of connection bugs now that I understood where you can run into issues w/ the bluetooth stack ... (needed to make sure only one operation runs at a time ... so chained them in an async/await series for the initial connection/reads and then using a task queue to ensure only one gets executed at a time after that for the user triggered actions and events.

You'll need to close all browser windows (since last opening the app), and then re-launch and it should update either immediately, or on refresh, or on next launch after that (you'll no it's updated because you'll see the version 1.0.1-beta in the bottom left corner); sorry for the slightly convoluted update process but I didn't have time to fix up the service worker logic to provide a smoother notification/refresh process :)
 
Top Bottom