Skip to content

Commit

Permalink
Release v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seb821 committed May 1, 2021
1 parent 72f1f4b commit 74207be
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,5 @@ The following capabilities were added:
- Change MEGA reset settings online (pin and auto reset time)
- Lock settings option
- Publish WiFi RSSI along with uptime
- RFLink WiFi board whatchdog support
- RFLink WiFi board whatchdog support
- Options to export ID filtering configuration
2 changes: 1 addition & 1 deletion Rflink.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//********************************************************************************
// RFLink parser functions
//********************************************************************************
#include "Rflink.h"
#include "Rflink.h"

/**
* Read RFLink packet (line terminated by \n) and
Expand Down
2 changes: 1 addition & 1 deletion Rflink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define MAX_DATA_LEN 24 // Maximum size for record name, json field name and json field value
#define MAX_TOPIC_LEN 60 // Maximum topic path size (at least lenght of MQTT_PUBLISH_TOPIC + 2 x MAX_DATA_LEN)

#include <Arduino.h>
#include <Arduino.h>

//********************************************************************************
// RFLink settings
Expand Down
2 changes: 1 addition & 1 deletion config.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ This table allows to configure default values for IDs that will be filtered on b
};
// Note: ID filtering configuration is now saved in eeprom memory and can be changed online in the /configuration page. This is very useful when a device changes ID in order to keep using the same MQTT topic. If changes are made online, the /configuration page provides directly the new code to update here.

#define CONFIG_VERSION 20210418
#define CONFIG_VERSION 20210502
// Changing this number overwrites the configuration in eeprom memory with configuration in this file (config.h).
// =====>>> In general to be safe, you should always update this number after making changes in this file <<<=====

Expand Down
2 changes: 1 addition & 1 deletion espRFLinkMQTT.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <ESP8266WebServer.h>
#include <ESP8266HTTPUpdateServer.h>
#include <EEPROM.h>

#include "Rflink.h"

#define CFG_SSID_SIZE 32
Expand Down
45 changes: 45 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
; PlatformIO Project Configuration File
; https://docs.platformio.org/page/projectconf.html

[platformio]
src_dir = espRFLinkMQTT ; put platformio file at root and other files from github in a directory named espRFLinkMQTT

[env:esp01_1m]
board = esp01_1m
framework = arduino
board_build.flash_mode = dout
board_build.f_cpu = 80000000L
platform = [email protected]
board_build.ldscript = eagle.flash.1m.ld
build_flags =
;-D ENABLE_SERIAL_DEBUG
-D ENABLE_WIFI_SETTINGS_ONLINE_CHANGE
-D ENABLE_MQTT_SETTINGS_ONLINE_CHANGE
;-D RFLINK_WIFI_BOARD ; enables watchod for RFLink Wifi board
board_upload.maximum_size = 616448
;upload_port = COM[4]
;upload_speed = 921600
upload_port = 192.168.1.12
upload_protocol = espota
lib_deps =
PubSubClient
monitor_speed = 57600

[env:d1_mini]
board = d1_mini
framework = arduino
platform = [email protected]
build_flags =
;-D ENABLE_SERIAL_DEBUG
-D ENABLE_WIFI_SETTINGS_ONLINE_CHANGE
-D ENABLE_MQTT_SETTINGS_ONLINE_CHANGE
;-D RFLINK_WIFI_BOARD ; enables watchod for RFLink Wifi board
board_upload.maximum_size = 616448
;upload_protocol = esptool
;upload_port = COM6
upload_speed = 921600
upload_port = 192.168.1.23
upload_protocol = espota
lib_deps =
PubSubClient
monitor_speed = 57600

0 comments on commit 74207be

Please sign in to comment.