Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

ZachJMoore/smart-kiln-pi-server

Repository files navigation

This repository is now archived and is no longer maintained. This project has been superseded by https://github.com/ZachJMoore/smart-kiln-hardware

Smart Kiln (Pi server)

This is the Pi server for the "Smart Kiln" project.

Hardware Setup

Parts:

Wiring:

soldered parts

simple-wiring

The thermocouple are screwed directly to the amp. Neutral/ground coming back from the kiln elements can then also be screwed into the relay to programatically close the circuit

Software Setup

In the static folder, config needs to be filled in with your login credentials for an account on dashboard.smartkiln.xyz. Refer to config-example for format. Then rename exactly to config.json in the same folder.

Until otherwise decided. My server at smartkiln.xyz can be used for proxying requests and is open for people to use within reason (credits to this project for the proxy software). Everything is setup to run correctly if the above steps were followed.

in the root directory run in terminal the following to start the server

    $npm install
    $node js/server.js

In order to be able to run the server you will also need to go through the process of installing node and any other dependencies. Or you can run it in a docker container with the following.

    $ curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
    $ usermod -a -G docker
    $ docker build -t smart-kiln .
    $ docker run -d -p 2222:2222 --restart=always --privileged --name sk-server smart-kiln

At the moment, this will only let you be able to check temperature from the web interface. Currently selecting a schedule and pressing start will only console log the recieved schedule. I have commented out the PID portion as it is not ready yet and needs more work.

The kiln object is now a class and has proper integration for firing a schedule. Very little error handling has been added, but the ability to fire a schedule completely from the web interface is now supported.

Help is very welcome, please feel free to make a pull request!

About

Remotely control and monitor kilns from anywhere in the world (Pi server). A Raspberry Pi kiln controller.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published