mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 14:16:32 +00:00
renamed driver from 91 to 43
This commit is contained in:
parent
deaf1f3d5b
commit
a596fc7948
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "Ю"
|
#define D_TX20_SOUTH "Ю"
|
||||||
#define D_TX20_WEST "З"
|
#define D_TX20_WEST "З"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
|
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "J"
|
#define D_TX20_SOUTH "J"
|
||||||
#define D_TX20_WEST "Z"
|
#define D_TX20_WEST "Z"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "Ν"
|
#define D_TX20_SOUTH "Ν"
|
||||||
#define D_TX20_WEST "Δ"
|
#define D_TX20_WEST "Δ"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "O"
|
#define D_TX20_WEST "O"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "O"
|
#define D_TX20_WEST "O"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "D"
|
#define D_TX20_SOUTH "D"
|
||||||
#define D_TX20_WEST "NY"
|
#define D_TX20_WEST "NY"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "J"
|
#define D_TX20_SOUTH "J"
|
||||||
#define D_TX20_WEST "Z"
|
#define D_TX20_WEST "Z"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "V"
|
#define D_TX20_WEST "V"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "南"
|
#define D_TX20_SOUTH "南"
|
||||||
#define D_TX20_WEST "西"
|
#define D_TX20_WEST "西"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
#define D_TX20_SOUTH "S"
|
#define D_TX20_SOUTH "S"
|
||||||
#define D_TX20_WEST "W"
|
#define D_TX20_WEST "W"
|
||||||
|
|
||||||
//xsns_91_hre.ino
|
//xsns_43_hre.ino
|
||||||
#define D_LOG_HRE "HRE: "
|
#define D_LOG_HRE "HRE: "
|
||||||
|
|
||||||
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
xsns_09_hre.ino - Badger HR-E Water Meter Encoder interface
|
xsns_43_hre.ino - Badger HR-E Water Meter Encoder interface
|
||||||
|
|
||||||
Copyright (C) 2019 Jon Little
|
Copyright (C) 2019 Jon Little
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
#ifdef USE_HRE
|
#ifdef USE_HRE
|
||||||
|
|
||||||
#define XSNS_91 91
|
#define XSNS_43 43
|
||||||
|
|
||||||
enum hre_states {
|
enum hre_states {
|
||||||
hre_idle, // Initial state,
|
hre_idle, // Initial state,
|
||||||
@ -258,7 +258,7 @@ void hreShow(boolean json)
|
|||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
* Interface
|
* Interface
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
bool Xsns91(byte function)
|
bool Xsns43(byte function)
|
||||||
{
|
{
|
||||||
// If we don't have pins assigned give up quickly.
|
// If we don't have pins assigned give up quickly.
|
||||||
if (pin[GPIO_HRE_CLOCK] >= 99 || pin[GPIO_HRE_DATA] >= 99)
|
if (pin[GPIO_HRE_CLOCK] >= 99 || pin[GPIO_HRE_DATA] >= 99)
|
Loading…
x
Reference in New Issue
Block a user