Skip to content

Commit

Permalink
Merge pull request #160 from ezloteam/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
lomasSE89 authored Aug 7, 2024
2 parents 21f05de + 9489e00 commit 95135d8
Show file tree
Hide file tree
Showing 111 changed files with 8,403 additions and 12,508 deletions.
59 changes: 0 additions & 59 deletions .editorconfig

This file was deleted.

7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,14 @@ _deps

# VS Code files for those working on multiple tools
**/.vscode/*
**/!.vscode/settings.json
**/!.vscode/tasks.json
**/!.vscode/launch.json
**/!.vscode/extensions.json
**/*.code-workspace

# Local History for Visual Studio Code
**/.history/

**/shell_script/

dependencies.lock

sdkconfig.old
sdkconfig
47 changes: 47 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,53 @@

# RELEASE NOTES

# Version 4.1.4 Build 194git

## New
1. Added 'setVariable' - Meshbot then_method [EZPI-426](https://jira.mios.com/browse/EZPI-426)
2. Added 'setExpression' - Meshbot then_method [EZPI-425](https://jira.mios.com/browse/EZPI-425)
3. Added 'itemGroup' and 'DeviceGroups' [EZPI-427](https://jira.mios.com/browse/EZPI-427)

## Fixes
1. Fix issue about device apperaing offline when WiFi network changed with changing device IP [EZPI-443](https://jira.mios.com/browse/EZPI-443)
2. Fix EzloPi WS connection ON and OFF [EZPI-439](https://jira.mios.com/browse/EZPI-439)
3. Fix issue of appearing `ezlopi_generic_0` on BLE client devices

# Version 4.1.3 Build 191

## New
1. Enrollment of first-provisioning-api
2. Implemented __loop to minimize the heap consumption. Followings has been added to loop:
2.1: ping
2.2: device/item routine call
2.3: removed timer-events
2.4: Cloud registration
2.5: broadcast service
2.6: LED indicator
2.7: meshbot
2.8: ota
2.9: uart
3. Fixed touch-switch input
4. Cloud syncing for provisioning
5. Reset_scene_latches [https://jira.mios.com/browse/EZPI-371]
6. Added nvs update when activating : 'hub.scenes.block.status.reset' . [https://jira.mios.com/browse/EZPI-411]
7. Added 'hub.scenes.block.enabled.set' method . [https://jira.mios.com/browse/EZPI-413]
8. Added 'hub.scenes.house_modes.set' method . [https://jira.mios.com/browse/EZPI-415]
9. Added 'hub.scenes.action.block.test' method . [https://jira.mios.com/browse/EZPI-417]
10. Added 2-broadcast methods for :- 'hub.scenes.expressions.set' . [https://jira.mios.com/browse/EZPI-419]
11. Added broadcast method for :- 'hub.expression.deleted' . [https://jira.mios.com/browse/EZPI-420]

## What's Changed
* Update README.md by @lomasSE89 in https://github.com/ezloteam/Ezlo_Pi/pull/140
* Combined ezpi 381 400 401 402 403 404 by @ezlo-rikenm in https://github.com/ezloteam/Ezlo_Pi/pull/139
* 1. bug_fixed in 'firmware_info_get' function by @ezlo-rikenm in https://github.com/ezloteam/Ezlo_Pi/pull/142
* Dev merge ezpi 371 411 413 415 417 419 420 by @ezlo-rikenm in https://github.com/ezloteam/Ezlo_Pi/pull/141
* Development by @krishna-ezlo in https://github.com/ezloteam/Ezlo_Pi/pull/143
* Ezpi wifi scanner issue by @NDJ-EZLO in https://github.com/ezloteam/Ezlo_Pi/pull/144
* added device/item to loop in every 1-seconds by @krishna-ezlo in https://github.com/ezloteam/Ezlo_Pi/pull/145
* Pre release ezlopi core 4.x.x by @lomasSE89 in https://github.com/ezloteam/Ezlo_Pi/pull/146


# Version 3.5.9 Build 189

## New
Expand Down
9 changes: 0 additions & 9 deletions dependencies.lock

This file was deleted.

10 changes: 10 additions & 0 deletions ezlopi-cloud/ezlopi-cloud-constants/ezlopi_cloud_constants.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#ifndef __EZLOPI_CLOUD_CONSTANTS_H__
#define __EZLOPI_CLOUD_CONSTANTS_H__

//------------------- MACRO FOR COMPARING EQUAL STR ------------------------------------------------------------
#define BIGGER_LEN(str1_len, str2_len) ((str1_len > str2_len) ? str1_len : str2_len)
#define COMPARE_IF_EQUAL(STR1, STR2 , STR1_LEN , STR2_LEN) (strncmp(STR1, STR2, BIGGER_LEN(STR1_LEN, STR2_LEN)) == 0)
#define EZPI_STRNCMP_IF_EQUAL(STR1, STR2 , STR1_LEN , STR2_LEN) \
((NULL == STR1) ? false \
: (NULL == STR2) ? false \
: ((0 == STR1_LEN) && (0 == STR2_LEN)) ? false \
: COMPARE_IF_EQUAL(STR1, STR2 , STR1_LEN , STR2_LEN))
//-------------------------------------------------------------------------------------------------------------

#include "ezlopi_cloud_keywords.h"
#include "ezlopi_cloud_scales_str.h"
#include "ezlopi_cloud_methods_str.h"
Expand Down
10 changes: 9 additions & 1 deletion ezlopi-cloud/ezlopi-cloud-constants/ezlopi_cloud_methods_str.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const char *method_cloud_firmware_info_get = "cloud.firmware.info.get";
const char *method_hub_devices_list = "hub.devices.list";
const char *method_hub_device_armed_set = "hub.device.armed.set";
// const char *method_hub_device_name_set = "hub.device.name.set";
// const char *method_hub_device_room_set = "hub.device.room.set";
const char *method_hub_device_room_set = "hub.device.room.set";
// const char *method_hub_device_setting_dictionary_value_set = "hub.device.setting.dictionary.value.set";
// const char *method_hub_device_setting_value_set = "hub.device.setting.value.set";
// const char *method_hub_gateway_setting_value_set = "hub.gateway.setting.value.set";
Expand Down Expand Up @@ -134,4 +134,12 @@ const char *ezlopi_hub_room_reordered_str = "hub.room.reordered";

const char *ezlopi_hub_modes_changed_str = "hub.modes.changed";

const char *ezlopi_hub_device_group_created = "hub.device.group.created";
const char *ezlopi_hub_device_group_deleted = "hub.device.group.deleted";
const char *ezlopi_hub_device_group_updated = "hub.device.group.updated";

const char *ezlopi_hub_item_group_created = "hub.item.group.created";
const char *ezlopi_hub_item_group_deleted = "hub.item.group.deleted";
const char *ezlopi_hub_item_group_updated = "hub.item.group.updated";

#endif // __EZLOPI_METHODS_STR_H__
12 changes: 10 additions & 2 deletions ezlopi-cloud/ezlopi-cloud-constants/ezlopi_cloud_methods_str.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ extern const char *method_cloud_firmware_info_get;
// extern const char *method_hub_device_firmware_update ;
extern const char *method_hub_devices_list;
extern const char *method_hub_device_armed_set;
// extern const char *method_hub_device_name_set ;
// extern const char *method_hub_device_room_set ;
// extern const char *method_hub_device_name_set;
extern const char *method_hub_device_room_set;
// extern const char *method_hub_device_setting_dictionary_value_set ;
// extern const char *method_hub_device_setting_value_set ;
// extern const char *method_hub_gateway_setting_value_set ;
Expand Down Expand Up @@ -134,4 +134,12 @@ extern const char *ezlopi_hub_room_reordered_str;

extern const char *ezlopi_hub_modes_changed_str;

extern const char *ezlopi_hub_device_group_created;
extern const char *ezlopi_hub_device_group_deleted;
extern const char *ezlopi_hub_device_group_updated;

extern const char *ezlopi_hub_item_group_created;
extern const char *ezlopi_hub_item_group_deleted;
extern const char *ezlopi_hub_item_group_updated;

#endif // __EZLOPI_METHODS_STR_H__
Loading

0 comments on commit 95135d8

Please sign in to comment.