Sign inSign up

nopenix/crafty-control

By nopenix

Updated about 1 year ago

Control your Crafty Vaporizer by Storz & Bickel from a Web Page

Image
0

723

nopenix/crafty-control repository overview

GitHub Repo stars Build and Push to Docker Hub Docker Pulls

crafty-control

Control your Crafty Vaporizer by Storz & Bickel from a Web Page! Online web application is available at: https://sb.nopenix.de

Summary

This app uses the Web Bluetooth specification to control your Crafty vaporizer. Supported platforms include the following (using modern versions of Chrome):

  • Windows
  • Mac
  • Linux
  • Android

Docker Container

A Docker Container is available on the Docker Hub

Example docker-compose
version: "3"
services:
    app:
        image: nopenix/crafty-control
        restart: unless-stopped
        ports:
            - 8100:8100

Screenshots

Below are screenshots of the Crafty Control app in both Light and Dark themes, showcasing various pages and states.

Dark Theme
Start PageConnectingConnectedSettingsInformations
Dark StartDark ConnectingDark ConnectedDark SettingsDark Info
Light Theme
Start PageConnectingConnectedSettingsInformations
Light StartLight ConnectingLight ConnectedLight SettingsLight Info

Features

  • Dark Theme Support: The app now includes a dark theme, with the ability to toggle between Light, Dark, and System Default modes. The theme respects system preferences by default and allows user overrides via the Settings page. Text visibility has been optimized for dark mode with forced white text colors.

Getting Started

In order to run the application locally, simply issue the following:

npm install
ionic serve
export NODE_OPTIONS=--openssl-legacy-provider

In order to build the application for deployment:

ionic build --public-url=./

Built With

  • Typescript
  • Ionic React
  • ReactJS
  • Web Bluetooth Specification
  • Uses React Hooks Context and Reducer for Flux like State Management

Authors

  • J-Cat (Original Author)
  • NopeNix (Dockerized App + Created Dark Theme)

License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License

Acknowledgments

  • Thanks to ligi who wrote the Android/Java Vaporizer Control Application, which allowed me to more easily identify many of the Crafty service and characteristic UUIDs without having to figure it out (it didn't have all of them but it definitely helped!)

Tag summary

Content type

Image

Digest

sha256:ce4184ac5

Size

153.7 MB

Last updated

about 1 year ago

docker pull nopenix/crafty-control