Commit Graph
384 Commits
Author SHA1 Message Date
Tomas Hozza cc47409f1a Send messages from sensor nodes using the GatewayTransport driver
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-23 22:40:10 +02:00
Tomas Hozza 0c9b2b738d Don't call checkInclusionMode() if the feature is not turned on
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-23 22:20:03 +02:00
Tomas Hozza 2bfe5cc650 Add begin function to the GatewayTransport class
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-23 21:41:53 +02:00
Henrik Ekblad 01d13f0ca4 Serial Gateway in a working state 2015-05-12 23:28:49 +02:00
Henrik Ekblad 9469188e32 Work in progress 2015-05-12 00:36:22 +02:00
Tomas Hozza 29b86801fb EthernetGateway: Use internal LEDs feature for blinking
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-06 21:45:00 +02:00
Tomas Hozza 0d6da230c5 SerialGateway: Use internal LEDs feature for blinking
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-06 21:45:00 +02:00
Tomas Hozza 24464a6255 Use LED blinking in MySensor where appropriate
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-06 21:45:00 +02:00
Tomas Hozza 58efd872f4 Add LED blinking support into MySensor without any library dependency
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-06 21:45:00 +02:00
Henrik Ekblad f015fa1d91 Update MSTimer2 to support ATmega1284P. Thanks Tom. 2015-04-28 22:28:26 +02:00
Henrik Ekblad 7bd79f598b Do nothing more after radio initialization fails.
Thanks @thozza
2015-04-20 23:15:41 +02:00
Henrik Ekblad e30dea71ff Fix sleep problem reported by Gary Stofer. 2015-04-18 20:57:15 +02:00
Henrik Ekblad a68350af28 Added a few new sensors 2015-04-12 22:03:09 +02:00
Tomas Hozza 192ccf9896 Fix logging of error if initialization of the radio fails
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-04-12 21:33:48 +02:00
Tomas Hozza 20c2938d3d Remove the executable bit from source files
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-04-12 21:24:26 +02:00
Henrik Ekblad caaadf44cf Update file headers. 2015-04-08 21:14:52 +02:00
Henrik Ekblad d2dacd8670 Fix id request problem at startup 2015-04-02 13:46:54 +02:00
Henrik Ekblad be9cb8b1ff Watchdog Timer interrupt service routine added.Thanks @kolaf. 2015-04-02 10:10:43 +02:00
Henrik Ekblad 082cb29e8d Merge branch 'master' into development
Conflicts:
	.gitignore
	libraries/MySensors/MyGateway.cpp
	libraries/MySensors/MyMQTT.cpp
	libraries/MySensors/MyMQTT.h
	libraries/MySensors/examples/MQTTGateway/MQTTGateway.ino
2015-04-01 01:17:51 +02:00
Henrik Ekblad 410a8869cb Add V_UNIT_PREFIX and started documenting variable and sensor types. 2015-04-01 00:50:25 +02:00
Henrik Ekblad 6165834038 RFM69 cleanup
Corrected initialization of radio
Add constructor arguments for driver
Add defaults to MyConfig
Fix ack problems reported on forum.
2015-03-31 23:46:36 +02:00
Henrik Ekblad 527b2332da Correct initialization for gateway 2015-03-31 23:44:38 +02:00
Henrik Ekblad 44406c2835 Add driver-options to gateways. 2015-03-30 22:44:10 +02:00
Henrik Ekblad e2b5e8155e Merge branch 'OTA' into development 2015-03-30 22:24:53 +02:00
Henrik Ekblad 0373b71a03 Fix Serial GW constructor 2015-03-30 11:56:55 +02:00
Henrik Ekblad 3a59929b8e Initial untested OTA feature 2015-03-30 10:28:57 +02:00
Thomas Mørch 6ae64373f9 Added .gitignore file to ignore backup files
Updated MySensorsMicro sketch with comments, and rearranged code a little
2015-03-29 11:29:47 +02:00
Thomas Mørch 843f0183ef Merge remote-tracking branch 'upstream/master' 2015-03-28 23:20:03 +01:00
Thomas Mørch b66408e3d4 Updated sketch, using Serial.flush() in test routine, instead of delay()
Changed name that is reported back to controler, to "MysensorMicro" instead of "EnvironmentSensor"
2015-03-28 11:17:52 +01:00
tekka 6da96e7d40 adding back time handler
was missing in dev branch
2015-03-26 14:33:44 +01:00
Henrik Ekblad c1a9a53ab9 WIP 2015-03-26 14:30:07 +01:00
Henrik Ekblad 663c0386ea Light Lux level data type added 2015-03-24 11:05:48 +01:00
Henrik Ekblad adca8b5a4c Temporary OTA commit 2015-03-24 10:58:28 +01:00
Henrik Ekblad 00bd605314 Merge pull request #94 from gizmocuz/master
Enhanced the UVSensor example with 1 decimal to the UVI index.
2015-03-24 10:20:48 +01:00
gizmocuz e908e854c1 Enhanced the UVSensor example with 1 decimal to the UVI index.
Because the UVI graph is almost lineair
This gives a more accurate overview
Also the UVI is send at least every 5 minutes, this is good for the controller to know the sensor is still 'alive'
2015-03-24 09:26:50 +01:00
Henrik Ekblad ce597b761a Merge pull request #93 from tbowmo/master
Testmode for Micro sensor
2015-03-23 10:54:59 +01:00
gizmocuz 93e8f2e107 Corrected Sketch header 2015-03-23 08:53:04 +01:00
gizmocuz fe8fdc00de Modified example code, solved some issues in previous version 2015-03-23 08:47:57 +01:00
Thomas Mørch 3ab43d5ff5 Updated sketch, removed the forced testmode (used for testing) 2015-03-22 22:19:19 +01:00
Henrik Ekblad dbe06255fc New data type V_ID used for sensors with id such as DS1820b 2015-03-20 19:47:32 +01:00
Henrik Ekblad b72ac4b277 Fix crash when debug enabled. 2015-03-20 19:45:26 +01:00
Henrik Ekblad aa3fd74139 Update to cope with disabled signing. 2015-03-20 09:52:36 +01:00
Thomas Mørch 4a0c3bb6f7 Added SHA204 check routine to testmode 2015-03-19 21:47:51 +01:00
Thomas Mørch 5b9c9736c9 Merged sha204 from dev, in order to detect sha204 in MySensors Micro board (Testmode) 2015-03-19 21:27:20 +01:00
Thomas Mørch 79ab745070 Merge remote-tracking branch 'upstream/master' 2015-03-19 20:58:38 +01:00
Thomas Mørch 199b130492 Updated SPIflash to work with Arduino 1.6.x 2015-03-19 20:56:02 +01:00
Thomas Mørch 405c8fd0f2 Update testmode, after initial tests on the bench 2015-03-19 20:55:41 +01:00
Patrick Fallberg f8281302eb Fixed software signing whitelisting example in SecureActuator
The software serial is now provided to the backend as it should be.
2015-03-18 22:31:14 +01:00
Patrick Fallberg 6fb7266752 Removed 'new' from PinChangeInt library
As a consequence, only one pin is currently suppored.
AddPin will not really add a new pin, just replace the configuration
of the existing pin.

The motivation for this limitation is that 'new' costs a lot of
program memory.
2015-03-16 23:15:55 +01:00
Patrick Fallberg 6fd26880a2 Made "Inclusion started by button" a DEBUG message
In other words, the message will only be printed if DEBUG flag is enabled.
2015-03-16 23:15:55 +01:00