Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main/ZgatewayPilight.ino
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void pilightCallback(const String& protocol, const String& message, int status,
if (!strlen(device_id)) {
// deviceID returned from Pilight is only extracted from id field
// but some device may use another name as unique identifier
char* choices[] = {"key", "unit", "systemcode", "unitcode", "programcode"};
char* choices[] = {"key", "unit", "device_id", "systemcode", "unitcode", "programcode"};

for (uint8_t i = 0; i < 5; i++) {
if (msg[choices[i]]) {
Expand Down