We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 634d9ef commit 4213100Copy full SHA for 4213100
iot-devices/lib/writer.js
@@ -9,17 +9,12 @@ const stream = HISTORY_LOG
9
10
exports.write = function (deviceId, state) {
11
if (!stream) {
12
- console.log(HISTORY_LOG);
13
return;
14
}
15
if (!deviceId.startsWith('cow')) {
16
17
18
19
- if (state.d === 'MOUNTING') {
20
- console.log('MOUNT');
21
- }
22
-
23
const data = JSON.parse(json.format(state, false));
24
const animal = `urn:ngsi-ld:Animal:${deviceId}`;
25
const device = `urn:ngsi-ld:Device:${deviceId}`;
0 commit comments