Commit 5b5e88b6 authored by Jin's avatar Jin

Merge branch 'modelguid-changed' into 'master'

model uid changed

fix netatmo vdc detection

See merge request !7
parents 9fd97b36 f57cb093
......@@ -19,7 +19,7 @@ var vdc_strings =
var vdc_config =
{
model_uid: "libdsvdc:netatmo",
model_uid: "NetAtmo Weather Station",
search_intervall_ms: 20000
};
......@@ -471,7 +471,7 @@ var vdc_search_callback = function(data)
if ((circuit.isPresent === true) &&
(circuit.isValid === true) &&
(circuit.busMemberType === 33) && // vdc host
(circuit.VdcModelUID === "libdsvdc:netatmo")) // netatmo vdc
(circuit.VdcModelUID === vdc_config.model_uid)) // netatmo vdc
{
devices.push(circuits[i]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment