Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
0.6.9
Browse files Browse the repository at this point in the history
- Olizig POE support
  • Loading branch information
xyzroe committed Nov 4, 2022
1 parent a79068b commit 2059d82
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 18 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua)


# ZigStar LAN Gateway - Firmware
This firmware delevoped to use with [ZigStar LAN Gateway](https://github.com/mercenaruss/zigstar_gateways)

<div align="center">
<img src="https://github.com/mercenaruss/zigstar_gateways/raw/main/img/Default.png" width="45%">
</div>

# Functions
- Zigbee UART port forwarding using socket LAN connection
- MQTT connection to view states and contorl ESP32
Expand Down Expand Up @@ -110,7 +109,7 @@ Gulp script also minifies CSS and JS files and compresses (gzip) them.
To minify and compress the frontend, enter the folder ```tools/webfilesbuilder``` and:
* Run ```npm install``` to install dependencies
* Run ```npx gulp``` to compress the web UI to make it ready for the ESP

cd

### Like ♥️?
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/xyzroe)
Expand Down
4 changes: 2 additions & 2 deletions src/Version.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

// AUTO GENERATED FILE, DO NOT EDIT
#ifndef VERSION
#define VERSION "0.6.8"
#define VERSION "0.6.9"
#endif
#ifndef BUILD_TIMESTAMP
#define BUILD_TIMESTAMP "2022-07-14 15:09:31.611745"
#define BUILD_TIMESTAMP "2022-09-08 12:09:01.835139"
#endif

18 changes: 16 additions & 2 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@

//---China-GW---
//LAN
#define ETH_CLK_MODE_3 ETH_CLOCK_GPIO0_IN
#define ETH_POWER_PIN_3 2
#define ETH_CLK_MODE_3 ETH_CLOCK_GPIO17_OUT
#define ETH_POWER_PIN_3 12
#define ETH_TYPE_3 ETH_PHY_LAN8720
#define ETH_ADDR_3 0
#define ETH_MDC_PIN_3 23
Expand All @@ -62,6 +62,20 @@
#define ZRXD_3 32
#define ZTXD_3 33

//---Omilex EPS32-POE---
//LAN
#define ETH_CLK_MODE_4 ETH_CLOCK_GPIO17_OUT
#define ETH_POWER_PIN_4 12
#define ETH_TYPE_4 ETH_PHY_LAN8720
#define ETH_ADDR_4 0
#define ETH_MDC_PIN_4 23
#define ETH_MDIO_PIN_4 18
//ZIGBEE
#define RESTART_ZIGBEE_4 16
#define FLASH_ZIGBEE_4 32
#define ZRXD_4 36
#define ZTXD_4 4

#define PRODUCTION 1
#define FLASH 0

Expand Down
25 changes: 23 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ void setupEthernetAndZigbeeSerial()
}
else
{
saveBoard(3);
saveBoard(4);
ESP.restart();
}
break;
Expand All @@ -653,7 +653,28 @@ void setupEthernetAndZigbeeSerial()
}
else
{
saveBoard(0);
saveBoard(1);
ESP.restart();
}
break;

case 4:
if (ETH.begin(ETH_ADDR_4, ETH_POWER_PIN_4, ETH_MDC_PIN_4, ETH_MDIO_PIN_4, ETH_TYPE_4, ETH_CLK_MODE_4))
{
String boardName = "Omilex EPS32-POE";
boardName.toCharArray(ConfigSettings.boardName, sizeof(ConfigSettings.boardName));
DEBUG_PRINT(F("Board - "));
DEBUG_PRINTLN(boardName);
ConfigSettings.rstZigbeePin = RESTART_ZIGBEE_4;
ConfigSettings.flashZigbeePin = FLASH_ZIGBEE_4;

DEBUG_PRINT(F("Zigbee serial setup @ "));
DEBUG_PRINTLN(ConfigSettings.serialSpeed);
Serial2.begin(ConfigSettings.serialSpeed, SERIAL_8N1, ZRXD_4, ZTXD_4);
}
else
{
saveBoard(1);
ESP.restart();
}
break;
Expand Down
6 changes: 3 additions & 3 deletions src/webh/toast.js.gz.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define toast_js_gz_len 1230
#define toast_js_gz_len 1336
const uint8_t toast_js_gz[] PROGMEM = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x13,0xa5,0x56,0x5b,0x4f,0xe3,0x46,0x14,0x7e,0x26,0xbf,0xe2,0xac,0xb5,0x5a,0x3b,0x5c,0xec,0x2c,0x55,0x5f,0x02,0xa1,0xda,0x22,0x0a,0x54,0x81,0x56,0x0d,0xd5,0x4a,0x5d,0x21,0x18,0xec,0x93,0x78,0xb4,0xb6,0x27,0xf5,0x8c,0x03,0x29,0x9b,0xff,0xde,0x33,0xe3,0x99,0xd8,0x86,0xa4,0xa2,0xda,0x97,0x38,0x33,0xe7,0xf2,0x9d,0xfb,0x9c,0x68,0x77,0xb7,0x07,0xbb,0x70,0x23,0x98,0x54,0x10,0xa4,0x4a,0xcd,0xe5,0x30,0x8a,0x66,0x5c,0xa5,0xd5,0x43,0x18,0x8b,0x3c,0xe2,0x2a,0x4e,0x39,0x4e,0xa3,0x8a,0x1f,0xd0,0x71,0x2e,0x0a,0x2c,0x94,0x8c,0x54,0x89,0x18,0xe5,0x24,0x83,0x65,0xa4,0xb4,0x6c,0x5f,0x6b,0x39,0x15,0xf3,0x65,0xc9,0x67,0xa9,0x82,0xc3,0xc1,0xe1,0x00,0x0e,0xf4,0xe7,0x23,0x7c,0xca,0xf0,0x89,0x15,0x09,0x96,0x70,0xc5,0x32,0x25,0x71,0xa1,0x59,0xc7,0x3c,0xc6,0x42,0x62,0x02,0x55,0x4d,0xb9,0xbc,0xf9,0x1f,0xe8,0x0f,0x99,0x78,0x70,0xe8,0xe3,0xcb,0xd3,0xb3,0xeb,0xc9,0x59,0xbf,0xb7,0xbb,0x1b,0xf5,0x7a,0x71,0xc6,0xa4,0xb4,0xde,0x3c,0xf7,0x00,0x62,0x51,0x48,0x55,0x56,0xb1,0x12,0x65,0x30,0x67,0x25,0xcb,0x65,0xdf,0xdc,0x03,0xa8,0x94,0xcb,0xf0,0x4e,0x71,0x95,0x21,0x8c,0xa0,0xa6,0x7d,0xf1,0xcd,0xd9,0xbf,0x85,0xd1,0x68,0x04,0x53,0x96,0x49,0x84,0x9f,0xec,0x77,0xf8,0x8a,0xe7,0xdb,0x37,0xf0,0x6f,0xcc,0xff,0xa3,0xb6,0x46,0x7c,0x52,0x6d,0x85,0x74,0xb4,0xbc,0x57,0x28,0x25,0x9b,0x61,0x18,0x86,0x5d,0x81,0x14,0xf3,0x8e,0x09,0xfa,0x6c,0x45,0x12,0x9c,0xb2,0x2a,0x53,0x1d,0x7e,0x56,0x29,0x91,0xf2,0xa4,0x2d,0xe2,0xae,0x48,0xea,0xc3,0x07,0x20,0x7f,0xb1,0x2d,0xc0,0x0b,0x8a,0xd3,0x82,0x65,0x24,0xb0,0xe7,0x24,0xdc,0x5d,0x8d,0xf3,0xe3,0x60,0x30,0x68,0x4b,0xc4,0x25,0x32,0x85,0x41,0xbf,0x7d,0x87,0x59,0xc8,0x92,0xe4,0x6c,0x41,0x09,0x18,0x73,0x8a,0x7c,0x81,0x65,0xe0,0xc7,0x19,0x8f,0xbf,0xfa,0xfb,0x10,0x60,0x1f,0x46,0x27,0x36,0xb2,0x00,0x7c,0x4a,0x37,0xa1,0x62,0xe5,0x0c,0x55,0x68,0x52,0xa2,0x45,0x28,0xa1,0x85,0x62,0xbc,0x90,0x81,0x6f,0x4a,0xe6,0xee,0x2e,0xce,0x84,0x44,0xbf,0xdf,0x5f,0x0b,0x3a,0x30,0xed,0x8c,0x83,0x07,0x58,0x99,0xef,0xaa,0x63,0x8e,0x4c,0xc5,0x63,0xcd,0xa1,0xa9,0xf6,0xd8,0x49,0x2d,0x19,0xdc,0x40,0x93,0xe9,0x0e,0x55,0xb3,0xf2,0x62,0xe6,0xbf,0xf4,0x6e,0x2b,0xb3,0xe3,0x24,0xa9,0x44,0x3c,0x86,0x12,0xd5,0x0d,0xcf,0x51,0x54,0x2a,0x08,0x3a,0x5e,0x6f,0xd0,0x54,0x62,0x2e,0x16,0xb8,0x05,0xd9,0x39,0xa4,0xa3,0xd5,0x4d,0x6d,0x13,0x90,0xad,0x60,0x5b,0x22,0xb5,0xff,0x22,0xe7,0x0e,0xca,0xc5,0xa9,0x66,0xff,0xae,0x38,0xbd,0xae,0x02,0x55,0xb2,0x42,0x72,0xc5,0x75,0x77,0x26,0xba,0x1a,0xbe,0x2b,0x2c,0x6f,0x94,0xd8,0xc0,0x6e,0x99,0x9c,0xcf,0xfb,0xf0,0x2c,0x8a,0x58,0x77,0xae,0xee,0x08,0x17,0x6d,0x33,0x11,0x00,0xb5,0x07,0xd4,0x10,0x05,0x3e,0xc2,0x69,0x25,0x95,0xc8,0x8d,0x4f,0x81,0xaf,0x03,0x14,0x1a,0x14,0x72,0xe4,0x19,0x12,0xa4,0x8a,0xcd,0x86,0xf4,0xaf,0xae,0xe6,0xe1,0x1a,0x0d,0x56,0xeb,0x04,0x26,0x22,0xae,0x72,0x92,0x0e,0x13,0x2e,0xe7,0x8c,0x26,0x56,0xad,0xcb,0x60,0x34,0x25,0xea,0x9a,0xca,0x06,0xc6,0xda,0xa1,0xbb,0x72,0x2d,0x5f,0xb3,0x9c,0x65,0x98,0x1b,0x5b,0x12,0xbe,0x70,0x5e,0x6e,0x49,0xd2,0x56,0xf2,0x7d,0x1d,0xa8,0xf7,0xcf,0xad,0x19,0xb3,0xba,0xb7,0xdc,0x19,0x2a,0x48,0x55,0xae,0xa1,0xef,0x9f,0x53,0x64,0x34,0x80,0x57,0xc7,0x04,0x06,0x46,0xc7,0xc8,0xb3,0xdd,0xf9,0x20,0x92,0xa5,0x77,0x72,0x1c,0x11,0xe5,0xe4,0xf8,0xa1,0x52,0x4a,0x14,0x2f,0x38,0x4c,0xff,0x7a,0xa0,0x96,0x73,0x1c,0x79,0x35,0x87,0x16,0xa8,0xff,0x9d,0xdc,0xb7,0x03,0xae,0xf1,0x2e,0x0c,0x14,0xa1,0x76,0x66,0x6f,0x6b,0xd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,0x50,0x59,0x0b,0x19,0x3d,0x2d,0xff,0x29,0x05,0x46,0x7f,0xf1,0xd9,0x84,0x54,0x9c,0x7f,0x3e,0xf8,0xe5,0x33,0x51,0x8c,0x8d,0x32,0xca,0x8c,0xc9,0x5e,0x3f,0x4c,0x68,0xfc,0x06,0xce,0x9d,0xc0,0xd2,0xb5,0x0b,0x3b,0x00,0x0b,0x56,0x02,0xc5,0x1f,0x75,0x99,0x58,0x4a,0x68,0xce,0xf2,0xcb,0xe0,0xf6,0xc8,0x71,0xd0,0xeb,0x56,0x64,0x82,0x25,0xa7,0xa2,0x32,0x05,0x35,0x30,0x94,0xa9,0x28,0x21,0xd0,0x64,0x6e,0xae,0xe8,0x73,0xfc,0x42,0x47,0x98,0x61,0x31,0x53,0x29,0x91,0xf6,0xf6,0x0c,0xe0,0x4e,0x57,0xd3,0xde,0x2b,0x50,0x7e,0x1b,0x3a,0x96,0xbb,0x58,0xf3,0x18,0x24,0xca,0x87,0xb5,0xc4,0xb2,0x5f,0x16,
0x53,0x41,0xa0,0xde,0x35,0x4d,0xe9,0x29,0x2f,0xf3,0x47,0x56,0x22,0x2c,0xb0,0x94,0x3a,0x61,0x81,0x07,0x7b,0x6b,0xbd,0x05,0xa3,0x1d,0x6a,0x0f,0xbc,0x3e,0x3c,0x32,0x49,0x26,0xd3,0x56,0x09,0xc4,0x73,0xce,0xd5,0x05,0x85,0x12,0x2e,0x95,0xb9,0x77,0x98,0xb4,0x76,0x6a,0xe1,0x8e,0x95,0x94,0xc7,0xb1,0x88,0x59,0x86,0x13,0x55,0xd2,0x6b,0x44,0xc9,0x27,0x75,0xa0,0xe8,0xf1,0x95,0x21,0x9c,0x0b,0x38,0x38,0xa1,0xb5,0x52,0x64,0x52,0xff,0xf9,0x73,0x9e,0x50,0xd4,0xe1,0x6c,0xf2,0xfb,0x0f,0x87,0xb4,0x84,0xcd,0x10,0x94,0x00,0xca,0x25,0xe4,0x82,0x0c,0xe4,0x64,0x75,0xe8,0x1d,0xf5,0x4c,0x21,0x98,0xb8,0xf2,0xc5,0xc7,0x76,0xc7,0x10,0xa7,0x6d,0x97,0x9f,0x97,0x97,0xd4,0x0c,0x8b,0xba,0x01,0xda,0xcf,0xc2,0x13,0xcb,0xe7,0x19,0x7e,0x52,0xaa,0x1c,0x19,0x71,0x2d,0xa3,0x4f,0x9c,0x66,0x2b,0x4d,0xb9,0xc5,0x9a,0xdf,0xac,0x5a,0x0d,0x37,0xbc,0x1b,0x75,0x62,0xd2,0x74,0xb0,0x7e,0xe9,0xcc,0x5e,0x1c,0xb4,0x56,0x08,0x3d,0xa7,0x86,0xf5,0xf8,0xdd,0x6f,0x6e,0x69,0x82,0x0c,0xdb,0x29,0x68,0x91,0xf4,0x3b,0x32,0x04,0x8f,0x12,0x51,0x50,0x90,0xbc,0x86,0xe2,0x56,0x97,0x57,0xda,0xdc,0x26,0x62,0x09,0x6e,0x51,0x59,0x77,0x72,0x6f,0x67,0x65,0xdb,0xf1,0x5f,0x77,0xe8,0xc5,0x03,0x8b,0x0c,0x00,0x00
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x13,0xad,0x56,0x6d,0x6f,0xdb,0x36,0x10,0xfe,0x1c,0xff,0x8a,0xab,0x50,0x54,0x72,0x5e,0x24,0xb7,0xc3,0xbe,0xb8,0x71,0x86,0x2e,0x4b,0xd3,0x0c,0x69,0x36,0x2c,0xd9,0x0a,0xac,0x28,0x12,0x5a,0x3a,0xdb,0x5c,0x28,0x51,0x13,0x29,0x27,0x59,0xea,0xff,0xbe,0x23,0x45,0xca,0x52,0x12,0x0f,0x1d,0xda,0x2f,0x96,0xc9,0x7b,0x7f,0xee,0xe1,0x91,0xc9,0xf6,0xf6,0x00,0xb6,0xe1,0x42,0x32,0xa5,0x21,0x5a,0x68,0x5d,0xaa,0x71,0x92,0xcc,0xb9,0x5e,0xd4,0xd3,0x38,0x95,0x79,0xc2,0x75,0xba,0xe0,0x38,0x4b,0x6a,0xbe,0x47,0xcb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0x65,0x97,0x68,0x04,0x96,0x63,0xd9,0x8f,0x77,0x27,0xc4,0xa1,0x65,0xc3,0x9b,0xee,0x34,0xbd,0x65,0x79,0x29,0xf0,0x8d,0xd6,0xd5,0xc4,0x9a,0x1b,0x1b,0xb3,0xe2,0x34,0x92,0x68,0x38,0x2c,0x5b,0x7d,0xe3,0x9f,0x70,0xfe,0xc3,0x52,0xf9,0xac,0xce,0xa7,0xd4,0x4e,0x9f,0x63,0xc1,0x72,0x8c,0x55,0x29,0x38,0xb1,0x39,0x26,0xf2,0xfc,0x25,0x79,0x11,0x05,0xc1,0xd0,0x91,0xcf,0x98,0x0a,0x99,0x32,0xd1,0x33,0xee,0x84,0xde,0x60,0xdb,0x1a,0xbb,0x38,0x27,0xc5,0x4c,0x92,0x7d,0x70,0x46,0x57,0xd0,0x8c,0x57,0xf9,0x0d,0xab,0x10,0xa8,0x26,0x65,0xd8,0x18,0x05,0xb0,0xe3,0x13,0xdc,0x81,0x60,0x08,0x37,0x4c,0x51,0x27,0xe8,0xb1,0x0c,0x24,0x3d,0xe6,0xfa,0x1d,0x31,0x04,0x4e,0xb4,0xdd,0xf7,0x50,0xd2,0x6b,0xda,0x98,0xf5,0xc0,0x27,0x7a,0x9e,0x9a,0x64,0xf1,0x9c,0x50,0x28,0xe6,0xc4,0x69,0x72,0x07,0x9a,0xde,0x14,0x2a,0x86,0x63,0x09,0x7b,0x07,0xf4,0x5a,0x96,0x42,0x99,0x3f,0xbf,0x97,0x19,0x91,0x09,0x8e,0xce,0x7f,0xfd,0xee,0x15,0xbd,0x2d,0xe7,0x08,0x5a,0x02,0x21,0x08,0xb9,0xa4,0xd4,0x38,0xe5,0x1b,0x07,0x9d,0x3a,0xa6,0xc4,0x6a,0x5f,0xc4,0xc5,0x82,0x15,0xd7,0xca,0x72,0xc5,0xd0,0x91,0x22,0xd9,0xab,0xd5,0x95,0xf3,0x0c,0x7e,0x92,0x45,0xa8,0x8d,0xd8,0xb8,0x33,0x5e,0xf9,0x12,0x61,0x86,0x98,0x4d,0x59,0x7a,0x0d,0xaf,0x87,0xc6,0x6f,0x3b,0xa1,0x5c,0xdd,0x07,0x2d,0xcc,0xeb,0x39,0x64,0x9c,0xda,0xd7,0x7d,0xd4,0x79,0x08,0x99,0x69,0x3b,0x6e,0x2e,0x91,0xdd,0xf5,0x2e,0xcd,0xc1,0x71,0x17,0xeb,0x8e,0xc8,0xdc,0x86,0x63,0x08,0x08,0xf1,0x82,0x32,0x0d,0xd6,0x12,0xff,0x00,0x7b,0xe4,0xcd,0xbf,0xa7,0x9c,0xc0,0x3f,0xb7,0x1e,0x8c,0x6b,0x1a,0xf4,0x9d,0xfc,0xf7,0xbf,0x41,0xfe,0x1e,0xe3,0xc7,0xc9,0xab,0x3a,0x4d,0xe9,0xd2,0xf8,0x16,0xc9,0x0f,0xb6,0x56,0x6e,0x22,0xfe,0x0b,0xa2,0xa7,0xd1,0x5d,0x0e,0x0e,0x00,0x00
};
Binary file modified src/websrc/gzipped/js/toast.js.gz
Binary file not shown.
22 changes: 19 additions & 3 deletions src/websrc/js/toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,20 @@ function checkLatestRelease() {
downloadCount += release.assets[i].download_count;
}

var releaseInfo = "New firmware version (" + release.name + ") was found on GitHub. It was downloaded " + downloadCount.toLocaleString() + " times. Go -> Tools -> Update ESP32 page to get more info.";


var div1 = document.getElementById('ver');

const exampleAttr= div1.getAttribute('v');

if (exampleAttr != release.name) {
var gitVer = Number(release.name.split('.').join(""));
var localVer = Number(exampleAttr.split('.').join(""));

var releaseInfo = "New firmware version (" + gitVer + ") was found on GitHub. It was downloaded " + downloadCount.toLocaleString() + " times. Go -> Tools -> Update ESP32 page to get more info.";

var betaInfo = "Thanks for testing new version! Don't forget to give feedback ;)";


if (gitVer > localVer) {
new Toast({
title: false,
text: releaseInfo,
Expand All @@ -92,6 +99,15 @@ function checkLatestRelease() {
interval: false
});
}
else if (gitVer < localVer) {
new Toast({
title: false,
text: betaInfo,
theme: "success",
autohide: false,
interval: false
});
}

});
}
2 changes: 1 addition & 1 deletion tools/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.8
0.6.9

0 comments on commit 2059d82

Please sign in to comment.