From 4976a5b206ee19489b2c223a7fbb1b4891db7a91 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Fri, 27 Sep 2024 15:46:14 +0200 Subject: [PATCH] Update IoT Agent --- .env | 2 +- link-devices | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 3a09dd9..5aa0f08 100644 --- a/.env +++ b/.env @@ -23,7 +23,7 @@ MONGO_DB_PORT=27017 MONGO_DB_VERSION=6.0 # IoT Agent Ultralight Variables -ULTRALIGHT_VERSION=3.4.0-distroless +ULTRALIGHT_VERSION=3.6.0-distroless IOTA_NORTH_PORT=4041 IOTA_SOUTH_PORT=7896 diff --git a/link-devices b/link-devices index 069c6bb..2de7b84 100755 --- a/link-devices +++ b/link-devices @@ -23,7 +23,7 @@ devices="{\"devices\":["; for number in 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050 051 052 053 054 055 056 057 058 059 060 061 062 063 064 065 066 067 068 069 070 071 072 073 074 075 076 077 078 079 080 081 082 083 084 085 086 087 088 089 090 091 092 093 094 095 096 097 098 099 100 do - devices="$devices {\"device_id\":\"cow$number\", \"entity_type\": \"Device\" , \"entity_name\": \"urn:ngsi-ld:Device:cow$number\","; + devices="$devices {\"device_id\":\"cow$number\", \"entity_type\": \"Device\" , \"entity_name\": \"urn:ngsi-ld:Device:cow$number\", \"apikey\": \"98699\","; devices="$devices \"static_attributes\": [ { \"name\": \"controlledAsset\", @@ -55,7 +55,7 @@ devices="{\"devices\":["; for number in 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050 051 052 053 054 055 056 057 058 059 060 061 062 063 064 065 066 067 068 069 070 071 072 073 074 075 076 077 078 079 080 081 082 083 084 085 086 087 088 089 090 091 092 093 094 095 096 097 098 099 100 do - devices="$devices {\"device_id\":\"pig$number\", \"entity_type\": \"Device\" , \"entity_name\": \"urn:ngsi-ld:Device:pig$number\","; + devices="$devices {\"device_id\":\"pig$number\", \"entity_type\": \"Device\" , \"entity_name\": \"urn:ngsi-ld:Device:pig$number\", \"apikey\": \"110990\","; devices="$devices \"static_attributes\": [ { \"name\": \"controlledAsset\",