pojd / hawa Goto Github PK
View Code? Open in Web Editor NEWHome Automation Web Application - no longer active, will work on can-backend instead (based on can)
License: MIT License
Home Automation Web Application - no longer active, will work on can-backend instead (based on can)
License: MIT License
Currently we only fetch last week and then locally change what is displayed - array is passed on to calendar, so change this to allow calendar invoking REST directly, i.e. have a new rest API for the calendar events only
Log events to new database table and then view it in the view (new view security)
So if for any reason one of the outdoor sensors fails reading, the respective value is not stored into DB and the result graph data series lengths (pressure, temperature, humidity) have different lengths and nvd3 then fails to render the graph.
Fix this, so that the history is always there - maybe still log a warning about sensor, but try taking the previous reading instead of avoiding save. Issue is if e.g. a sensor fails completely from the startup (e.g. humidity sensor). Then nothing will be stored at al for that sensor. Maybe this could be somehow caught on startup too? E.g. take last valid value? Or throw an error straight away?
SImilar issue will also occur if tomcat is bounced in the middle of refresher doing its work. SOme readings then won't be saved either.
Or maybe split out the graphs to 3 separated graphs since the values do not really scale anyway...?
Each room now has light motion sensors (optional), light switch and light control, all should be displayed in the view to see its status and be able to manipulate all from GUI
Currently I can only run the app freely on RPi given all the dependencies. Change this so that I can continue working locally too, just getting false or random date and not being forced to hack the code to be able to do so. While still being able to easily deploy to tomcat using mvn tomcat7:redeploy
Based on the logged data from outdoor, attempt some simple weather forecast (use humidity and evolution of pressure probably)
Show current state and show some sort of evolution?
So from detail to entity (rooms and outdoor) it works fine, but not vice versa.
Room detail view should list all last readings
And graph of the room temperature, by default all data from last day, customizable in UI, be able to move the range, etc
portlets:
Being able to send out emails from the application and hooking that app to the security system
Right now only one sensor uses I2C, but that will change soon once the expander chips arrive. Then I will need to connect the relays through them and they will need some I2C setup code too. So refactor the current sensor generic code out (similar as Gpio) and control from one place only (including closing on spring context closing).
Use this new base logic to manipulate the expander chips and be able to control or read stuff through them
Probably play an audio through audio of raspberry if a security event is detected, could be more types of audio. Maybe play only if we are inside the house? Or better always?
configurable, to be able to call on a predefined number (email)
Debug and try to find the root cause. Either way probably introduce some sensible filter in DAO - do not save values that are too off
The user should be able to change the default view from past 1 week to any sub range of that. The graph should re-render itself then
Currently they effectively read the temperature twice on start-up since both the constructor and refresher do so. This slows down start-up.
Error about unable to connect to 0x29 - TSL light sensor in hall, fix that so that these errors are not there untill all is wired up together
Live view page to see the actual state at home/around the house from the camera
Currently these fail with Unsatisfied link errors and tomcat has to be bounced, which slows development a lot down
Every 5 mins a scheduler should trigger some logic to read the actual sensor values and store into DB
Then anytime web invokes getAll, it would get the last state
All transparent via DAO
Tests added to cover this functionality
Create room service API, rest service, hook up into the main view and maybe some mock service to get some data to show
Make it optional, but both outdoor and halls should now depend on a light sensor - only if it gives little light (configurable), then trigger the light, otherwise ignore
The idea is that motion sensor should only control lights in a room or outdoor when the light switch itself is off.
Follow BRD and implement all those rules
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.