the-butterfry / oasis-spa Goto Github PK
View Code? Open in Web Editor NEWAn MQTT and traditional GPIO Enabled Hot Tub and Pool controller for the Raspberry Pi
Home Page: http://your-raspberry-pi
License: GNU General Public License v3.0
An MQTT and traditional GPIO Enabled Hot Tub and Pool controller for the Raspberry Pi
Home Page: http://your-raspberry-pi
License: GNU General Public License v3.0
When making a time based schedule we need a function to override the Automatic schedule (or not)
For example, I sometimes forget to turn the tub temp down at night. If I could create a time schedule that starts at 00:00(or something) and disables the Automatic heat schedule till 10:00. it would prevent energy waste at night.
Hallonlarm is the middle man listening program that translates GPIO states to MQTT and MQTT to GPIO. Adding MQTT devices and assigning them virtually to a RPi pin is a manual file editing process.
I think someone who knows how to do it could use the database to store and grab all the relevant information and dynamically build a Hallonlarm.config file.
This would greatly ease the setup impact and configurating needed.
Need a PHP function and code update to switch between Celsius / Fahrenheit
The tub itself is temp system agnostic. it just displays whatever reading the sensors record. Same is true on the website. F range temps are hard coded into the html.
Would it be possible to create a function in functions.php that displays the C° / F° designation every time a temp reading is displayed?
We need a PHP function that will account for tankless water heater cutoff:
Tankless water heaters by law have a 20 minute duty cycle. They’re required to cut off gas after 20 minutes, but the electronics are still on and won’t re-ignite unless you switch them off to reset. We need to build build a counter into the website/db so that after 18 minutes a tankless water heater will shut off for 1 cron_min cycle. Here’s my idea in the /cron_files/cron_min.php at the very end.
If heater = 0 (on) and type = tankless (I have already inserted a column in db, and chooser in the add/update relay section for this)
Then increment column time_on by 1
Read column time_on, if < 18 then set heater = 1 (off)
Set colum time_on back to 0
Here's what the table looks like
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.