Henrik Ekblad
0cd56e88b2
Changed faulty comment.
2014-07-10 23:47:23 +02:00
Henrik Ekblad
7b4bef5be8
Added MQ2 Air quality sensor by epierre (converted to 1.4)
2014-07-02 23:15:49 +02:00
Henrik Ekblad
c332667a8d
RF24 moved to utility folder of library. This results in one less include in sketches!
...
Serial flush in sleep method also means one less code in examples.
Removed set(bool) in message. Not needed. getBool just calls getInt
__attribute__((packed)) for RPI compability
Print more info in send/read debug prints.
Get internalTemp returns full degrees and uses longer Vref delay
Fix debug print gateway prepend (wrong command/type)
Fixed problem in RelayWithButton example. Now working with ack in both directions.
Serial protocol changed (incoming serial message have an new ack-parameter)
2014-06-17 22:16:38 +02:00
Henrik Ekblad
90f79c97cd
* Changed library to call by reference instead of using pointers. Makes code much cleaner.
...
* RelayNodes renamed to RepeaterNode to distiguish this from RelayActuator.
* Ack is now possible to request for all message types. Added ack-flag for some of the exposed internal messages and presentation message.
2014-06-16 00:30:13 +02:00
Henrik Ekblad
8a9061aee7
The last examples converted to 1.4.
2014-06-13 20:19:48 +02:00
Henrik Ekblad
af90d238d4
Start of example conversion. Added sleep to MySensors API.
2014-06-13 13:54:12 +02:00
Henrik Ekblad
67f4ca1fb4
latest test sketches and working request for id
2014-05-19 20:08:12 +02:00
Henrik Ekblad
9e043f3379
Use pointers inernally instead of passing objects to save space.
2014-05-17 00:46:04 +02:00
Henrik Ekblad
891c826a0c
* Converted time example. Callback for time request was the only clean solution. Now global callback for incoming messages only needs to care about SET commands coming from other nodes or gateway.
...
* New api for storing states. RelayActator now stores state in eeprom, making it more standalone.
* Controller config is now fetched in the background without needing any special tratment in sketch. Last received config is stored in eeprom:
2014-05-16 14:48:18 +02:00
Henrik Ekblad
9291a97d45
added some message builder helpers. Optimized libray a bit using inline functions and macros.
...
Converted Dallas example to use new library api.
2014-05-16 10:35:26 +02:00
Henrik Ekblad
a31d9d1074
Reduce library size
2014-05-15 07:40:07 +02:00
Henrik Ekblad
4b18f9fbf4
Relay updated to new api
2014-05-14 00:26:52 +02:00
Henrik Ekblad
7856dfb209
Compiling. No tests what so ever.
2014-05-12 23:50:44 +02:00
Henrik Ekblad
960efcd6f7
Prepared for ack:ing between sensors. And between actuator and gateway. Now using hardware ack when sending messages and burst-mode which gives much more reliable communication.
...
Use the corresponing development-branch for Vera plugin files.
2014-05-04 23:47:46 +02:00
Bruce Lacey
541cd4360a
Merge pull request #13 from mysensors/bugfixes-reported-on-forum
...
Bug fixed for
2014-04-15 17:24:18 -07:00
Henrik Ekblad
43d74e2083
Bug fixed for
...
http://forum.mysensors.org/topic/37/sensor-readmessage
2014-04-15 19:38:39 +02:00
Henrik Ekblad
3a2cfbcf13
Update IR lib/sensor to use the latest IR_Remote fork by Chris Young (IRLib)
...
https://github.com/cyborg5/IRLib
2014-04-01 22:16:22 +02:00
Henrik Ekblad
a51e025788
Removed powerUp. No longer needed.
2014-03-22 16:48:11 +01:00
Bruce Lacey
67b52ec95b
Tweaked sketch info formatting in two examples for consistency...
2014-03-21 13:41:21 -07:00
Bruce Lacey
f828eec251
Modified all example sketches to report the sketch info to the gateway/controller.
2014-03-21 13:39:02 -07:00
Henrik Ekblad
6304c7ae77
Addded missing semicolon.
2014-03-15 08:22:48 +01:00
Bruce Lacey
89e3c4f0ef
Sensor nodes can now report their sketch name and version to the gateway for informational purposes. Added class methods sendSketchName(), sendSketchVersion() and sendSketchInfo() that invokes the aforementioned as a convenience method. Sensor nodes report their sketch information to the gateway by calling sendSketchInfo(const char *name, const char *version) in the Arduino sketch setup() method after initializing the radio by invoking the Sensor::begin() method.
2014-03-07 09:05:25 -08:00
Henrik Ekblad
8681e37f48
Renamed of sketch to be recognized by Arduino IDE
2014-03-07 08:49:57 +01:00
Henrik Ekblad
1583e9c6b8
Renaming of sketch to be recognizable by Arduino IDE
2014-03-07 08:49:11 +01:00
Henrik Ekblad
98666c8288
Renaming sensors not following normal pattern
2014-03-05 16:48:05 +01:00
Henrik Ekblad
292e12965e
This is a new simple binary switch example that can be uses for window/door sensors or trigger buttons (like a doorbell).
...
The example takes advantage of the internal pull up resistor of the Arduino board (no need for external pull-up resistor) when connecting a button or reed switch.
Debounce library is also used to minimize debounce problems.
2014-03-05 10:56:44 +01:00
Henrik Ekblad
a684a49501
This example is not yet aopted to MySensor. But could be a good inspirations for how to receive 433Mhz stuff.
2014-03-04 19:15:49 +01:00
Henrik Ekblad
0506187e27
Default channel should be 76 (not the presumed 70)
2014-03-04 19:11:54 +01:00
Henrik Ekblad
a5422954e6
Example of a battery powered sensor sending in battery level value in percent.
2014-03-04 17:08:54 +01:00
Henrik Ekblad
546ed1d4ae
Added new (optional) arguments to begin where you can set PA level and radio channel in sketches and gateway. Default values for constructor and begin arguments also made it possible to simplify all sketches when using defualt ce/cs pins (9,10) for radio and AUTO radion Id mode.
2014-03-04 00:24:26 +01:00
Henrik Ekblad
4befc8a471
Added detech functionality. Contribution Derek Macias
2014-03-02 18:08:37 +01:00
Henrik Ekblad
1cb1143c94
Added example for BH1750 lux sensor
2014-03-02 18:07:40 +01:00
Henrik Ekblad
2ade6ac2d8
Some people have reported problem when first radio transmit after sleep was send.
...
Added radio powerUp() in "sleeping" example sketches.
2014-02-09 20:54:33 +01:00
Henrik Ekblad
94f800c18b
EthernetGateway added. Removed usage of string class i Gateway code (reduced program memroy by 2k). FIxed potential problem in Dallas sensor example sketch.
2014-02-07 22:44:13 +01:00
hek
609d9e5be9
Move master branch from from mios git repo
2014-01-23 00:23:15 +01:00