Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small typo fixes #1359

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main/config_ADC.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ extern void ADCtoMQTT();
#endif

#ifndef MinTimeInSecBetweenPublishingADC
# define MinTimeInSecBetweenPublishingADC 0 // pub at least at defined interval - usefull to publish values in case they do not change so much ; 0 = disabled
# define MinTimeInSecBetweenPublishingADC 0 // pub at least at defined interval - useful to publish values in case they do not change so much ; 0 = disabled
#endif

/*-------------------PIN DEFINITIONS----------------------*/
Expand Down
2 changes: 1 addition & 1 deletion main/config_BME280.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int BME280_PIN_SCL = SCL; // PIN SCL
// Temperature correction for BME280/BMP280 devices

#ifndef BME280Correction
// BME280Correction - Correction in celcius of temperature reported by BME280/BMP280 sensor. Both Celcius and Farenheit temperatures are adjusted.
// BME280Correction - Correction in Celsius of temperature reported by BME280/BMP280 sensor. Both Celsius and Fahrenheit temperatures are adjusted.
// -------------------------
// Value is a float
// ie Compiler Directive '-DBME280Correction=-3.4'
Expand Down
2 changes: 1 addition & 1 deletion main/config_DS1820.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extern void pubOneWire_HADiscovery();
#define DS1820_ALWAYS true // if false only published current temperature if has changed from previous reading
#define DS1820_INTERVAL_SEC 60UL // time between DS1820 readings (seconds)
#define DS1820_RESOLUTION 10 // conversion times: 9 bit (93.75 ms), 10 bit (187.5 ms), 11 bit (375 ms), 12 bit (750 ms)
#define DS1820_DETAILS true // publish extented info for each sensor (resolution, address, type)
#define DS1820_DETAILS true // publish extended info for each sensor (resolution, address, type)
#define DS1820_CONV_TIME 2000UL // trigger conversion before requesting temperature readings (ms)
/*-------------------PIN DEFINITIONS----------------------*/

Expand Down
2 changes: 1 addition & 1 deletion main/config_FASTLED.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// How many leds in your strip?
#define FASTLED_NUM_LEDS 16

// Uncomment/edit one of the following lines for your leds arrangement.
// Uncomment/edit one of the following lines for your LEDs arrangement.

//#define FASTLED_TYPE TM1803
//#define FASTLED_TYPE TM1804
Expand Down
2 changes: 1 addition & 1 deletion main/config_HELTEC.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class OledSerial : public Stream {

void fillScreen(OLEDDISPLAY_COLOR); // fillScreen display and set color

// This is a bit of lazy programmer simplifacation for the semapore and core detecting code. Not sure if it is truly space efficient.
// This is a bit of lazy programmer simplification for the semaphore and core detecting code. Not sure if it is truly space efficient.

inline size_t write(uint8_t x) {
return write(&x, 1);
Expand Down
2 changes: 1 addition & 1 deletion main/config_IR.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ extern void MQTTtoIR(char* topicOri, JsonObject& RFdata);

#ifndef IR_EMITTER_INVERTED
# if defined(ESP8266) || defined(ESP32)
# define IR_EMITTER_INVERTED false //set to true if yuou want to reverse the LED signal for the emitter
# define IR_EMITTER_INVERTED false //set to true if you want to reverse the LED signal for the emitter
# endif
#endif

Expand Down
2 changes: 1 addition & 1 deletion main/config_LORA.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extern void MQTTtoLORA(char* topicOri, JsonObject& RFdata);
#define LORA_SYNC_WORD 0x12
#define DEFAULT_CRC true

#define repeatLORAwMQTT false // do we repeat a received signal by using mqtt with LORA gateway
#define repeatLORAwMQTT false // do we repeat a received signal by using MQTT with LORA gateway

/*-------------------PIN DEFINITIONS----------------------*/
//TTGO LORA BOARD ESP32 PIN DEFINITION
Expand Down
2 changes: 1 addition & 1 deletion main/config_ONOFF.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern void MQTTtoONOFF(char* topicOri, JsonObject& RFdata);
#define ONKey "setON"
#define OFFKey "setOFF"
#ifndef ACTUATOR_ON
# define ACTUATOR_ON LOW // LOW or HIGH, set to the output level of the gpio pin to turn the actuator on.
# define ACTUATOR_ON LOW // LOW or HIGH, set to the output level of the GPIO pin to turn the actuator on.
#endif
//# define ACTUATOR_ONOFF_DEFAULT !ACTUATOR_ON // ACTUATOR_ON or !ACTUATOR_ON, set to the state desired on reset.
#ifndef ACTUATOR_BUTTON_TRIGGER_LEVEL
Expand Down
2 changes: 1 addition & 1 deletion main/config_RF.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ extern int getRTLMessageCount();
#define subjectGTWRFtoMQTT "/433toMQTT"
#define RFprotocolKey "433_" // protocol will be defined if a subject contains RFprotocolKey followed by a value of 1 digit
#define RFbitsKey "RFBITS_" // bits will be defined if a subject contains RFbitsKey followed by a value of 2 digits
#define repeatRFwMQTT false // do we repeat a received signal by using mqtt with RF gateway
#define repeatRFwMQTT false // do we repeat a received signal by using MQTT with RF gateway
#define RFpulselengthKey "PLSL_" // pulselength will be defined if a subject contains RFprotocolKey followed by a value of 3 digits
// subject monitored to listen traffic processed by other gateways to store data and avoid ntuple
#define subjectMultiGTWRF "+/+/433toMQTT"
Expand Down
6 changes: 3 additions & 3 deletions main/config_SRFB.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ extern void MQTTtoSRFB(char* topicOri, JsonObject& RFdata);
#define SRFBminipulselengthKey "Tlow_"
#define SRFBsyncKey "Tsyn_"

#define repeatSRFBwMQTT false // do we repeat a received signal by using mqtt with Sonoff RF Bridge
#define repeatSRFBwMQTT false // do we repeat a received signal by using MQTT with Sonoff RF Bridge

// -----------------------------------------------------------------------------
// RFBRIDGE
// -----------------------------------------------------------------------------

#define RF_SEND_TIMES 4 // How many times to send the message
#define RF_SEND_DELAY 500 // Interval between sendings in ms
#define RF_RECEIVE_DELAY 500 // Interval between recieving in ms (avoid debouncing)
#define RF_SEND_DELAY 500 // Interval between sending in ms
#define RF_RECEIVE_DELAY 500 // Interval between receiving in ms (avoid debouncing)

// -----------------------------------------------------------------------------
// DEFINITIONS
Expand Down
6 changes: 3 additions & 3 deletions main/config_mqttDiscovery.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ extern void createDiscoveryFromList(const char* mac,
* @param sensor_type the Type
* @param st_topic set state topic,
* @param s_name set name,
* @param unique_id set niqueId
* @param unique_id set uniqueId
* @param availability_topic set availability_topic,
* @param device_class set device_class,
* @param value_template set value_template,
* @param payload_on set payload_on,
* @param payload_off set payload_off,
* @param unit_of_meas set unit_of_meas,
* @param off_delay set off_delay
* @param payload_available set payload_avalaible,
* @param payload_not_avalaible set payload_not_avalaible
* @param payload_available set payload_available,
* @param payload_not_available set payload_not_available
* @param gateway_entity set is a gateway entity,
* @param cmd_topic set command topic
* @param device_name set device name,
Expand Down