IR_remote_MQTT_MATLAB

Project progress report on 11/18/2022

The first fully functional Prototype

Most of the fundamental properties are now the app’s properties instead of being Userdata’s properties.

The Properties

Created new app’s properties

app.code to store the codes saved by the user and pre-defined codes.
app.topic_Dict stores the MQTT topics for each defined tasks.
app.task_Dict stores the MQTT payloads for each defined tasks.
app.code_listbox to store the “code = task” strings for displaying in the Task list.
app.code_dict to store the code-task relations.

Implemented Safeguards

Implemented the functions developed last week to the main project.

Added a condition that stops the task saving (or assigning) function from working when there is no code stored to prevent error.

Save task Button

Added a condition that stops the task deleting function from working when there is task selected in the task list to prevent error.

Remove task Button

Implement the GUI MQTT button

Added the buttons that allow users to control the zigbee end devices directly from the GUI app.

The GUI app MQTT buttons