Skip to content

Commit

Permalink
Home Accessory Architect v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RavenSystem committed Oct 6, 2019
1 parent ead6d6a commit ba62646
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions devices/HAA/main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Home Accessory Architect
*
* v0.2.0
* v0.2.1
*
* Copyright 2019 José Antonio Jiménez Campos (@RavenSystem)
*
Expand Down Expand Up @@ -43,8 +43,8 @@
#include <cJSON.h>

// Version
#define FIRMWARE_VERSION "0.2.0"
#define FIRMWARE_VERSION_OCTAL 000200 // Matches as example: firmware_revision 2.3.8 = 02.03.10 (octal) = config_number 020310
#define FIRMWARE_VERSION "0.2.1"
#define FIRMWARE_VERSION_OCTAL 000201 // Matches as example: firmware_revision 2.3.8 = 02.03.10 (octal) = config_number 020310

// Characteristic types (ch_type)
#define CH_TYPE_BOOL 0
Expand Down Expand Up @@ -311,6 +311,9 @@ void hkc_autooff_setter_task(void *pvParameters);

// --- KILL SWITCH ON
void hkc_kill_switch_on_setter(homekit_characteristic_t *ch, const homekit_value_t value) {
ch->value = value;
homekit_characteristic_notify(ch, ch->value);

setup_mode_toggle_upcount();
save_states_callback();
}
Expand Down
2 changes: 1 addition & 1 deletion external_libs/wifi_config_haa/content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
.field.required label::before {content: "*"; color: red;}
</style></head>
<body><div class="container">
<h1>Home Accessory Architect v0.2.0</h1>
<h1>Home Accessory Architect v0.2.1</h1>
<form action="/settings" method="get">
<input type="submit" id="refresh" value="⟲ Refresh" />
</form>
Expand Down

0 comments on commit ba62646

Please sign in to comment.