Commit Graph
657 Commits
Author SHA1 Message Date
Patrick Fallberg cec516bc7e Added support for private configuration data
libraries/MySensors/core/MyPrivateConfig.h.sample contain an example for
how private configuration data can be organized.
Rename that file to MyPrivateConfig.h and place it in the same folder
as the sketch you want to build and include it in order to add private
settings that you for various reasons do not want to store in git:
Make sure to place this include before

All MyPrivateConfig.h files are ignored by git.
2015-11-17 14:04:55 +01:00
Patrick Fallberg 7cacb7d4fe Activated OTA in SensebenderMicro example by default 2015-11-16 22:14:26 +01:00
Henrik Ekblad a6a86ba1dd Enable repeater mode for MQTT gateway when radio is attached. 2015-11-14 20:42:35 +01:00
sm2810 59f8876870 Remove include MyHw from MyHw.h 2015-11-12 13:28:46 +01:00
Henrik Ekblad 49440c1efe Merge pull request #249 from mysensors/MyMessage-getCommand
Add MyMessage:getCommand()
2015-11-12 07:18:01 +01:00
Henrik Ekblad e1e26d5676 Add MyMessage:getCommand() 2015-11-11 23:54:12 +01:00
Henrik Ekblad 10a971fa90 Detect if initialization fails for RFM69 radio
Correct problem with define HW-variant
Clean up GatewayESP8266 comments
Change the debug message at startup (include version)
2015-11-11 23:33:46 +01:00
Henrik Ekblad 84606788cd Merge pull request #247 from mysensors/fix-mqtt-topic-naming
Split subscripe/publish MQTT topic
2015-11-10 07:19:10 +01:00
Henrik Ekblad ec5eb3a605 Update split topic chnages for the W5100 gateway sketch 2015-11-10 00:36:05 +01:00
Henrik Ekblad 3239102681 Split subscripe/publish MQTT topic
Fix fix avoids loopback of messages from controller back to gateway.
2015-11-10 00:20:21 +01:00
Henrik Ekblad 73b3186a3a Merge pull request #246 from mysensors/gsp-sensor-example
Add new sensor type S_GPS and with example sketch
2015-11-09 07:54:52 +01:00
Henrik Ekblad faa80e7c80 Add new sensor type S_GPS and corresponing V_POSITION holding location
and altidude.

New Example showing how to send position data and extract atomic time
from GPS.

This PR also fixes a couple of compiler warnings:
WARNING: Category '' in library XXXXXX is not valid. Setting to
'Uncategorized'
2015-11-08 23:07:50 +01:00
Henrik Ekblad 50ec9f9729 Merge pull request #244 from mysensors/fix-ethernet-message-parsing-error
Fix problem with string termination of incoming ethernet messages.
2015-11-08 22:56:43 +01:00
Henrik Ekblad ab60ae11d4 Remove strange character from source. 2015-11-08 21:47:53 +01:00
tekka007 f6586a136c implementation of I_DISCOVER
Discovery function for all active (=listening) nodes. Nodes reply with
I_DISCOVER_RESPONSE and the parent node as payload. Useful to retrieve
network topology.
2015-11-08 18:16:13 +01:00
Henrik Ekblad e2c1f4e365 Fix problem with string termination of incoming ethernet messages. 2015-11-08 17:49:25 +01:00
Henrik Ekblad 24a87ebda2 Add V_CUSTOM for controller/inter-node specific commands.
Requested by rob@domoticz for handling request of internal device
values. This variable/command should not be used for any of the official
sketches among the examples when communicating with controller.
2015-11-07 18:38:57 +01:00
Henrik Ekblad f82423c74b Add missing MQTT LITERAL1 to keyworkds. 2015-11-06 19:10:41 +01:00
Henrik Ekblad 0ced49f6dd Fix default pin defines for the W5100 mqtt gateway 2015-11-06 19:07:37 +01:00
ToniA 6e59df6179 Remove compiler warning about unused parameter 2015-11-03 20:01:22 +02:00
ToniA 4a033f0187 Merge remote-tracking branch 'origin/development' into development 2015-11-03 19:45:11 +02:00
ToniA a8cd8956de Sharp/IVT support, heatpumps should use 38 kHz carrier frequency 2015-11-03 19:40:48 +02:00
Henrik Ekblad 06f1596ed9 Merge pull request #239 from mysensors/fix-inclusion-feature
Fix inclusion button problem.
2015-11-02 22:42:29 +01:00
Henrik Ekblad 6baf605b0d Fix inclusion button problem.
Add option when having external pullup for inclusion button.
MY_INCLUSION_BUTTON_EXTERNAL_PULLUP.

Change the default led pins for serial gateway that was wrong.
2015-11-02 20:50:22 +01:00
Mikael Falkvidd git@mjo.se cbc17b01f5 GatewayESP8266: Add GND to list of pins to connect
This is just a minor nitpick, but might save someone some troubleshooting.
2015-11-01 20:51:05 +01:00
Patrick Fallberg 8a134f4a89 Refactored signing backend debug prints
Signing backend debugs are now controlled by the MY_DEBUG flag.
This also means that on serial gateways, signing related debug
messages are forwarded to the controller with the appropriate
MySensors header information.
2015-10-29 09:13:57 +01:00
Patrick Fallberg d793b5a089 Changed library version to comply with Semantic Versioning
New version: 1.6.0-beta for development of 1.6.0.
See http://semver.org
2015-10-28 10:55:24 +01:00
Patrick Fallberg 3c4ebbe310 Fixed bug in nonce exchange
Nonce-state machine got locked in SIGN_OK state.
2015-10-27 18:56:07 +01:00
Patrick Fallberg e75e735a10 Signing related fixes
* Secure actuator example now require signed messages by default
* Whitelisting config example in MyConfig.h now uses correct keywords
* keywords.txt updated with the actual whitelisting keyword
* Signing backends have improved debug output
  - The type of backend is presented in Get and Put nonce functions
  - The resulting signature is printed for both sender and receiver
* Fixed bug in soft signer (the untransmitted part of the nonce buffer was
  not the same in both ends)
* The ATSHA personalizer is updated to use acceptable syntax for user provided
  HMAC key
2015-10-26 22:15:42 +01:00
Henrik Ekblad ce99cbdad7 Merge pull request #231 from mysensors/fix-MY_SIGNING_REQUEST_SIGNATURES-problem
Fix MY_SIGNING_REQUEST_SIGNATURES compile error
2015-10-22 15:48:38 +02:00
Henrik Ekblad ef1947175d Merge pull request #230 from tbowmo/development
Development
2015-10-22 15:48:29 +02:00
Henrik Ekblad 9b7c99d499 Fix MY_SIGNING_REQUEST_SIGNATURES compile error
http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors/176
2015-10-20 21:58:50 +02:00
Thomas Mørch 359959a7aa Added version comments to file 2015-10-18 23:13:53 +02:00
Thomas Mørch 0b985b13e2 Folowing updates done:
Corrected division in the code deciding whether to transmit or not, that resulted in generating an integer. Now it's generating floats as expected.
Simplified detection for OTA bootloader, now detecting if MY_OTA_FIRMWARE_FEATURE is defined. If this is defined sensebender automaticly waits 300mS after each transmission
Moved Battery status messages, so they are transmitted together with normal sensor updates (but only every 60th minute)
2015-10-18 23:08:00 +02:00
Henrik Ekblad 38dece555b Merge pull request #229 from mysensors/fix-mqtt-gateway-problems
Fix problem MQTT gateway problem reported by @FotoFieber
2015-10-18 09:49:40 +02:00
Henrik Ekblad 28f7a399ff Fix problem MQTT gateway problem reported by @FotoFieber
http://forum.mysensors.org/topic/1870/esp8266-wifi-gateway-port-for-mysensors/138
2015-10-17 22:59:01 +02:00
tekka007 703a1a73bf Wait() issue
compiler directives missing
2015-10-17 17:27:19 +02:00
Henrik Ekblad 3b20529c17 Merge pull request #227 from mysensors/serial-transport
Change LED blink default pins not to interfere with RS485
2015-10-16 21:27:49 +02:00
Henrik Ekblad 7e8e5f7142 Change LED blink default pins not to interfere with RS485 2015-10-16 20:35:00 +02:00
Henrik Ekblad a018297240 Merge pull request #226 from mysensors/serial-transport
RS485 transport layer
2015-10-14 20:39:54 +02:00
Henrik Ekblad cf232b1baa RS485 transport layer
Note this is still untested as I haven't got any RS485 modules.
2015-10-12 18:48:28 +02:00
Henrik Ekblad 70b87162d0 Use sdtint for in MyMessage.
Fixes data type length problem when messages travels between 8/16/32 bit
architectures. 

close #223
2015-10-08 20:52:53 +02:00
Henrik Ekblad 79d837825f Upgrade Heatpump sketch to 1.6 2015-10-08 18:51:44 +02:00
Henrik Ekblad 89e950234f Fix MY_RF24_ENABLE_ENCRYPTION for ESP8266 2015-10-07 22:25:53 +02:00
Henrik Ekblad 90dfe776ee Merge branch 'gateway-refactoring' into development
# Conflicts:
#	libraries/MySensors/MyConfig.h
#	libraries/MySensors/MySensor.cpp
#	libraries/MySensors/MySensor.h
#	libraries/MySensors/MyTransportNRF24.cpp
#	libraries/MySensors/core/MyHwESP8266.h
#	libraries/MySensors/drivers/RF24/RF24.cpp
#	libraries/MySensors/drivers/RF24/RF24.h
#	libraries/MySensors/examples/MQTTClientGateway/MQTTClientGateway.ino
#	libraries/MySensors/examples/MQTTGateway/MQTTGateway.ino
2015-10-07 00:08:07 +02:00
Yveaux abfdaf2634 Fix crash 2015-10-06 21:19:17 +02:00
Henrik Ekblad b981b492bc Fix return typo introduced when implementing ethernet spi-en feature 2015-10-06 19:35:50 +02:00
Henrik Ekblad ca5346a8a5 Fix warning when enabling MY_OTA_FIRMWARE_FEATURE 2015-10-06 18:54:20 +02:00
Henrik Ekblad bb43bdda6e Set correct CE/CS pins for W5100 ethernet module 2015-10-05 23:10:36 +02:00
Henrik Ekblad 2fd0f36054 Allow W5100 boards with SPI_EN exposed to run without SOFTSPI for radio 2015-10-05 23:07:07 +02:00