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
7080520a3f
Fix comment. Pseudo random.
2014-05-16 07:24:24 +02:00
Henrik Ekblad
a31d9d1074
Reduce library size
2014-05-15 07:40:07 +02:00
Henrik Ekblad
710d445815
Stripping all sync-functions
2014-05-14 10:15:01 +02:00
Henrik Ekblad
4b18f9fbf4
Relay updated to new api
2014-05-14 00:26:52 +02:00
Henrik Ekblad
26ef9c81c2
refactoring continues.
2014-05-14 00:26:28 +02:00
Henrik Ekblad
fadab95958
And myGateway...
2014-05-12 23:56:57 +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
Henrik Ekblad
40218118f3
Merge remote-tracking branch 'origin/master' into development
...
Conflicts:
libraries/MySensors/Sensor.cpp
2014-05-01 22:41:35 +02:00
Henrik Ekblad
2bb71b0ab6
Merge branch 'master' of https://github.com/mysensors/RF24 into development
2014-05-01 20:55:29 +02:00
Henrik Ekblad
813f001f65
Powerup radio if asleep when start transmitting.
2014-05-01 20:51:23 +02:00
Henrik Ekblad
9583356f1d
Merge branch 'master' of https://github.com/mysensors/RF24 into development
2014-05-01 19:28:58 +02:00
Henrik Ekblad
8759712f12
Added closeReadingPipe.
2014-05-01 18:55:01 +02:00
Henrik Ekblad
18848a25a6
Renamed defines.
2014-05-01 16:50:50 +02:00
Henrik Ekblad
a4aabb99fb
Testing new TMRh20/RF24 library. Looks promising. No more soft-acks :)
2014-05-01 16:45:01 +02:00
Henrik Ekblad
ab3bad4b1c
subree of RF24 merged
2014-05-01 00:16:07 +02:00
Henrik Ekblad
1897409bde
git tree messed up
2014-05-01 00:12:42 +02:00
Henrik Ekblad
8a686e0031
git tree messed up
2014-05-01 00:12:08 +02:00
Henrik Ekblad
de0a374699
remove old rf24
2014-04-30 23:57:29 +02:00
Henrik Ekblad
9a32a81644
Only scan for relay node max 3 times per transmission attempt (to save battery)
...
Lower transmission speed to reach longer distances.
Remove RF24 to prepare gittree import.
2014-04-30 23:39:06 +02: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
f3d982e779
Update Relay.cpp
...
Test version bot
2014-04-06 23:00:19 +02:00
Henrik Ekblad
b91037f267
Merge pull request #12 from bblacey/version-bot
...
Refactoring to support MySensors.org Version-Bot
2014-04-06 20:41:56 +02:00
Henrik Ekblad
b60095a0ee
Merge pull request #10 from henrikekblad/master
...
Create README.md
2014-04-06 20:41:44 +02:00
Henrik Ekblad
e8e3ddd74b
Change back the faulty pin assignement in previous pull request.
2014-04-02 09:10:55 +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
e2cbbaea96
Update Sensor.cpp
...
Change to MySensor
2014-03-30 23:48:31 +02:00
Henrik Ekblad
8c9b23807b
Create README.md
2014-03-30 23:43:22 +02:00
Henrik Ekblad
b27735a94a
Forgot to take ce(LOW).
2014-03-26 06:41:54 +01:00
Henrik Ekblad
2e6eb42e5c
Ack debug prints cleaned up.
2014-03-25 23:57:20 +01:00
Henrik Ekblad
04b0da5f5a
Added a-lurkers proposed changes to speed up message porcessing.
2014-03-25 23:47:14 +01:00
Henrik Ekblad
990bda5990
A-lurker proposed chnage
2014-03-25 23:33:21 +01:00
Henrik Ekblad
01d06cd034
Merge pull request #7 from bblacey/RF24-isValid-patch
...
Added isValid() method to RF24.h as requested by andreij in http://forum...
2014-03-24 08:45:41 +01:00
Henrik Ekblad
a51e025788
Removed powerUp. No longer needed.
2014-03-22 16:48:11 +01:00
Henrik Ekblad
1503004e8c
Increased the startup delay after powerup.
2014-03-22 16:26:52 +01:00
Henrik Ekblad
0da770a374
Changed order.
2014-03-22 16:08:19 +01:00
Henrik Ekblad
893fbc6457
Ok, had to introduce a small delay on the ack-sensing side to let ack-recieving side have to to switch to listening mode.
2014-03-22 14:31:01 +01:00
Henrik Ekblad
ef5f00e7ef
Merge pull request #6 from bblacey/example-versioning
...
Sketch reporting of name and versioning added
2014-03-21 23:48:59 +01:00
Henrik Ekblad
64048992cc
Merge branch 'master' of https://github.com/mysensors/Arduino
2014-03-15 08:23:01 +01:00
Henrik Ekblad
6304c7ae77
Addded missing semicolon.
2014-03-15 08:22:48 +01:00
henrikekblad
799a80e265
Merge pull request #3 from bblacey/config-fix
...
Removed call to gw.setPALevel(RF24_PA_LOW) because the gateway PA Level ...
2014-03-13 09:09:02 +01:00
Henrik Ekblad
c270a9ec2c
Setting default values from Config.h
2014-03-10 00:52:56 +01:00
henrikekblad
713245305a
Merge pull request #2 from bblacey/net-config
...
Centralize sensor network configuration and debug flag feature
2014-03-09 23:58:49 +01:00
Henrik Ekblad
c1441dca4a
fixed crlf for project
2014-03-07 21:17:56 +01:00
Henrik Ekblad
586a4d6239
Debug disabled by default
2014-03-07 18:58:15 +01: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
85b7e3e009
Added contribution instruction file
2014-03-06 01:17:23 +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
b223879d12
Added the forgotten dataRate to begin() default speed is 2MBPS
2014-03-04 21:54:21 +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
06ec39cc72
Adding git attributes for handling lineendings
2014-03-04 16:31:15 +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
f5215c9db3
Moved to library
2014-03-04 00:19:59 +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
1d6ebad67e
Fixed bug reported by a-lurker
2014-03-02 18:06:36 +01:00
Henrik Ekblad
d563bf3a1a
Added lock status variable, removed some compiler warnings.
2014-02-17 17:36:06 +01:00
Henrik Ekblad
6af26e664c
Now Using pgmspace.h instead of progmem.h. Removed a couple of compiler warnigns.
2014-02-14 08:15:17 +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
Henrik Ekblad
1ae8353d13
Increased stability. Higher radio speeds (2mbps). Soft-acks implemeted to avoid the unreliable hw-acks. No trash messages found during test runs.
2014-02-05 00:30:32 +01:00
Henrik Ekblad
25c7f386db
Fixed problem with pipe 7 (trash messages) and double-sending of outgoning messages from gw.
2014-01-31 20:30:16 +01:00
Henrik Ekblad
d8f055104c
Fixed bug in routing for messages sent out from gateway.
2014-01-31 00:29:38 +01:00
hek
609d9e5be9
Move master branch from from mios git repo
2014-01-23 00:23:15 +01:00