Skip to content

Commit

Permalink
Fix relay and Dallas address
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Jun 1, 2024
1 parent 1f14e38 commit 6b0f098
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Mk2_3phase_RFdatalog_temp/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ inline constexpr bool OVERRIDE_PIN_PRESENT{ false }; /**< set
#endif

inline constexpr bool WATCHDOG_PIN_PRESENT{ true }; /**< set it to 'true' if there's a watch led */
inline constexpr bool RELAY_DIVERSION{ true }; /**< set it to 'true' if a relay is used for diversion */
inline constexpr bool RELAY_DIVERSION{ true }; /**< set it to 'true' if a relay is used for diversion */
inline constexpr bool DUAL_TARIFF{ false }; /**< set it to 'true' if there's a dual tariff each day AND the router is connected to the billing meter */

// ----------- Pinout assignments -----------
Expand Down Expand Up @@ -81,15 +81,15 @@ inline constexpr uint8_t rotationPin{ 0xff }; /**< if LOW, trigger a load prio
inline constexpr uint8_t forcePin{ 0xff }; /**< for 3-phase PCB, force pin */
inline constexpr uint8_t watchDogPin{ 4 }; /**< watch dog LED */

inline constexpr RelayEngine relays{ { { 8, 1200, 1000, 10, 5 } } }; /**< config for relay diversion, see class definition for defaults and advanced options */
inline constexpr RelayEngine relays{ { { 9, 1200, 1000, 10, 5 } } }; /**< config for relay diversion, see class definition for defaults and advanced options */

inline constexpr uint8_t ul_OFF_PEAK_DURATION{ 8 }; /**< Duration of the off-peak period in hours */
inline constexpr pairForceLoad rg_ForceLoad[NO_OF_DUMPLOADS]{ { -3, 2 } }; /**< force config for load #1 ONLY for dual tariff */

inline constexpr int16_t iTemperatureThreshold{ 100 }; /**< the temperature threshold to stop overriding in °C */

inline constexpr TemperatureSensing temperatureSensing{ 10,
{ { 0x28, 0xE9, 0xD1, 0xB0, 0x1B, 0x13, 0x01, 0xCF } } }; /**< list of temperature sensor Addresses */
{ { 0x28, 0x88, 0x45, 0x65, 0x12, 0x19, 0x01, 0x7A } } }; /**< list of temperature sensor Addresses */

inline constexpr uint32_t ROTATION_AFTER_CYCLES{ 8UL * 3600UL * SUPPLY_FREQUENCY }; /**< rotates load priorities after this period of inactivity */

Expand Down

0 comments on commit 6b0f098

Please sign in to comment.