Browse Source

0.7.45

* change ePaper text to symbols PR #1131
* added some invertes to dev info list #1111
pull/1118/head^2
lumapu 1 year ago
parent
commit
201098ae0b
  1. 4
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 45
      src/hm/hmDefines.h

4
src/CHANGES.md

@ -1,5 +1,9 @@
# Development Changes # Development Changes
## 0.7.45 - 2023-08-29
* change ePaper text to symbols PR #1131
* added some invertes to dev info list #1111
## 0.7.44 - 2023-08-28 ## 0.7.44 - 2023-08-28
* fix `last_success` transmitted to often #1124 * fix `last_success` transmitted to often #1124

2
src/defines.h

@ -13,7 +13,7 @@
//------------------------------------- //-------------------------------------
#define VERSION_MAJOR 0 #define VERSION_MAJOR 0
#define VERSION_MINOR 7 #define VERSION_MINOR 7
#define VERSION_PATCH 44 #define VERSION_PATCH 45
//------------------------------------- //-------------------------------------
typedef struct { typedef struct {

45
src/hm/hmDefines.h

@ -259,20 +259,52 @@ typedef struct {
uint16_t maxPower; uint16_t maxPower;
} devInfo_t; } devInfo_t;
// https://github.com/lumapu/ahoy/issues/1111
// Hardware number:
// 0xAABBCCDD
// ^^ ------- always 10 (for MI, HM, HMS, HMT)
// ^ ------ 0 = MI
// 1 = HM
// 1, 2 = HMS (version)
// 3 = HMT
// ^ ----- 0 = 1 Input
// 1 = 2 Inputs
// 2 = 4 Inputs
// 3 = 6 Inputs
// ^ ---- 0 = smallest with x inputs
// 7 = biggest with x inputs
const devInfo_t devInfo[] = { const devInfo_t devInfo[] = {
// MI 3rd gen // MI 3rd gen
{ 0x001311, 600 },
{ 0x001411, 700 },
{ 0x002111, 1000 },
{ 0x002311, 1200 },
{ 0x002411, 1500 },
{ 0x002511, 1500 },
{ 0x100000, 250 },
{ 0x100010, 300 },
{ 0x100020, 350 },
{ 0x100030, 400 },
{ 0x100100, 500 },
{ 0x100110, 600 },
{ 0x100120, 700 },
{ 0x100130, 800 },
{ 0x100200, 1000 },
{ 0x100210, 1200 },
{ 0x100230, 1500 }, { 0x100230, 1500 },
// HM // HM
{ 0x101010, 300 }, { 0x101010, 300 },
{ 0x101020, 350 }, { 0x101020, 350 },
{ 0x101030, 400 }, { 0x101030, 400 },
{ 0x101040, 400 }, { 0x101110, 600 }, // [TSOL800(DE) ..20, HWv=2.66], [HM-600 ..20, HWv=2.66]
{ 0x101110, 600 }, // [TSOL800(DE) ..20, HWv=??], [HM-600 ..20, HWv=2.66]
{ 0x101120, 700 }, { 0x101120, 700 },
{ 0x101130, 800 }, { 0x101130, 800 },
{ 0x101140, 800 }, { 0x101140, 800 },
{ 0x101210, 1200 }, // ..00 { 0x101200, 1000 },
{ 0x101210, 1200 },
{ 0x101230, 1500 }, { 0x101230, 1500 },
// HMS // HMS
@ -281,18 +313,19 @@ const devInfo_t devInfo[] = {
{ 0x101051, 450 }, { 0x101051, 450 },
{ 0x101071, 500 }, { 0x101071, 500 },
{ 0x102111, 600 }, { 0x102111, 600 },
{ 0x101120, 700 },
{ 0x102141, 800 }, { 0x102141, 800 },
{ 0x101151, 900 }, { 0x101151, 900 },
{ 0x102171, 1000 }, { 0x102171, 1000 },
{ 0x102241, 1600 }, { 0x102241, 1600 },
{ 0x101251, 1800 }, { 0x101251, 1800 },
{ 0x102251, 1800 }, { 0x102251, 1800 },
{ 0x101271, 2000 }, // ..00 { 0x101271, 2000 }, // v1 grey backplane, 14A
{ 0x102271, 2000 }, { 0x102271, 2000 }, // v2 black backplane, 16A
// HMT // HMT
{ 0x103311, 1800 }, { 0x103311, 1800 },
{ 0x103331, 2250 } // ..00 { 0x103331, 2250 }
}; };
#endif /*__HM_DEFINES_H__*/ #endif /*__HM_DEFINES_H__*/

Loading…
Cancel
Save