timmerz416 / thermostat-controller Goto Github PK
View Code? Open in Web Editor NEWA python code to control the home sensor network and tie in the 4D display.
A python code to control the home sensor network and tie in the 4D display.
Need to think about materials, and then construct the box.
Code currently uses logger, but output is to stdout. This is ok for now, but before putting the code out for release, want to build a capability to log to sequential log files on the Raspberry Pi.
Create an indication on the display that the software is not running. Perhaps printing '--.-' for the current temperature, or a LED?
Need to project from display inputs that can switch directly to override mode when the thermostat power is off.
Develop capability to update the thermostat rules over the LAN, similar to currently developed for the Netduino version of the thermostat.
Development of code to update the weather icon based on current weather. This is likely a tie into the CYKZ or CYTZ METAR and decode into a weather icon.
Currently, any communications issues (unresponsive sockets being a main concern) are not handled properly and is a critical error that crashes the thread. This needs to be handled for long-term reliability of the thermostat.
Create documentation identifying the full suite of testing to be applied to the thermostat to check for functionality. Need to think if this will include code tests as well.
When in override mode, any changes to the temperature setpoint on the display are not updated for the control setpoint. Need to correct this so that a setpoint change is handled by the controller. This is not an issue for setpoint changes over the LAN.
Create a file and mechanism for initializing the thermostat user parameters. Expecting such things as:
Create a simple document with the language used to communicate with the thermostat controller over the LAN.
This will involve either tying into the XBee messages and know which XBee address to use for this temperature, or reading the data from the database.
Need to create a capability to store any data that was to be sent over the LAN to the database. This will probably initially multiple attempts to transmit the data to the database, and if that continues to fail, store one the Raspberry Pi.
Longer term, need a capability to later upload the data once a connection is re-established.
Need to develop code to manage an exception creating or managing the listening socket. This does not need to be a critical error, but it should notify the user and shut down the thread.
Develop capability to store changes in rules in the thermostat programming in the database. This would be useful for analysis to understand the programming logic in place at any given time.
Develop capability on the 4D Systems display to show the current rules and update them.
Need to look closer at this to protect against conflicts.
Create a queuing class that takes care of http transmissions and internally stores incomplete transmissions and deploys them to the main DB when it is available.
Current coding is not optimized for handling messages. Need to change messages so they are sent directly between modules and no back to the queue to sort out which module to send message to.
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.