reivaxy / aquamonitor Goto Github PK
View Code? Open in Web Editor NEWRecifal aquarium monitoring with arduino, alerts and settings by SMS and webApp, and statistics database
License: Other
Recifal aquarium monitoring with arduino, alerts and settings by SMS and webApp, and statistics database
License: Other
Some requests GET /getData.json are failing.
Monitoring water level would detect lack of evaporation compensation
Sending a "sub alert" no longer works.
Sub and unsub should now use the findRegisteredNumber function
Will be handy for V3 'station' modules that do not have the GSM shield => case can be smaller
Reading and sending SMS no longer works, but without blocking.
This issue affects V1.0
DS1307 is buggy and freezing when the button battery is in place.
http://forum.arduino.cc/index.php?topic=411697
The RTC battery isn't completely necessary, since the whole device has its own battery insuring date/time won't be lost in case of main power failure.
But still. It's annoying.
Main power source should be monitored to send an SMS as soon as it fails, since the battery may not last long enough to wait for temperature to drop or, if it happens during lights off schedule.
Use a resistor divider bridge on main power (12V) to drive an arduino input.
In the "subs" reply, for each registered number, time elapsed since the last alert was sent should be available, and is currently always 0.
The data seems to be fine, since no new alert is sent before the configured interval has elapsed, but it is always 0 in the sms sent.
For now all (except 'off' and 'on', I think) messages are in the progmemStrings.h file which makes localization not too hard.
(French version on the way, but diacritical characters not being handled will make messages ugly).
But it's not optimal, especially when adding new messages, a flat list would be much better, with the message ID and then the string.
Then a script would generate the more complex progmemStrings.h file with its current syntax.
Shaped as a quarter (or less) of a sphere, to glue on top of the current sensor bracket to shield the photoresistor from getting some external light
And of course adapt the program to check this sensor data.
Random ideas:
IR beam:
Possible issue with stuff blocking the flap (algae, ...). Oh, and also, plastic floats :(
Hall:
Possible issues: may not work for all pumps. Some mecanical failures coud have motor rotating but still not moving water.
When plugging in, if arduino already powered, there can be a short circuit.
Also, tightening one socket screw, one of the contacts moved and came to touch another.
And changing the onboard regulator ain't enough, I've now 1 Mega board that runs only with USB power source, and the other delivers only 3.3V... :(
I may end up using VGA sockets, grouping all sensors, and with spare space for new stuff if needed...
Since the light measures give information about the owner being home or not, for instance.
This is something you want to know asap :)
Date and time can't be set by SMS nor any other mean for now
Issues with constant strings parameters
Issues with GSM library
A friend has 3 salt water tanks (and 4 soft water tanks...) and already one of these devices. It would be cool to have extra devices for the other tanks, but that could communicate with the one equipped with the GSM module: less expensive, only one SIM card/subscription...
Random ideas (To be continued)
Without a license, this project isn't open source and no one can use the code.
Please use something like http://choosealicense.com/ to decide what license to use. I recommend MIT or GPL.
A novel effort by Add a License Please
The anti-sms-flood interval for each number that receives an alert stores the value returned by millis() when sending an SMS alert.
Next time sending alerts is checked, it compares the elapsed time between this value and the current millis() value.
But millis() resets every 50 days approximately. The stored value, before the reset, will then be bigger than any millis() returned value for the next 50 days => no more alerts sent.
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.