Changeset 116
- Timestamp:
- 2014-06-05 15:47:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/UI7/I_ApexisUI7.xml ¶
r115 r116 282 282 luup.log("ApexisUI7:GetCgiBinFlag- Failed to communicate with camera, ret code=".. retCode, 1) 283 283 luup.variable_set(HAD_SID, "Configured", "0", lug_device) 284 luup. variable_set(HAD_SID, "CommFailure", "1", lug_device)284 luup.set_failure(1, lug_device) 285 285 return nil, "Failed to communicate with camera" 286 286 else … … 1015 1015 ShowSysError("Camera IP is missing") 1016 1016 luup.variable_set(HAD_SID, "Configured", "0", lug_device) 1017 luup. variable_set(HAD_SID, "CommFailure", "1", lug_device)1017 luup.set_failure(1, lug_device) 1018 1018 return false 1019 1019 end … … 1085 1085 1086 1086 luup.variable_set(HAD_SID, "Configured", configured, lug_device) 1087 luup. variable_set(HAD_SID, "CommFailure",commFailure, lug_device)1087 luup.set_failure(commFailure, lug_device) 1088 1088 1089 1089 return (configured == 1) … … 1171 1171 if retCode < 100 then 1172 1172 luup.log("ApexisUI7:CheckCameraStatus- Failed to communicate with camera, ret code=".. retCode, 1) 1173 luup. variable_set(HAD_SID, "CommFailure", "1", lug_device)1173 luup.set_failure(1, lug_device) 1174 1174 else 1175 1175 luup.log("ApexisUI7:CheckCameraStatus- Comm ok, ret code=".. retCode) 1176 luup. variable_set(HAD_SID, "CommFailure", "0", lug_device)1176 luup.set_failure(0, lug_device) 1177 1177 end 1178 1178
Note: See TracChangeset
for help on using the changeset viewer.