mysensors / nodemanager Goto Github PK
View Code? Open in Web Editor NEWPlugin for a rapid development of battery-powered sensors
Plugin for a rapid development of battery-powered sensors
DHT* dht = new DHT(pin,DHT22);
Serial.println("literal string") consimes memory at every call, suggested to use String.println(F("literal string")).
ref https://www.arduino.cc/en/Reference/PROGMEM
Especially when having multiple DS18B20 sensors
exit status 1
default argument given for parameter 3 of 'void PowerManager::setPowerPins(int, int, long int)' [-fpermissive]
http://stackoverflow.com/questions/2545720/error-default-argument-given-for-parameter-1
Append Heartbeat for timer
Battery is reported after the given sleeping cycles, not hours
I wonder if it would possible adding a feature in nodeManager, where after a wake up from interrupt, only the onLoop method of the sensor attached to that pin is executed. onLoop of sensors not attached to interrupt are executed only after a full sleep cycle. (of course, this requires that after a wakeup from interrupt, the node come to sleep only for (sleepTime - elapsedTimeBeforeWakeup) )
In my case, I have a sketch for a node with a temperature and door sensor. Temperature is sent each 60 minutes, while door status only on interrupt.
reply quote 0
may be just due to the high usage of the dynamic memory
Requires specific keywords for each setting of each sensor
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.