keeakita / iotmoist Goto Github PK
View Code? Open in Web Editor NEWServer code for my IoT humidifier
License: MIT License
Server code for my IoT humidifier
License: MIT License
Instead of just limit oscillations, go ahead and ban anyone who tries to go crazy on it with requests. I may end up doing this proxying through Apache instead of in the application server itself
Right now just about everything is a string. This made it nice and easy to just write and read straight from VFS, but it should be standardized on booleans.
Right now the API lets you read the LED status. If everything is working fine, one of the LEDs being active indicates power is on, but it'd be nice to be able to detect when the circuit is on but there is no light, since that means something broke. This should be exposed in the JSON, something like has_power
.
Right now the server has to run as root to set up the pins properly and write values. This is kind of awful security wise. Possible solutions:
CAP_SYS_RAWIO
- That's still a lot of powerThis project isn't very engaging to people who don't know how to use CURL or some other tool to interact with it. Come up with a fancy GUI page that lets people just click buttons to change state.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.