diff --git a/.gencode_hash.txt b/.gencode_hash.txt index 967506a17f..7d14567549 100644 --- a/.gencode_hash.txt +++ b/.gencode_hash.txt @@ -1,27 +1,27 @@ 433b3c972a2d4de6f54cf32f00f918fa7e3fd80d4bf29a2c7bee182f532bc660 gencode/docs/command_discovery.html -41c2bc68fc3b8151b6a504c8adfe47d7453b972a38e4e056238241ae12ad2859 gencode/docs/command_mapping.html -81ba8b959b8ac79fe792eef5a4aaf984fcfbe3e7b94987556dd23a329dbaac5b gencode/docs/config.html +158e714e54b2a6d0b90bfca00d178369b04508dc4fa84a979690a813ca2dd724 gencode/docs/command_mapping.html +4e2480661fabd32eba35d3ae9a4af94f08eb7cfdd62e75b45ade560078fe389c gencode/docs/config.html 22bfb3fd7c0e73dac4cbd830aa7983714917ec6da813f6bf5768ce3aa9786fb2 gencode/docs/config_mapping.html a626529e7bbcfbe32e734585c342a300b26161afaab4565d6328726bfb1da7c2 gencode/docs/configuration_endpoint.html 2ca2acaca1c68ff641a60873ed18e49416b2fe8419df88902b5eb9c248bb42e5 gencode/docs/configuration_execution.html b052fb2c7db24f398ade7a490230f40b8db7d3fd1ed06f081ec14998bcadb2de gencode/docs/configuration_pod.html f8c01f4bf8a8dc13db3458d4f01ebec64c79417e76caa066f8279cd0fb7a062c gencode/docs/configuration_pubber.html -9a4c3876ca5dd7bbbec722a88cfbf99deef5eda23e62404259cad0a3bc242cfd gencode/docs/event.html -06e6f3a4d8de12d11fce0071baff640a9c4dc01d72d537557ed10b08eda4ccab gencode/docs/event_discovery.html -78f655972772f4bee92d88c3a26535612735c794837bfd6f479faeb2e8d8691e gencode/docs/event_mapping.html +69c8b50030bc0bdf266f0fbfb7b42b1b8a83d93a3e6d6cd0d9e5052292a52dd0 gencode/docs/event.html +650307c3419833aff9db3b0304258489ef84db1fbff5fbb3ceb3011eabdda961 gencode/docs/event_discovery.html +b9dde27aceea28283a4c51f8f9b74db72b305a06ff4f68c625b035dc86267f8c gencode/docs/event_mapping.html f6ca85990e940f109a48e35b25102d8860e5707a7b2145412046f44d599ef635 gencode/docs/event_pointset.html f849ebe1085d81fb0f16654b7c9d3d14c59b56b1c75154e100b85398694657fd gencode/docs/event_system.html a4a99c4be9483e889c2d0d180d72d2ed332d587ac9305c7615da0e70fd55a56d gencode/docs/event_validation.html -61326830be577c3f594a8e7fb5c7f078be47fbcbef2f222e70d9e64517b12209 gencode/docs/metadata.html +f322770ed1b3d4c75a824739db79ad1b66dcd081506f5cbca3fa1cd6c639ed5d gencode/docs/metadata.html 93bfecd5facd0ead4c75a90f350fa715e6fb8bdab71d81b1f3e46994f03c1c2e gencode/docs/monitoring.html 96808a602a71cec03e205466f93e0a27c6bf642d08d70ea80dbe00a5adf61410 gencode/docs/persistent_device.html 5d039d607af9ec75ee552dfe36b16c702687ea16f5663f41fc49b4533b86e00d gencode/docs/properties.html 9b4413e13e835bc4f76d6f74e7a6935eb58255ca95d499256a6ee6c37d3afc49 gencode/docs/query_cloud.html -3ad206c2afce110cdeb0bc5bb13cd959a2d7016ca40caec6fcc544a451469af4 gencode/docs/readme.md +8da8d767f09155383319e69d93451b9fde63c32ba139a813973b31a010fca86e gencode/docs/readme.md 741b880216be3743f6747800a042f2dbd89f3b0344c6b0a965f4bc010f03a930 gencode/docs/schema_doc.css 878ea88206c974f40643c3cc430875f9c4e8c5e3fd6bcd6358bd3eb6d48699a9 gencode/docs/schema_doc.min.js 7ed934930aee763e0beebc349725ba3909115e8d346bb762f28bcbe745bb163a gencode/docs/schema_extras.js -4e3d45425d94a2ca826fea24ded247dc812264e580087f6c69d860cf5c79688d gencode/docs/state.html +dadeb50ae80ff361095487176febef4f096ec858f14655f10e1c3a0d47f5af91 gencode/docs/state.html b2398e7f9e352c47867e38f97168f3eb88e23280c7dd576f13e038c8c3f714c9 gencode/docs/state_mapping.html 567b27a9257816eb9a9063ce089fe0f58c5962f10ea449bb7c653bd6151365a8 gencode/docs/state_udmi.html c47793798acffff5a0db724674bb21c1d5780789c63379b57be698aafd12b477 gencode/docs/state_validation.html @@ -37,35 +37,36 @@ fcbed49f1af8b791d8c52bcbe18f65521a79d9ac3eb33ec3afd9b342ab2bfc56 gencode/java/u 3ee2d42e34f36350925595a6904978698c0d92b0b5d417876bd7bf25b0780210 gencode/java/udmi/schema/BridgePodConfiguration.java 2e7c0912c6f43b8dae9e9149b7361d3640bde4f01de6e13d8e487fe01be2c2c0 gencode/java/udmi/schema/Bucket.java 0a4f6bcd5065418c1cdc6c05b900b3de31744847d25b6ab6de7aabb1e724710e gencode/java/udmi/schema/BuildingTranslation.java -c47b17d70ed7fffae5cb829623088358eca22c8fa5613edd97518bed0b522620 gencode/java/udmi/schema/CapabilityValidationState.java +0c133f64013d5f2c4be203708def7ae11be631e90d5992222d6b4c97eef2573e gencode/java/udmi/schema/CapabilityValidationState.java ec164962f2f00924ecb41ae07c2e01d6bf027951ccc605e0210988370b987973 gencode/java/udmi/schema/Category.java f6a557eb73dfa077d7c5daf897bde345c7403232808608c39e24a0cbee2755c9 gencode/java/udmi/schema/CloudModel.java 8b3c78c77a6ccade42d8c3fea9a7c8196344f2f68dfac1dd8685a0727ec31bac gencode/java/udmi/schema/CloudQuery.java 377eb78de936317676faaf7ec5a32ad17f2c2c54a3280df87f5fcc2d36c7014d gencode/java/udmi/schema/Config.java cf9762392e02b5d04c6498963222cc0c00f7be6c3cd82bde3d063a5eceba2b65 gencode/java/udmi/schema/Connections.java 8164e93ccc76d78548d456890e064df8427a09bbcd50686b37a10d3ff5ad429f gencode/java/udmi/schema/Credential.java +a88865e2260d532380323e4679be87f50fa0f48d48b337ded2213060ecf7470f gencode/java/udmi/schema/DeviceDiscovery.java 10d67bf2080403fd196f63097e4ce2151edaafe3cf4ac77598ef83e06f94cb05 gencode/java/udmi/schema/DeviceMappingConfig.java 5ffb3bf92436c469eee16fe1e472efc89d1c466785be6ce30148188439314afe gencode/java/udmi/schema/DeviceMappingState.java 9b3e011019ecd3bd2c7b64714c6c30d765e879d7ab00f9cddb212dd3f51502eb gencode/java/udmi/schema/DevicePersistent.java d4a82e132b2d223c4a82384d22455283c0b64aba3100fc210e72f9700b9df2d0 gencode/java/udmi/schema/DeviceValidationEvent.java 73399ed2459902c3d81e95fde2caa5033c76f8cfd89e96338c8923529763e52c gencode/java/udmi/schema/DiscoveryCommand.java -e809df42a73ed843977e447fa3333140dcdbe7d09b4e88bf1b8fd52fbaf9ae1a gencode/java/udmi/schema/DiscoveryConfig.java -5b4508ce3ac0235c9ab97494aa0f2d2ccad88ebc83da28eca2c405fd906e84af gencode/java/udmi/schema/DiscoveryEvent.java -04112dd47b0f761131c276c67d3cd8b789d25e6716b5732be9fef14fc6831f1d gencode/java/udmi/schema/DiscoveryModel.java -0a11a539707571f79bd82b1958886cecae3209e2daef36dfca885adb4c61a07a gencode/java/udmi/schema/DiscoveryState.java +8a92ae5440b6beeb5965c836a36207bc0db0c8d5af4bc4d297c414703815db78 gencode/java/udmi/schema/DiscoveryConfig.java +b318d39cc2fbd62ec23bb2ade8741920f0b3014a1156bd407c6ff6d1dfc76a86 gencode/java/udmi/schema/DiscoveryEvent.java +ea90103e88db5d2413bfd2f87bf13dbb9024a8028504766af828e95ceec38b7e gencode/java/udmi/schema/DiscoveryModel.java +b632725290607273c7796d0b73ad8cead3a249217b1c158897c40acd224d7cda gencode/java/udmi/schema/DiscoveryState.java fe9eb9928e66f8f34863312778959f49f6a6f2b5f6fa4e647b68c21aa61f0521 gencode/java/udmi/schema/EndpointConfiguration.java dc25e685886e11a741418be9191a478e13c0244647b5a0cac65d6c1e55055578 gencode/java/udmi/schema/Entry.java -06758aca1e0043ddf343b504030f47bb19260e99a82e2d66f12e86092a2434ca gencode/java/udmi/schema/Enumerate.java +aa39553b6498bcc2876a525b24b7797c860a4d6deb5c3b4b48312383333d6270 gencode/java/udmi/schema/Enumerate.java 8a51984458d96d1798d067005902defa57410167a27dcfb0b730ea38a3326011 gencode/java/udmi/schema/Envelope.java -e9f5c77be81486b6b8c6d88f70f2d50583d8c3fafa2ac09ead80f44b8d5e751e gencode/java/udmi/schema/Event.java +c6cdc63b7044af906236f1ae545079dc07279adddd4d67ef98c595174a712e36 gencode/java/udmi/schema/Event.java 9ff3d1819b5a92713b26f56d08c77dcbb467c6ffc10f75744c6b6a227a13319b gencode/java/udmi/schema/ExecutionConfiguration.java +25815abe54d4671858f55bd5d911292bd50f122b80878064b014afcfcbd86ea7 gencode/java/udmi/schema/FamilyDiscovery.java 2e77a29988e6c17875d3f781be931e3b835bb310639f60d3bb28f24405a86bed gencode/java/udmi/schema/FamilyDiscoveryConfig.java -9643391d71c6bd206a4ec69ee7b46ba2bf061b85ccd0bc050046a84df85c8414 gencode/java/udmi/schema/FamilyDiscoveryEvent.java +5f50abca612a3ef122f76e07590ccd9f674698ebef63e4901d49a62a0382c957 gencode/java/udmi/schema/FamilyDiscoveryModel.java 5ad9bf328fa1500250ff8bc75f2044b3815c5c11cb368e1cc228ac8ca16639c2 gencode/java/udmi/schema/FamilyDiscoveryState.java -9959a84eea3e549c142c3edf637c86eb56eca138108ebd51fc2985e45aa41484 gencode/java/udmi/schema/FamilyDiscoveryTestingModel.java 09be38b6d52ea4150fecc3e97adc6793030fcf71da01df12ccb05dc4dd3dad9d gencode/java/udmi/schema/FamilyLocalnetModel.java a7ad0cf79a86a92c8d22b5ac3e609f321454ba4834065e24de208b1f6ebba447 gencode/java/udmi/schema/FamilyLocalnetState.java -d33fe8178d2a18cb588dd29edb0e5659af044634b02d7850623cbc057ccb8c6f gencode/java/udmi/schema/FeatureEnumeration.java +d0f9e9a2576b322c42b25ec656501797204ce4209cd4031b86c8e492e2131a22 gencode/java/udmi/schema/FeatureDiscovery.java d3fdb2d8b485c1e61786dfde45cc8be08294339bb31a1b8f02180485789a3ab2 gencode/java/udmi/schema/FeatureValidationState.java a4fac9e07e930eec7735f67d78eab1e72881987ecc0475c41ce46ae5a9bc5ea7 gencode/java/udmi/schema/GatewayConfig.java ce79df57185ee108f6a60efb49c2ea80f249e678d3ccd4d91e702b653571c21b gencode/java/udmi/schema/GatewayModel.java @@ -77,23 +78,23 @@ a5e5adfc187709e8646a11c92e804acfb67743f9d72149008aaca954df3177f6 gencode/java/u 910c68183db7703b00bcb81146ad73e6fe0d4bbc4caec4dc9c621f3cc2e5eee5 gencode/java/udmi/schema/LocalnetModel.java f6dd2fff0e100160f84a5d62c137c618ed616c82f8722a0530f5393bfc82e281 gencode/java/udmi/schema/LocalnetState.java 2df4ae32d0bbecc21f7c3f6a416a195baa766a6210cfa8abca4a7bb45b9c7961 gencode/java/udmi/schema/Location.java -0e5e87848de3dabaf6521afc3fa217f162cdbc76e2bc8796b57e2d07865a5107 gencode/java/udmi/schema/MappingCommand.java +7f71faa644ac86f3dcaf832d39a0deecfe443fc6a3bff912c0a66c09243c4cd9 gencode/java/udmi/schema/MappingCommand.java 0f6f85a4aaffb90735acc2565e8e4afa349d3ded5781cb1dce1ebbaa237feaa7 gencode/java/udmi/schema/MappingConfig.java 39f4cf5f89dc52f24ea02246e17668ebc85ed0fab351e69138e477bcc048d79c gencode/java/udmi/schema/MappingEvent.java -052b6b7f9ca8173901d9d2fae314f5858e034f20efa5d184780b800bd870cb2b gencode/java/udmi/schema/MappingEventEntity.java +2786ae25faad6bd0d9f20985e3576ffbe15c1b98c16033f7459a00df3573c44b gencode/java/udmi/schema/MappingEventEntity.java 84fc81b687d42c689b6b9794716e34bdfd06daf3ab3640a5cf47baf74c185cee gencode/java/udmi/schema/MappingState.java -6c766a915871d07a7559e1b21886f69f1be6cebdbdfa0a605a0c3b1ede71d9e9 gencode/java/udmi/schema/Metadata.java +1a8d432677de0d8803954eff42ae46d4cac7a9f1fe028332d84e66dfd3f7c60b gencode/java/udmi/schema/Metadata.java df64e4ddbf543ac70e7c2af9d3fbc20ffe3dff68c6718aa9ceadab7f64d3d171 gencode/java/udmi/schema/Metrics.java 14722df90406cdcd29c7c946e5fcdf6a3e513eb879a7fbb493801fc0d9093504 gencode/java/udmi/schema/Monitoring.java b3b7ef6cae004d5fdb4052f860df0aa583df87bb798a027fc769aeaf16489789 gencode/java/udmi/schema/MonitoringMetric.java 4e7fb33911cf11845d494a07502577647cb96e1196cb7b76553190d14b6ed099 gencode/java/udmi/schema/Operation.java 5e1c5411fae4d7c47391ceb5d19ae864fcd484df75ac6b6db39fd2d12647dec8 gencode/java/udmi/schema/Physical_tag.java afd4e8dcf55ac7fd91a00bc5348efb7dfe7950037a0eae9365a27d24c4f2f2e9 gencode/java/udmi/schema/PodConfiguration.java -d808259db6bbcd26ecf438844ce286d15d4750906be24588d97acfbe8a4ae315 gencode/java/udmi/schema/PointEnumerationEvent.java +a6c694f877c3898bf315f90898a1e60f7ff4605d0f58fad4d87f11883c5b4772 gencode/java/udmi/schema/PointDiscovery.java 468c2c95e9dcbaf4ff706fad7f168c14321eaa35b7fb190848ea8bfd86d981d7 gencode/java/udmi/schema/PointPointsetConfig.java 8f3fc1cdc2dcd3e524863f4675aebabc450a35f5fd1cdc3fd37289b5cab7f2ec gencode/java/udmi/schema/PointPointsetEvent.java 65337109653a93d873dae40eb517857149bae1b20c7b479f41b35c0822d94ba0 gencode/java/udmi/schema/PointPointsetModel.java -a77b840d671100245c7b68ef8b0130d1ea6375c6ed8a2e145b4208b5962bbc66 gencode/java/udmi/schema/PointPointsetState.java +eb4b94f5f0324e74e10efd6b8b9652e1d612531a6d77c941d7967672f99e90af gencode/java/udmi/schema/PointPointsetState.java 1ba0fbfeedddc1a4e39efdff85cf5905c91fb7a4b5ff7d87ed9359ee61f060cc gencode/java/udmi/schema/PointsetConfig.java 4d718196af20797b60e745e99a791e41b7bc15b4a9c2e6ab11083a75b233edec gencode/java/udmi/schema/PointsetEvent.java 715a12e646aa32a7d36f51f72914bd678afab9475ef0791eed6d427f254c8175 gencode/java/udmi/schema/PointsetModel.java @@ -103,8 +104,9 @@ ca2e7566106818ca7e5190c8041eb86f0c9b3251b0bda8c3ea7ce11a0c891a0a gencode/java/u 3df66bb1a37a9e0b2b6cf392f8c64d404a73c83e5e13c02bb4844f09b9a04b70 gencode/java/udmi/schema/Properties.java d5e11dc354995681b894bcb62e4e21da7f0be68aaa3643a3dc5aa13610741f29 gencode/java/udmi/schema/PubberConfiguration.java 8e0490eed4499749b422ffde98a9588a597e8860b74dedae979abdb22f94c38a gencode/java/udmi/schema/PubberOptions.java -703ed0cecb60f284b52e76dc4d612eb798ba3e8781cc40698a46611b36e6b0c9 gencode/java/udmi/schema/SchemaValidationState.java -dc7c549b3358f9b2ceccc8633af3d0fca7eed7c05c94c3396815363b889b4c16 gencode/java/udmi/schema/SequenceValidationState.java +eebd8dcf8a37b85fc5c3c8c0f4d164f6b58fd7822cba595d9a2f31c228144300 gencode/java/udmi/schema/RegistryDiscovery.java +01df260ecaa5c396045931756ff02f8ec65321908bd08b25cecd7d6086825fef gencode/java/udmi/schema/SchemaValidationState.java +77067279077ed48dddfd53f930ba37567b5bc2555e1a4a7808eeba82d211584f gencode/java/udmi/schema/SequenceValidationState.java 9da49b22341a65580d085fd9d00eaadcaefcf7b813988ef844c617aa4b8a9a4f gencode/java/udmi/schema/SetupUdmiConfig.java e79f3842470cc1f12b1d0a9d6691b147aeb4d6bf29e24872721133352aed1cc9 gencode/java/udmi/schema/SetupUdmiState.java d67a313587648034d5423dc7ea0c6d6a46149a33086a4deec79ee3eb3af65410 gencode/java/udmi/schema/State.java @@ -125,7 +127,7 @@ e657fce78cbce01fa4747f1da62dc0442b20ec2d1c196b6e56f3dd465c078ad4 gencode/java/u d54631f8bada01ffecf34361891ee52d41786b1289ce56a9edb696b6ad2d3ace gencode/java/udmi/schema/ValidationState.java e007ddd1ceeae3603c85110c33e1bb4a418ff9c7a791ca0df25b7ea3caeafd36 gencode/java/udmi/schema/ValidationSummary.java b77d953fd22e655c0f10ae32deeaa222769d971f8c38b3379eba45720fb910cc gencode/java/udmi/schema/VirtualEquipmentLinks.java -16db8b6457e9e4a568996fd6b512ffa0344b51469c7f24c2b473411caeeef462 gencode/python/udmi/schema/__init__.py +4b52985a410c660e6f0fbf41b82b8d96b52e14101c495aad539788ea5945849a gencode/python/udmi/schema/__init__.py 21a1521cef58f195ef6c44f2b63b820bf981408806f58d3370eeeea07cc5436c gencode/python/udmi/schema/access_iot.py 4b25dd95f863059b761269f93adcae7049507924a1c6e74d6856849203c179db gencode/python/udmi/schema/ancillary_properties.py dab4f5fca272ec48c2881bca2b6bc43786ada47fa1f6dd935c35f7ce0eb6b0f6 gencode/python/udmi/schema/building_translation.py @@ -136,7 +138,7 @@ dab4f5fca272ec48c2881bca2b6bc43786ada47fa1f6dd935c35f7ce0eb6b0f6 gencode/python 53961cd8a6ddd118143457ca60d765e12b21bcdf98fc2d648ebac0172ffca880 gencode/python/udmi/schema/config.py 79eb0299b3751d93c01a5de65eacc717283e99caf0996f3db48a15247f69c8eb gencode/python/udmi/schema/config_blobset.py 59039eaf2812392329c641ad387f7e27790cf804fc94a014626d2da5ab426e3d gencode/python/udmi/schema/config_blobset_blob.py -7a6411ba2646881ffad5b6ad472c980e48a11b36ab2c9c77d12608ccc7225594 gencode/python/udmi/schema/config_discovery.py +dd518169acd87b7c290fc5dae35780ffd86da41b9222550ae85336db47f518e5 gencode/python/udmi/schema/config_discovery.py a5edb9ac5ecd5a4459f93ce613691735f299f35718f2e35410206fc91c263dd1 gencode/python/udmi/schema/config_discovery_family.py 428c11f554390cf6f564a8195607458dec4fb9349b82259a4ca333d9a9b7aa7e gencode/python/udmi/schema/config_gateway.py 8b321b699019dda888783b87655546d6624814fd156c54ed572c0467b5547fca gencode/python/udmi/schema/config_localnet.py @@ -153,14 +155,16 @@ afc89a204d7099791303cf9231b19cc6ba320d1de95a921381f5e47bbafac842 gencode/python c61ee66daa7e632850bc2705370baa8c057e7a34792c6a29b9e4ca00c0eb195b gencode/python/udmi/schema/configuration_pod_base.py ef61eea743cc2629893b18411636672cdfec0e209e58eb7918b33b43edab5196 gencode/python/udmi/schema/configuration_pod_bridge.py bed77c13436a192047a0dcdcaea7c5d7175e99a76c6c40409cce9e232ab5bc12 gencode/python/udmi/schema/configuration_pubber.py +23aec441e0761f9067030fa1a757c3921c4dd2906758b9e1f00b67b903be7be4 gencode/python/udmi/schema/discovery_device.py +80fc56594a2a0696d325e5e2ac1b4e3058c1533267e87181177356c9b99e7085 gencode/python/udmi/schema/discovery_family.py +eebb10ed73e4046ee2c5a271219b9547751835a15069968790ab44580a7225f7 gencode/python/udmi/schema/discovery_feature.py +bd132b930f41bbcfbb4726627d14361d4a73ecc3b44782b62c7940774a8095b7 gencode/python/udmi/schema/discovery_point.py +7ad6dc56aaa013f76186a64841db082e3e72fd7dea535fed794c4ee9bcf83dba gencode/python/udmi/schema/discovery_registry.py fbb4b2c04c170c0da5cdd868612429fe920e44b591fcad2522b2e047d580d537 gencode/python/udmi/schema/entry.py -fcc75eec4263b11b378e30f929687cfb9619c8dfc524863b6bfb11b7e33be241 gencode/python/udmi/schema/enumeration_feature.py 5b9982e15ff770bc5af75b7891285aec956e873c9a855a29ea2122314a2b76c0 gencode/python/udmi/schema/envelope.py ed8ace0196c5e99d20778cb4210aa88cfe44a5e4539af98a1e194b9a71fa538e gencode/python/udmi/schema/equipment_translation.py 1eb9019b9d0b4ff7de2df8beb625a4f89292d636ece0c02f160495c537bd6c2c gencode/python/udmi/schema/event.py -f11a6ef09e9fcfe20cdec446037ee89a7f182e83a6016073ec5180ae802bc26d gencode/python/udmi/schema/event_discovery.py -4f63fe1ce9493a5dcaf2c2bad84b5c279e54eb4de17b26a79a21dc17563c1f02 gencode/python/udmi/schema/event_discovery_family.py -e285b2af68d9cc1f019642f763ae62c35a482e652c1def8715bae5a487af4153 gencode/python/udmi/schema/event_discovery_point.py +887f21dcc3a36fe8f3dd4cbd0cece1f28dfa33c6230fc6d6e9f888b3015ed263 gencode/python/udmi/schema/event_discovery.py dd30f748b5321223933c272d58f5fa6dc319912737255170322f0df3244732a7 gencode/python/udmi/schema/event_mapping.py 6163270aa726ef29bc9285d224ec5c2611aab5d19f6ed09d711e6c816fc7e467 gencode/python/udmi/schema/event_mapping_entities.py 3652a73a7df2d9df18a45b72d948c38a84a61e008d7543d006dad1832640c54f gencode/python/udmi/schema/event_mapping_entity.py @@ -169,10 +173,10 @@ dd30f748b5321223933c272d58f5fa6dc319912737255170322f0df3244732a7 gencode/python 7d520df05f839ed4a7472c395c77cf1d2cbf47e3162e87e43ed5c9ae9e979af6 gencode/python/udmi/schema/event_system.py 4361f48caba6a948a5916f67c8168215721cb3cc2384649f0336804785f01f1d gencode/python/udmi/schema/event_validation.py 633c85b0999d969310918bb03e9a40a08960f420b862340045a0290f8f5c4fe5 gencode/python/udmi/schema/event_validation_device.py -02e464aec10ae7f8cf10045f6107e069de4b852a24cd8fae6a4290a01c0d2ac8 gencode/python/udmi/schema/metadata.py +0936dcf3fdd01ef7e7a4d9938dae46acc109e3894acdbe0f4fb700bdbae78405 gencode/python/udmi/schema/metadata.py 8324124d37edc203800ec722b6eb2d4b3baef836bd4bd72c221b499b8a4bd125 gencode/python/udmi/schema/model_cloud.py -805cc8dcb29732d1965bbd533b12d2bc4966d584f05b8a478dd2cac98fd99d52 gencode/python/udmi/schema/model_discovery.py -44d057dffcac3a994e7b894f8e1ebb643ba49d7dbfbb0bfea9cc04f97af0bc47 gencode/python/udmi/schema/model_discovery_family.py +387e3f68dad9ddd6211a4e10d25c35026a4c0083b606819fdb4e338be9e135ca gencode/python/udmi/schema/model_discovery.py +cead43bbefcc2d957bf8316560edf849d74df9270f9473d87c2a3bdf61f08332 gencode/python/udmi/schema/model_discovery_family.py bef91798566798ec70b2fe10ae52c909090de9095b92e2567da3cbdcec29cd2c gencode/python/udmi/schema/model_features.py 72d17ba53c9d537720bb0ddf24d615b838fc2b9bb2a5c288742a8d82c77bd85d gencode/python/udmi/schema/model_gateway.py ae6a7bc93b520cdc90cd158f876a58e98a3e000402ebb1ca632f01ee492d408a gencode/python/udmi/schema/model_localnet.py diff --git a/docs/specs/sequences/generated.md b/docs/specs/sequences/generated.md index 8db7c43735..20ba1afa74 100644 --- a/docs/specs/sequences/generated.md +++ b/docs/specs/sequences/generated.md @@ -49,10 +49,9 @@ Some caveats: * [gateway_attach_handling](#gateway_attach_handling-preview): Check adequate logging for gateway detach, errors, and reattach * [gateway_proxy_events](#gateway_proxy_events-beta): Check that a gateway proxies pointset events for indicated devices * [pointset_publish](#pointset_publish-beta): Check that a device publishes pointset events -* [pointset_publish_interval](#pointset_publish_interval-beta): Check handling of sample rate and sample limit sec +* [pointset_publish_interval](#pointset_publish_interval-beta): Check handling of sample_rate_sec and sample_limit_sec * [pointset_remove_point](#pointset_remove_point-beta): Check that pointset state does not report an unconfigured point * [pointset_request_extraneous](#pointset_request_extraneous-beta): Check error when pointset configuration contains extraneous point -* [pointset_sample_rate](#pointset_sample_rate-beta): Check that a device publishes pointset events not faster than config sample_rate_sec * [state_make_model](#state_make_model-beta): Check that a device publishes correct make and model information in state messages * [state_software](#state_software-beta): Check that a device publishes correct software information in state messages * [system_last_update](#system_last_update-stable): Check that last_update state is correctly set in response to a config update. @@ -308,7 +307,7 @@ Check that a device publishes pointset events ## pointset_publish_interval (BETA) -Check handling of sample rate and sample limit sec +Check handling of sample_rate_sec and sample_limit_sec 1. Update config before receive at least 4 pointset events: * Add `pointset.sample_rate_sec` = `8` @@ -355,17 +354,6 @@ Check error when pointset configuration contains extraneous point 1. Wait for pointset state reports same points as defined in config 1. Wait for pointset event contains correct points with present_value -## pointset_sample_rate (BETA) - -Check that a device publishes pointset events not faster than config sample_rate_sec - -1. Wait for measure initial sample rate -1. Update config before receive at least 5 pointset events: - * Add `pointset.sample_rate_sec` = `5` - * Add `pointset.sample_limit_sec` = `1` -1. Wait for receive at least 5 pointset events -1. Check that time period between successive pointset events is between 1 and 5 seconds - ## state_make_model (BETA) Check that a device publishes correct make and model information in state messages diff --git a/etc/schema_itemized.out b/etc/schema_itemized.out index 4e45a1b671..9ca3cbdf7f 100644 --- a/etc/schema_itemized.out +++ b/etc/schema_itemized.out @@ -9,7 +9,7 @@ 07 valid_serial_no RESULT pass schemas state_update_beta BETA 5/5 Schema validation passed 08 writeback_success 09 writeback_success -10 pointset_sample_rate +10 pointset_publish_interval 11 system_mode_restart 12 config_logging 13 broken_config diff --git a/etc/sequencer.out b/etc/sequencer.out index 914fcd279a..81bfc81217 100644 --- a/etc/sequencer.out +++ b/etc/sequencer.out @@ -19,7 +19,6 @@ RESULT pass pointset pointset_publish BETA 5/5 Sequence complete RESULT pass pointset pointset_publish_interval BETA 5/5 Sequence complete RESULT pass pointset pointset_remove_point BETA 5/5 Sequence complete RESULT pass pointset pointset_request_extraneous BETA 5/5 Sequence complete -RESULT pass pointset pointset_sample_rate BETA 5/5 Sequence complete RESULT pass system broken_config BETA 5/5 Sequence complete CPBLTY pass system broken_config.logging ALPHA 1/1 Capability functional RESULT pass system config_logging BETA 5/5 Sequence complete diff --git a/etc/sequencer_nostate.out b/etc/sequencer_nostate.out index 4e967f01f6..cf135961d4 100644 --- a/etc/sequencer_nostate.out +++ b/etc/sequencer_nostate.out @@ -12,7 +12,6 @@ RESULT pass pointset pointset_publish BETA 5/5 Sequence complete RESULT pass pointset pointset_publish_interval BETA 5/5 Sequence complete RESULT skip pointset pointset_remove_point BETA 0/0 State testing disabled RESULT skip pointset pointset_request_extraneous BETA 0/0 State testing disabled -RESULT skip pointset pointset_sample_rate BETA 0/0 State testing disabled RESULT skip system broken_config BETA 0/1 State testing disabled CPBLTY skip system broken_config.logging ALPHA 0/1 Never executed RESULT skip system config_logging BETA 0/0 State testing disabled diff --git a/etc/test_itemized.in b/etc/test_itemized.in index a45b5d4cec..e9960f6c8e 100644 --- a/etc/test_itemized.in +++ b/etc/test_itemized.in @@ -7,7 +7,7 @@ TEST feature_enumeration featureEnableSwap TEST valid_serial_no noLastStart TEST writeback_success noWriteback TEST writeback_success noPointState -TEST pointset_sample_rate fixedSampleRate=10 +TEST pointset_publish_interval fixedSampleRate=10 TEST system_mode_restart noPersist TEST config_logging badVersion TEST broken_config barfConfig diff --git a/etc/test_itemized.out b/etc/test_itemized.out index 62b4ec835d..130ed82b36 100644 --- a/etc/test_itemized.out +++ b/etc/test_itemized.out @@ -7,7 +7,7 @@ 07 RESULT pass system valid_serial_no BETA 5/5 Sequence complete 08 RESULT fail writeback writeback_success ALPHA 0/5 Timeout waiting for point filter_differential_pressure_setpoint to have value_state applied 09 RESULT fail writeback writeback_success ALPHA 0/5 Timeout waiting for point filter_differential_pressure_setpoint to have value_state applied -10 RESULT fail pointset pointset_sample_rate BETA 0/5 Failed check that time period between successive pointset events is between 1 and 5 seconds +10 RESULT fail pointset pointset_publish_interval BETA 0/5 Failed check that time period between successive pointset events is between 5 and 8 seconds 11 RESULT fail system.mode system_mode_restart ALPHA 0/5 Failed check that restart count increased by one 12 RESULT fail system config_logging BETA 0/5 Bad version string number format 13 CPBLTY pass system broken_config.logging ALPHA 1/1 Capability functional diff --git a/gencode/docs/command_mapping.html b/gencode/docs/command_mapping.html index 6e2a81c526..181aa54eab 100644 --- a/gencode/docs/command_mapping.html +++ b/gencode/docs/command_mapping.html @@ -2112,7 +2112,7 @@

/> translationType: object
-

Discovery result with implicit enumeration

+

Discovery result with implicit results

No Additional Properties diff --git a/gencode/docs/config.html b/gencode/docs/config.html index cb8119fecc..e033c9cda2 100644 --- a/gencode/docs/config.html +++ b/gencode/docs/config.html @@ -902,7 +902,8 @@

/> enumerateType: object
- No Additional Properties +

Indicates which discovery sub-categories to activate

+
No Additional Properties @@ -956,18 +957,65 @@

-
+
+
+
+

+ +

+
+ +
+
+ + Type: boolean
+ + + + + + + +
+
+
+
+
-
+

- +

-
+
Type: boolean
+ points
Type: boolean
@@ -1083,7 +1131,7 @@

/> families

Type: object
-

Address family config for a scan. Not included for device enumeration messages.

+

Address family config for a scan.

No Additional Properties diff --git a/gencode/docs/event.html b/gencode/docs/event.html index 73138d23df..8038bc3096 100644 --- a/gencode/docs/event.html +++ b/gencode/docs/event.html @@ -3491,7 +3491,7 @@

/> discovery

Type: object
-

Discovery result with implicit enumeration

+

Discovery result with implicit discovery

No Additional Properties @@ -5965,7 +5965,7 @@

/> families

Type: object
-

Address family discovery results.

+

Address family discovery discovery results.

No Additional Properties @@ -6013,8 +6013,8 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - event_discovery_family.json

Type: object
-

Discovery information for an individual protocol family.

+ discovery_family.json
Type: object
+

Discovery information for a protocol family.

No Additional Properties @@ -6059,7 +6059,7 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - Family Discovery Event + Family Discovery

-
+
-
+

- +

-
+
Type: object
-

Collection of unique data points available for this device.

+ registries
Type: object
+

Registry discovery results.

No Additional Properties @@ -6124,18 +6124,328 @@

-
+
-
+

- +

-
+
+

+ +

+

All property whose name matches the following regular expression must respect the following conditions

+ Property name regular expression: ^[A-Z]{2,6}-[1-9][0-9]*$ +
+ + Type: object
+

Information about an individual registry.

+
+ + No Additional Properties + + + + + + +
+
+
+

+ +

+
+ +
+
+ + Type: string
+

Timestamp of when a message was last seen for this registry

+
+ + + + + +
+
Example:
+
"2019-01-17T14:02:29.364Z"
+
+
+
+
+
+
+
+
+
+

+ +

+
+ +
+
+ + Type: string
+

Last update of the registry information

+
+ + + + + +
+
Example:
+
"2019-01-17T14:02:29.364Z"
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+

+ +

+
+ +
+
+ + Type: object
+

Device discovery scan results.

+
No Additional Properties + + + + + + +
+
+
+

+ +

+
+ +
+

+ +

+

All property whose name matches the following regular expression must respect the following conditions

+ Property name regular expression: ^[A-Z]{2,6}-[1-9][0-9]*$ +
+ + Type: object
+

Information about an individual device scan result.

+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+

+ +

+
+ +
+
+ + Type: object
+

Collection of data points available for this device.

+
No Additional Properties + + + + + + +
+
+
+

+ +

+
+ +

@@ -6157,15 +6467,15 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - uniqs + points - event_discovery_point.json#

Type: object
-

Object representation for for a single point enumeration

+ discovery_point.json#
Type: object
+

Object representation for for a single point discovery

No Additional Properties @@ -6175,18 +6485,18 @@

-
+
-
+

- +

-
+
Type: string
+ name
Type: string

Friendly name for the point, if known

@@ -6230,18 +6540,18 @@

-
+
-
+

- +

-
+
Type: array of string
+ possible_values
Type: array of string

List of possible enumerated values for the point

@@ -6282,7 +6592,7 @@

Each item of this array must be:

-
+
Type: string
+ possible_values items
Type: string
@@ -6334,18 +6644,18 @@

Each item of this array must be:

-
+
-
+

- +

-
+
Type: string
+ units
Type: string

Current or default unit for this point

@@ -6389,18 +6699,18 @@

-
+
-
+

- +

-
+
Type: string
+ type
Type: string

Current or default type for this point

@@ -6444,18 +6754,18 @@

-
+
-
+

- +

-
+
Type: string
+ ref
Type: string

Reference parameter for this point (e.g. BACnet object)

@@ -6499,18 +6809,18 @@

-
+
-
+

- +

-
+
Type: boolean
+ writable
Type: boolean

Indicates if this point is writable or not

@@ -6554,18 +6864,18 @@

-
+
-
+

- +

-
+
Type: string
+ description
Type: string

Human-readable description of this point

@@ -6609,18 +6919,18 @@

-
+
-
+

- +

-
+
Type: object
+ status
Type: object
No Additional Properties @@ -6661,18 +6971,18 @@

-
+
-
+

- +

-
+
Type: string
+ message
Type: string

A human-readable one-line description of the entry

@@ -6720,25 +7030,25 @@


Example:
-
"Point is not writable"
+
"Point is not writable"
 

-
+
-
+

- +

-
+
Type: string
+ detail
Type: string

An optional extensive entry which can include more detail, e.g. a complete program stack-trace

@@ -6789,18 +7099,18 @@

-
+
-
+

- +

-
+
Type: string
+ category
Type: string
-

+

-

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i0" role="tabpanel"> Type: object
-Must match regular expression: ^system\.base\.start$ + item 0
Type: object
+Must match regular expression: ^system\.base\.start$ @@ -7091,7 +7401,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i1" role="tabpanel"> Type: object
-Must match regular expression: ^system\.base\.shutdown$ + item 1
Type: object
+Must match regular expression: ^system\.base\.shutdown$ @@ -7152,7 +7462,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i2" role="tabpanel"> Type: object
-Must match regular expression: ^system\.base\.ready$ + item 2
Type: object
+Must match regular expression: ^system\.base\.ready$ @@ -7213,7 +7523,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i3" role="tabpanel"> Type: object
-Must match regular expression: ^system\.config\.receive$ + item 3
Type: object
+Must match regular expression: ^system\.config\.receive$ @@ -7274,7 +7584,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i4" role="tabpanel"> Type: object
-Must match regular expression: ^system\.config\.parse$ + item 4
Type: object
+Must match regular expression: ^system\.config\.parse$ @@ -7335,7 +7645,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i5" role="tabpanel"> Type: object
-Must match regular expression: ^system\.config\.apply$ + item 5
Type: object
+Must match regular expression: ^system\.config\.apply$ @@ -7396,7 +7706,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i6" role="tabpanel"> Type: object
-Must match regular expression: ^system\.auth\.login$ + item 6
Type: object
+Must match regular expression: ^system\.auth\.login$ @@ -7457,7 +7767,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i7" role="tabpanel"> Type: object
-Must match regular expression: ^system\.auth\.logout$ + item 7
Type: object
+Must match regular expression: ^system\.auth\.logout$ @@ -7518,7 +7828,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i8" role="tabpanel"> Type: object
-Must match regular expression: ^system\.auth\.fail$ + item 8
Type: object
+Must match regular expression: ^system\.auth\.fail$ @@ -7579,7 +7889,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i9" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.nominal$ + item 9
Type: object
+Must match regular expression: ^pointset\.point\.nominal$ @@ -7640,7 +7950,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i10" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.applied$ + item 10
Type: object
+Must match regular expression: ^pointset\.point\.applied$ @@ -7701,7 +8011,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i11" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.updating$ + item 11
Type: object
+Must match regular expression: ^pointset\.point\.updating$ @@ -7762,7 +8072,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i12" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.overridden$ + item 12
Type: object
+Must match regular expression: ^pointset\.point\.overridden$ @@ -7823,7 +8133,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i13" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.failure$ + item 13
Type: object
+Must match regular expression: ^pointset\.point\.failure$ @@ -7884,7 +8194,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i14" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.invalid$ + item 14
Type: object
+Must match regular expression: ^pointset\.point\.invalid$ @@ -7945,7 +8255,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i15" role="tabpanel"> Type: object
-Must match regular expression: ^localnet\.network$ + item 15
Type: object
+Must match regular expression: ^localnet\.network$ @@ -8006,7 +8316,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i16" role="tabpanel"> Type: object
-Must match regular expression: ^localnet\.network\.connect$ + item 16
Type: object
+Must match regular expression: ^localnet\.network\.connect$ @@ -8067,7 +8377,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i17" role="tabpanel"> Type: object
-Must match regular expression: ^gateway\.setup\.attach$ + item 17
Type: object
+Must match regular expression: ^gateway\.setup\.attach$ @@ -8128,7 +8438,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i18" role="tabpanel"> Type: object
-Must match regular expression: ^gateway\.proxy\.target$ + item 18
Type: object
+Must match regular expression: ^gateway\.proxy\.target$ @@ -8189,7 +8499,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i19" role="tabpanel"> Type: object
-Must match regular expression: ^gateway\.proxy\.connect$ + item 19
Type: object
+Must match regular expression: ^gateway\.proxy\.connect$ @@ -8250,7 +8560,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i20" role="tabpanel"> Type: object
-Must match regular expression: ^discovery\.family\.scan$ + item 20
Type: object
+Must match regular expression: ^discovery\.family\.scan$ @@ -8311,7 +8621,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i21" role="tabpanel"> Type: object
-Must match regular expression: ^discovery\.device\.enumerate$ + item 21
Type: object
+Must match regular expression: ^discovery\.device\.enumerate$ @@ -8372,7 +8682,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i22" role="tabpanel"> Type: object
-Must match regular expression: ^discovery\.point\.describe$ + item 22
Type: object
+Must match regular expression: ^discovery\.point\.describe$ @@ -8433,7 +8743,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i23" role="tabpanel"> Type: object
-Must match regular expression: ^mapping\.device\.apply$ + item 23
Type: object
+Must match regular expression: ^mapping\.device\.apply$ @@ -8494,7 +8804,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i24" role="tabpanel"> Type: object
-Must match regular expression: ^blobset\.blob\.receive$ + item 24
Type: object
+Must match regular expression: ^blobset\.blob\.receive$ @@ -8555,7 +8865,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i25" role="tabpanel"> Type: object
-Must match regular expression: ^blobset\.blob\.fetch$ + item 25
Type: object
+Must match regular expression: ^blobset\.blob\.fetch$ @@ -8616,7 +8926,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i26" role="tabpanel"> Type: object
-Must match regular expression: ^blobset\.blob\.apply$ + item 26
Type: object
+Must match regular expression: ^blobset\.blob\.apply$ @@ -8677,7 +8987,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i27" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.receive$ + item 27
Type: object
+Must match regular expression: ^validation\.device\.receive$ @@ -8738,7 +9048,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i28" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.schema$ + item 28
Type: object
+Must match regular expression: ^validation\.device\.schema$ @@ -8799,7 +9109,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i29" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.content$ + item 29
Type: object
+Must match regular expression: ^validation\.device\.content$ @@ -8860,7 +9170,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i30" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.multiple$ + item 30
Type: object
+Must match regular expression: ^validation\.device\.multiple$ @@ -8921,7 +9231,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i31" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.extra$ + item 31
Type: object
+Must match regular expression: ^validation\.device\.extra$ @@ -8982,7 +9292,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i32" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.summary\.report$ + item 32
Type: object
+Must match regular expression: ^validation\.summary\.report$ @@ -9043,7 +9353,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i33" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.feature\.sequence$ + item 33
Type: object
+Must match regular expression: ^validation\.feature\.sequence$ @@ -9104,7 +9414,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i34" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.feature\.schema$ + item 34
Type: object
+Must match regular expression: ^validation\.feature\.schema$ @@ -9165,7 +9475,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i35" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.feature\.capability$ + item 35
Type: object
+Must match regular expression: ^validation\.feature\.capability$ @@ -9226,7 +9536,7 @@

+ id="tab-pane_discovery_points_pattern1_status_category_oneOf_i36" role="tabpanel"> Type: object
-Must match regular expression: ^device(\.[a-z]+((_[a-z]+))*)+$ + item 36
Type: object
+Must match regular expression: ^device(\.[a-z]+((_[a-z]+))*)+$ @@ -9297,18 +9607,18 @@

-
+
-
+

- +

-
+
Type: string
+ timestamp
Type: string

FC 3339 UTC timestamp the condition was triggered, or most recently updated

@@ -9356,25 +9666,25 @@


Example:
-
"2018-08-26T21:39:28.364Z"
+
"2018-08-26T21:39:28.364Z"
 

-
+
-
+

- +

-
+
Type: integer
+ level
Type: integer

The status level should conform to the numerical Stackdriver LogEntry levels. The DEFAULT value of 0 is not allowed (lowest value is 100, maximum 800).

-

Value must be greater or equal to 100 and lesser or equal to 800 and a multiple of 1

+

Value must be greater or equal to 100 and lesser or equal to 800 and a multiple of 1


Example:
-
600
+
600
 
@@ -9433,18 +9743,18 @@

-
+
-
+

- +

-
+
Type: object
+ ancillary
Type: object

Arbitrary blob of json associated with this point

@@ -9527,7 +9837,7 @@

/> features

Type: object
-

Enumeration of features supported by this device.

+

Discovery of features supported by this device.

No Additional Properties @@ -9575,8 +9885,8 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - enumeration_feature.json

Type: object
-

Object representation for for a single feature enumeration

+ discovery_feature.json
Type: object
+

Object representation for for a single feature

No Additional Properties @@ -9621,7 +9931,7 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - Feature Enumeration + Feature Discovery Type: object
-

Discovery result with implicit enumeration

+

Discovery result with implicit discovery

No Additional Properties @@ -2150,7 +2150,7 @@

/> families

Type: object
-

Address family discovery results.

+

Address family discovery discovery results.

No Additional Properties @@ -2191,8 +2191,8 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - event_discovery_family.json

Type: object
-

Discovery information for an individual protocol family.

+ discovery_family.json
Type: object
+

Discovery information for a protocol family.

No Additional Properties @@ -2230,7 +2230,7 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - Family Discovery Event + Family Discovery

-
+
-
+

- +

-
+
Type: object
-

Collection of unique data points available for this device.

+ registries
Type: object
+

Registry discovery results.

No Additional Properties @@ -2288,18 +2288,286 @@

-
+
-
+

- +

-
+
+

+ +

+

All property whose name matches the following regular expression must respect the following conditions

+ Property name regular expression: ^[A-Z]{2,6}-[1-9][0-9]*$ +
+ + Type: object
+

Information about an individual registry.

+
+ + No Additional Properties + + + + + + +
+
+
+

+ +

+
+ +
+
+ + Type: string
+

Timestamp of when a message was last seen for this registry

+
+ + + + + +
+
Example:
+
"2019-01-17T14:02:29.364Z"
+
+
+
+
+
+
+
+
+
+

+ +

+
+ +
+
+ + Type: string
+

Last update of the registry information

+
+ + + + + +
+
Example:
+
"2019-01-17T14:02:29.364Z"
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+

+ +

+
+ +
+
+ + Type: object
+

Device discovery scan results.

+
No Additional Properties + + + + + + +
+
+
+

+ +

+
+ +
+

+ +

+

All property whose name matches the following regular expression must respect the following conditions

+ Property name regular expression: ^[A-Z]{2,6}-[1-9][0-9]*$ +
+ + Type: object
+

Information about an individual device scan result.

+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+

+ +

+
+ +
+
+ + Type: object
+

Collection of data points available for this device.

+
No Additional Properties + + + + + + +
+
+
+

+ +

+
+ +

@@ -2314,15 +2582,15 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - uniqs + points - event_discovery_point.json#

Type: object
-

Object representation for for a single point enumeration

+ discovery_point.json#
Type: object
+

Object representation for for a single point discovery

No Additional Properties @@ -2332,18 +2600,18 @@

-
+
-
+

- +

-
+
Type: string
+ name
Type: string

Friendly name for the point, if known

@@ -2380,18 +2648,18 @@

-
+
-
+

- +

-
+
Type: array of string
+ possible_values
Type: array of string

List of possible enumerated values for the point

@@ -2425,7 +2693,7 @@

Each item of this array must be:

-
+
Type: string
+ possible_values items
Type: string
@@ -2470,18 +2738,18 @@

Each item of this array must be:

-
+
-
+

- +

-
+
Type: string
+ units
Type: string

Current or default unit for this point

@@ -2518,18 +2786,18 @@

-
+
-
+

- +

-
+
Type: string
+ type
Type: string

Current or default type for this point

@@ -2566,18 +2834,18 @@

-
+
-
+

- +

-
+
Type: string
+ ref
Type: string

Reference parameter for this point (e.g. BACnet object)

@@ -2614,18 +2882,18 @@

-
+
-
+

- +

-
+
Type: boolean
+ writable
Type: boolean

Indicates if this point is writable or not

@@ -2662,18 +2930,18 @@

-
+
-
+

- +

-
+
Type: string
+ description
Type: string

Human-readable description of this point

@@ -2710,18 +2978,18 @@

-
+
-
+

- +

-
+
Type: object
+ status
Type: object
No Additional Properties @@ -2755,18 +3023,18 @@

-
+
-
+

- +

-
+
Type: string
+ message
Type: string

A human-readable one-line description of the entry

@@ -2807,25 +3075,25 @@


Example:
-
"Point is not writable"
+
"Point is not writable"
 

-
+
-
+

- +

-
+
Type: string
+ detail
Type: string

An optional extensive entry which can include more detail, e.g. a complete program stack-trace

@@ -2869,18 +3137,18 @@

-
+
-
+

- +

-
+
Type: string
+ category
Type: string
-

+

-

+ id="tab-pane_points_pattern1_status_category_oneOf_i0" role="tabpanel"> Type: object
-Must match regular expression: ^system\.base\.start$ + item 0
Type: object
+Must match regular expression: ^system\.base\.start$ @@ -3157,7 +3425,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i1" role="tabpanel"> Type: object
-Must match regular expression: ^system\.base\.shutdown$ + item 1
Type: object
+Must match regular expression: ^system\.base\.shutdown$ @@ -3211,7 +3479,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i2" role="tabpanel"> Type: object
-Must match regular expression: ^system\.base\.ready$ + item 2
Type: object
+Must match regular expression: ^system\.base\.ready$ @@ -3265,7 +3533,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i3" role="tabpanel"> Type: object
-Must match regular expression: ^system\.config\.receive$ + item 3
Type: object
+Must match regular expression: ^system\.config\.receive$ @@ -3319,7 +3587,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i4" role="tabpanel"> Type: object
-Must match regular expression: ^system\.config\.parse$ + item 4
Type: object
+Must match regular expression: ^system\.config\.parse$ @@ -3373,7 +3641,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i5" role="tabpanel"> Type: object
-Must match regular expression: ^system\.config\.apply$ + item 5
Type: object
+Must match regular expression: ^system\.config\.apply$ @@ -3427,7 +3695,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i6" role="tabpanel"> Type: object
-Must match regular expression: ^system\.auth\.login$ + item 6
Type: object
+Must match regular expression: ^system\.auth\.login$ @@ -3481,7 +3749,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i7" role="tabpanel"> Type: object
-Must match regular expression: ^system\.auth\.logout$ + item 7
Type: object
+Must match regular expression: ^system\.auth\.logout$ @@ -3535,7 +3803,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i8" role="tabpanel"> Type: object
-Must match regular expression: ^system\.auth\.fail$ + item 8
Type: object
+Must match regular expression: ^system\.auth\.fail$ @@ -3589,7 +3857,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i9" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.nominal$ + item 9
Type: object
+Must match regular expression: ^pointset\.point\.nominal$ @@ -3643,7 +3911,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i10" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.applied$ + item 10
Type: object
+Must match regular expression: ^pointset\.point\.applied$ @@ -3697,7 +3965,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i11" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.updating$ + item 11
Type: object
+Must match regular expression: ^pointset\.point\.updating$ @@ -3751,7 +4019,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i12" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.overridden$ + item 12
Type: object
+Must match regular expression: ^pointset\.point\.overridden$ @@ -3805,7 +4073,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i13" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.failure$ + item 13
Type: object
+Must match regular expression: ^pointset\.point\.failure$ @@ -3859,7 +4127,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i14" role="tabpanel"> Type: object
-Must match regular expression: ^pointset\.point\.invalid$ + item 14
Type: object
+Must match regular expression: ^pointset\.point\.invalid$ @@ -3913,7 +4181,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i15" role="tabpanel"> Type: object
-Must match regular expression: ^localnet\.network$ + item 15
Type: object
+Must match regular expression: ^localnet\.network$ @@ -3967,7 +4235,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i16" role="tabpanel"> Type: object
-Must match regular expression: ^localnet\.network\.connect$ + item 16
Type: object
+Must match regular expression: ^localnet\.network\.connect$ @@ -4021,7 +4289,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i17" role="tabpanel"> Type: object
-Must match regular expression: ^gateway\.setup\.attach$ + item 17
Type: object
+Must match regular expression: ^gateway\.setup\.attach$ @@ -4075,7 +4343,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i18" role="tabpanel"> Type: object
-Must match regular expression: ^gateway\.proxy\.target$ + item 18
Type: object
+Must match regular expression: ^gateway\.proxy\.target$ @@ -4129,7 +4397,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i19" role="tabpanel"> Type: object
-Must match regular expression: ^gateway\.proxy\.connect$ + item 19
Type: object
+Must match regular expression: ^gateway\.proxy\.connect$ @@ -4183,7 +4451,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i20" role="tabpanel"> Type: object
-Must match regular expression: ^discovery\.family\.scan$ + item 20
Type: object
+Must match regular expression: ^discovery\.family\.scan$ @@ -4237,7 +4505,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i21" role="tabpanel"> Type: object
-Must match regular expression: ^discovery\.device\.enumerate$ + item 21
Type: object
+Must match regular expression: ^discovery\.device\.enumerate$ @@ -4291,7 +4559,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i22" role="tabpanel"> Type: object
-Must match regular expression: ^discovery\.point\.describe$ + item 22
Type: object
+Must match regular expression: ^discovery\.point\.describe$ @@ -4345,7 +4613,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i23" role="tabpanel"> Type: object
-Must match regular expression: ^mapping\.device\.apply$ + item 23
Type: object
+Must match regular expression: ^mapping\.device\.apply$ @@ -4399,7 +4667,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i24" role="tabpanel"> Type: object
-Must match regular expression: ^blobset\.blob\.receive$ + item 24
Type: object
+Must match regular expression: ^blobset\.blob\.receive$ @@ -4453,7 +4721,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i25" role="tabpanel"> Type: object
-Must match regular expression: ^blobset\.blob\.fetch$ + item 25
Type: object
+Must match regular expression: ^blobset\.blob\.fetch$ @@ -4507,7 +4775,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i26" role="tabpanel"> Type: object
-Must match regular expression: ^blobset\.blob\.apply$ + item 26
Type: object
+Must match regular expression: ^blobset\.blob\.apply$ @@ -4561,7 +4829,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i27" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.receive$ + item 27
Type: object
+Must match regular expression: ^validation\.device\.receive$ @@ -4615,7 +4883,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i28" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.schema$ + item 28
Type: object
+Must match regular expression: ^validation\.device\.schema$ @@ -4669,7 +4937,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i29" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.content$ + item 29
Type: object
+Must match regular expression: ^validation\.device\.content$ @@ -4723,7 +4991,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i30" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.multiple$ + item 30
Type: object
+Must match regular expression: ^validation\.device\.multiple$ @@ -4777,7 +5045,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i31" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.device\.extra$ + item 31
Type: object
+Must match regular expression: ^validation\.device\.extra$ @@ -4831,7 +5099,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i32" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.summary\.report$ + item 32
Type: object
+Must match regular expression: ^validation\.summary\.report$ @@ -4885,7 +5153,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i33" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.feature\.sequence$ + item 33
Type: object
+Must match regular expression: ^validation\.feature\.sequence$ @@ -4939,7 +5207,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i34" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.feature\.schema$ + item 34
Type: object
+Must match regular expression: ^validation\.feature\.schema$ @@ -4993,7 +5261,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i35" role="tabpanel"> Type: object
-Must match regular expression: ^validation\.feature\.capability$ + item 35
Type: object
+Must match regular expression: ^validation\.feature\.capability$ @@ -5047,7 +5315,7 @@

+ id="tab-pane_points_pattern1_status_category_oneOf_i36" role="tabpanel"> Type: object
-Must match regular expression: ^device(\.[a-z]+((_[a-z]+))*)+$ + item 36
Type: object
+Must match regular expression: ^device(\.[a-z]+((_[a-z]+))*)+$ @@ -5111,18 +5379,18 @@

-
+
-
+

- +

-
+
Type: string
+ timestamp
Type: string

FC 3339 UTC timestamp the condition was triggered, or most recently updated

@@ -5163,25 +5431,25 @@


Example:
-
"2018-08-26T21:39:28.364Z"
+
"2018-08-26T21:39:28.364Z"
 

-
+
-
+

- +

-
+
Type: integer
+ level
Type: integer

The status level should conform to the numerical Stackdriver LogEntry levels. The DEFAULT value of 0 is not allowed (lowest value is 100, maximum 800).

-

Value must be greater or equal to 100 and lesser or equal to 800 and a multiple of 1

+

Value must be greater or equal to 100 and lesser or equal to 800 and a multiple of 1


Example:
-
600
+
600
 
@@ -5233,18 +5501,18 @@

-
+
-
+

- +

-
+
Type: object
+ ancillary
Type: object

Arbitrary blob of json associated with this point

@@ -5313,7 +5581,7 @@

/> features

Type: object
-

Enumeration of features supported by this device.

+

Discovery of features supported by this device.

No Additional Properties @@ -5354,8 +5622,8 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - enumeration_feature.json

Type: object
-

Object representation for for a single feature enumeration

+ discovery_feature.json
Type: object
+

Object representation for for a single feature

No Additional Properties @@ -5393,7 +5661,7 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - Feature Enumeration + Feature Discovery /> translation

Type: object
-

Discovery result with implicit enumeration

+

Discovery result with implicit results

No Additional Properties diff --git a/gencode/docs/metadata.html b/gencode/docs/metadata.html index 102f6ec234..e687529623 100644 --- a/gencode/docs/metadata.html +++ b/gencode/docs/metadata.html @@ -2909,8 +2909,8 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - enumeration_feature.json

Type: object
-

Object representation for for a single feature enumeration

+ discovery_feature.json
Type: object
+

Object representation for for a single feature

No Additional Properties @@ -2948,7 +2948,7 @@

d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" /> - Feature Enumeration + Feature Discovery /> generation

Type: string
-

Generational marker for enumeration

+

Generational marker to group results together

@@ -17072,7 +17072,7 @@

/> value_state

Type: enum (of string)
-

Optional enumeration indicating the state of the points value.

+

State of the individual point

Must be one of:

  • "initializing"
  • "applied"
  • "updating"
  • "overridden"
  • "invalid"
  • "failure"
diff --git a/gencode/java/udmi/schema/CapabilityValidationState.java b/gencode/java/udmi/schema/CapabilityValidationState.java index db68db43c3..ad8bb913a8 100644 --- a/gencode/java/udmi/schema/CapabilityValidationState.java +++ b/gencode/java/udmi/schema/CapabilityValidationState.java @@ -40,7 +40,7 @@ public class CapabilityValidationState { */ @JsonProperty("stage") @JsonPropertyDescription("Stage of a feature implemenation") - public udmi.schema.FeatureEnumeration.FeatureStage stage; + public udmi.schema.FeatureDiscovery.FeatureStage stage; /** * Capability result *

diff --git a/gencode/java/udmi/schema/DeviceDiscovery.java b/gencode/java/udmi/schema/DeviceDiscovery.java new file mode 100644 index 0000000000..f85d93586d --- /dev/null +++ b/gencode/java/udmi/schema/DeviceDiscovery.java @@ -0,0 +1,41 @@ + +package udmi.schema; + +import javax.annotation.processing.Generated; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + + +/** + * Device Discovery + *

+ * Information about an individual device scan result. + * + */ +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + +}) +@Generated("jsonschema2pojo") +public class DeviceDiscovery { + + + @Override + public int hashCode() { + int result = 1; + return result; + } + + @Override + public boolean equals(Object other) { + if (other == this) { + return true; + } + if ((other instanceof DeviceDiscovery) == false) { + return false; + } + DeviceDiscovery rhs = ((DeviceDiscovery) other); + return true; + } + +} diff --git a/gencode/java/udmi/schema/DiscoveryConfig.java b/gencode/java/udmi/schema/DiscoveryConfig.java index 2aedce7266..6aeaff8ba3 100644 --- a/gencode/java/udmi/schema/DiscoveryConfig.java +++ b/gencode/java/udmi/schema/DiscoveryConfig.java @@ -32,14 +32,19 @@ public class DiscoveryConfig { @JsonProperty("generation") @JsonPropertyDescription("Generational marker for controlling enumeration") public Date generation; + /** + * Indicates which discovery sub-categories to activate + * + */ @JsonProperty("enumerate") + @JsonPropertyDescription("Indicates which discovery sub-categories to activate") public Enumerate enumerate; /** - * Address family config for a scan. Not included for device enumeration messages. + * Address family config for a scan. * */ @JsonProperty("families") - @JsonPropertyDescription("Address family config for a scan. Not included for device enumeration messages.") + @JsonPropertyDescription("Address family config for a scan.") public HashMap families; @Override diff --git a/gencode/java/udmi/schema/DiscoveryEvent.java b/gencode/java/udmi/schema/DiscoveryEvent.java index 219b337b13..181afb9431 100644 --- a/gencode/java/udmi/schema/DiscoveryEvent.java +++ b/gencode/java/udmi/schema/DiscoveryEvent.java @@ -13,7 +13,7 @@ /** * Discovery Event *

- * [Discovery result](../docs/specs/discovery.md) with implicit enumeration + * [Discovery result](../docs/specs/discovery.md) with implicit discovery * */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -25,7 +25,9 @@ "scan_family", "scan_addr", "families", - "uniqs", + "registries", + "devices", + "points", "features", "system" }) @@ -79,26 +81,40 @@ public class DiscoveryEvent { @JsonPropertyDescription("The primary address of the device (for scan_family)") public java.lang.String scan_addr; /** - * Address family discovery results. + * Address family discovery discovery results. * */ @JsonProperty("families") - @JsonPropertyDescription("Address family discovery results.") - public Map families; + @JsonPropertyDescription("Address family discovery discovery results.") + public Map families; /** - * Collection of unique data points available for this device. + * Registry discovery results. * */ - @JsonProperty("uniqs") - @JsonPropertyDescription("Collection of unique data points available for this device.") - public Map uniqs; + @JsonProperty("registries") + @JsonPropertyDescription("Registry discovery results.") + public Map registries; /** - * Enumeration of features supported by this device. + * Device discovery scan results. + * + */ + @JsonProperty("devices") + @JsonPropertyDescription("Device discovery scan results.") + public Map devices; + /** + * Collection of data points available for this device. + * + */ + @JsonProperty("points") + @JsonPropertyDescription("Collection of data points available for this device.") + public Map points; + /** + * Discovery of features supported by this device. * */ @JsonProperty("features") - @JsonPropertyDescription("Enumeration of features supported by this device.") - public Map features; + @JsonPropertyDescription("Discovery of features supported by this device.") + public Map features; /** * System Discovery Event *

@@ -112,12 +128,14 @@ public class DiscoveryEvent { public int hashCode() { int result = 1; result = ((result* 31)+((this.generation == null)? 0 :this.generation.hashCode())); + result = ((result* 31)+((this.devices == null)? 0 :this.devices.hashCode())); + result = ((result* 31)+((this.registries == null)? 0 :this.registries.hashCode())); + result = ((result* 31)+((this.families == null)? 0 :this.families.hashCode())); + result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode())); + result = ((result* 31)+((this.points == null)? 0 :this.points.hashCode())); result = ((result* 31)+((this.features == null)? 0 :this.features.hashCode())); result = ((result* 31)+((this.system == null)? 0 :this.system.hashCode())); - result = ((result* 31)+((this.uniqs == null)? 0 :this.uniqs.hashCode())); result = ((result* 31)+((this.scan_family == null)? 0 :this.scan_family.hashCode())); - result = ((result* 31)+((this.families == null)? 0 :this.families.hashCode())); - result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode())); result = ((result* 31)+((this.timestamp == null)? 0 :this.timestamp.hashCode())); result = ((result* 31)+((this.status == null)? 0 :this.status.hashCode())); result = ((result* 31)+((this.scan_addr == null)? 0 :this.scan_addr.hashCode())); @@ -133,7 +151,7 @@ public boolean equals(Object other) { return false; } DiscoveryEvent rhs = ((DiscoveryEvent) other); - return (((((((((((this.generation == rhs.generation)||((this.generation!= null)&&this.generation.equals(rhs.generation)))&&((this.features == rhs.features)||((this.features!= null)&&this.features.equals(rhs.features))))&&((this.system == rhs.system)||((this.system!= null)&&this.system.equals(rhs.system))))&&((this.uniqs == rhs.uniqs)||((this.uniqs!= null)&&this.uniqs.equals(rhs.uniqs))))&&((this.scan_family == rhs.scan_family)||((this.scan_family!= null)&&this.scan_family.equals(rhs.scan_family))))&&((this.families == rhs.families)||((this.families!= null)&&this.families.equals(rhs.families))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.timestamp == rhs.timestamp)||((this.timestamp!= null)&&this.timestamp.equals(rhs.timestamp))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status))))&&((this.scan_addr == rhs.scan_addr)||((this.scan_addr!= null)&&this.scan_addr.equals(rhs.scan_addr)))); + return (((((((((((((this.generation == rhs.generation)||((this.generation!= null)&&this.generation.equals(rhs.generation)))&&((this.devices == rhs.devices)||((this.devices!= null)&&this.devices.equals(rhs.devices))))&&((this.registries == rhs.registries)||((this.registries!= null)&&this.registries.equals(rhs.registries))))&&((this.families == rhs.families)||((this.families!= null)&&this.families.equals(rhs.families))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.points == rhs.points)||((this.points!= null)&&this.points.equals(rhs.points))))&&((this.features == rhs.features)||((this.features!= null)&&this.features.equals(rhs.features))))&&((this.system == rhs.system)||((this.system!= null)&&this.system.equals(rhs.system))))&&((this.scan_family == rhs.scan_family)||((this.scan_family!= null)&&this.scan_family.equals(rhs.scan_family))))&&((this.timestamp == rhs.timestamp)||((this.timestamp!= null)&&this.timestamp.equals(rhs.timestamp))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status))))&&((this.scan_addr == rhs.scan_addr)||((this.scan_addr!= null)&&this.scan_addr.equals(rhs.scan_addr)))); } } diff --git a/gencode/java/udmi/schema/DiscoveryModel.java b/gencode/java/udmi/schema/DiscoveryModel.java index 0ecd62459a..5bc91ca460 100644 --- a/gencode/java/udmi/schema/DiscoveryModel.java +++ b/gencode/java/udmi/schema/DiscoveryModel.java @@ -22,7 +22,7 @@ public class DiscoveryModel { @JsonProperty("families") - public HashMap families; + public HashMap families; @Override public int hashCode() { diff --git a/gencode/java/udmi/schema/DiscoveryState.java b/gencode/java/udmi/schema/DiscoveryState.java index a811b897ec..3d53fae752 100644 --- a/gencode/java/udmi/schema/DiscoveryState.java +++ b/gencode/java/udmi/schema/DiscoveryState.java @@ -25,11 +25,11 @@ public class DiscoveryState { /** - * Generational marker for enumeration + * Generational marker to group results together * */ @JsonProperty("generation") - @JsonPropertyDescription("Generational marker for enumeration") + @JsonPropertyDescription("Generational marker to group results together") public Date generation; /** * Discovery protocol families diff --git a/gencode/java/udmi/schema/Enumerate.java b/gencode/java/udmi/schema/Enumerate.java index bedc6f7c85..045725456e 100644 --- a/gencode/java/udmi/schema/Enumerate.java +++ b/gencode/java/udmi/schema/Enumerate.java @@ -6,10 +6,16 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +/** + * Indicates which discovery sub-categories to activate + * + */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "families", - "uniqs", + "devices", + "points", "features" }) @Generated("jsonschema2pojo") @@ -17,8 +23,10 @@ public class Enumerate { @JsonProperty("families") public Boolean families; - @JsonProperty("uniqs") - public Boolean uniqs; + @JsonProperty("devices") + public Boolean devices; + @JsonProperty("points") + public Boolean points; @JsonProperty("features") public Boolean features; @@ -27,7 +35,8 @@ public int hashCode() { int result = 1; result = ((result* 31)+((this.features == null)? 0 :this.features.hashCode())); result = ((result* 31)+((this.families == null)? 0 :this.families.hashCode())); - result = ((result* 31)+((this.uniqs == null)? 0 :this.uniqs.hashCode())); + result = ((result* 31)+((this.devices == null)? 0 :this.devices.hashCode())); + result = ((result* 31)+((this.points == null)? 0 :this.points.hashCode())); return result; } @@ -40,7 +49,7 @@ public boolean equals(Object other) { return false; } Enumerate rhs = ((Enumerate) other); - return ((((this.features == rhs.features)||((this.features!= null)&&this.features.equals(rhs.features)))&&((this.families == rhs.families)||((this.families!= null)&&this.families.equals(rhs.families))))&&((this.uniqs == rhs.uniqs)||((this.uniqs!= null)&&this.uniqs.equals(rhs.uniqs)))); + return (((((this.features == rhs.features)||((this.features!= null)&&this.features.equals(rhs.features)))&&((this.families == rhs.families)||((this.families!= null)&&this.families.equals(rhs.families))))&&((this.devices == rhs.devices)||((this.devices!= null)&&this.devices.equals(rhs.devices))))&&((this.points == rhs.points)||((this.points!= null)&&this.points.equals(rhs.points)))); } } diff --git a/gencode/java/udmi/schema/Event.java b/gencode/java/udmi/schema/Event.java index 15926e009e..f0827b257a 100644 --- a/gencode/java/udmi/schema/Event.java +++ b/gencode/java/udmi/schema/Event.java @@ -44,11 +44,11 @@ public class Event { /** * Discovery Event *

- * [Discovery result](../docs/specs/discovery.md) with implicit enumeration + * [Discovery result](../docs/specs/discovery.md) with implicit discovery * */ @JsonProperty("discovery") - @JsonPropertyDescription("[Discovery result](../docs/specs/discovery.md) with implicit enumeration") + @JsonPropertyDescription("[Discovery result](../docs/specs/discovery.md) with implicit discovery") public DiscoveryEvent discovery; @Override diff --git a/gencode/java/udmi/schema/FamilyDiscoveryEvent.java b/gencode/java/udmi/schema/FamilyDiscovery.java similarity index 81% rename from gencode/java/udmi/schema/FamilyDiscoveryEvent.java rename to gencode/java/udmi/schema/FamilyDiscovery.java index 4434567d18..bb13fe6b9d 100644 --- a/gencode/java/udmi/schema/FamilyDiscoveryEvent.java +++ b/gencode/java/udmi/schema/FamilyDiscovery.java @@ -9,9 +9,9 @@ /** - * Family Discovery Event + * Family Discovery *

- * Discovery information for an individual protocol family. + * Discovery information for a protocol family. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -19,7 +19,7 @@ "addr" }) @Generated("jsonschema2pojo") -public class FamilyDiscoveryEvent { +public class FamilyDiscovery { /** * Device addr in the namespace of the given family @@ -42,10 +42,10 @@ public boolean equals(Object other) { if (other == this) { return true; } - if ((other instanceof FamilyDiscoveryEvent) == false) { + if ((other instanceof FamilyDiscovery) == false) { return false; } - FamilyDiscoveryEvent rhs = ((FamilyDiscoveryEvent) other); + FamilyDiscovery rhs = ((FamilyDiscovery) other); return ((this.addr == rhs.addr)||((this.addr!= null)&&this.addr.equals(rhs.addr))); } diff --git a/gencode/java/udmi/schema/FamilyDiscoveryTestingModel.java b/gencode/java/udmi/schema/FamilyDiscoveryModel.java similarity index 71% rename from gencode/java/udmi/schema/FamilyDiscoveryTestingModel.java rename to gencode/java/udmi/schema/FamilyDiscoveryModel.java index 89c4ccbe58..93cca8fc3d 100644 --- a/gencode/java/udmi/schema/FamilyDiscoveryTestingModel.java +++ b/gencode/java/udmi/schema/FamilyDiscoveryModel.java @@ -7,7 +7,7 @@ /** - * Family Discovery Testing Model + * Family Discovery Model *

* * @@ -17,7 +17,7 @@ }) @Generated("jsonschema2pojo") -public class FamilyDiscoveryTestingModel { +public class FamilyDiscoveryModel { @Override @@ -31,10 +31,10 @@ public boolean equals(Object other) { if (other == this) { return true; } - if ((other instanceof FamilyDiscoveryTestingModel) == false) { + if ((other instanceof FamilyDiscoveryModel) == false) { return false; } - FamilyDiscoveryTestingModel rhs = ((FamilyDiscoveryTestingModel) other); + FamilyDiscoveryModel rhs = ((FamilyDiscoveryModel) other); return true; } diff --git a/gencode/java/udmi/schema/FeatureEnumeration.java b/gencode/java/udmi/schema/FeatureDiscovery.java similarity index 76% rename from gencode/java/udmi/schema/FeatureEnumeration.java rename to gencode/java/udmi/schema/FeatureDiscovery.java index fd93c48ca9..cd416652a4 100644 --- a/gencode/java/udmi/schema/FeatureEnumeration.java +++ b/gencode/java/udmi/schema/FeatureDiscovery.java @@ -13,9 +13,9 @@ /** - * Feature Enumeration + * Feature Discovery *

- * Object representation for for a single feature enumeration + * Object representation for for a single feature * */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -23,7 +23,7 @@ "stage" }) @Generated("jsonschema2pojo") -public class FeatureEnumeration { +public class FeatureDiscovery { /** * FeatureStage @@ -33,7 +33,7 @@ public class FeatureEnumeration { */ @JsonProperty("stage") @JsonPropertyDescription("Stage of a feature implemenation") - public FeatureEnumeration.FeatureStage stage; + public FeatureDiscovery.FeatureStage stage; @Override public int hashCode() { @@ -47,10 +47,10 @@ public boolean equals(Object other) { if (other == this) { return true; } - if ((other instanceof FeatureEnumeration) == false) { + if ((other instanceof FeatureDiscovery) == false) { return false; } - FeatureEnumeration rhs = ((FeatureEnumeration) other); + FeatureDiscovery rhs = ((FeatureDiscovery) other); return ((this.stage == rhs.stage)||((this.stage!= null)&&this.stage.equals(rhs.stage))); } @@ -70,10 +70,10 @@ public enum FeatureStage { BETA("beta"), STABLE("stable"); private final String value; - private final static Map CONSTANTS = new HashMap(); + private final static Map CONSTANTS = new HashMap(); static { - for (FeatureEnumeration.FeatureStage c: values()) { + for (FeatureDiscovery.FeatureStage c: values()) { CONSTANTS.put(c.value, c); } } @@ -93,8 +93,8 @@ public String value() { } @JsonCreator - public static FeatureEnumeration.FeatureStage fromValue(String value) { - FeatureEnumeration.FeatureStage constant = CONSTANTS.get(value); + public static FeatureDiscovery.FeatureStage fromValue(String value) { + FeatureDiscovery.FeatureStage constant = CONSTANTS.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { diff --git a/gencode/java/udmi/schema/MappingCommand.java b/gencode/java/udmi/schema/MappingCommand.java index 0f708e6312..baf53a97f6 100644 --- a/gencode/java/udmi/schema/MappingCommand.java +++ b/gencode/java/udmi/schema/MappingCommand.java @@ -67,11 +67,11 @@ public class MappingCommand { /** * Building Config *

- * [Discovery result](../docs/specs/discovery.md) with implicit enumeration + * [Discovery result](../docs/specs/discovery.md) with implicit results * */ @JsonProperty("translation") - @JsonPropertyDescription("[Discovery result](../docs/specs/discovery.md) with implicit enumeration") + @JsonPropertyDescription("[Discovery result](../docs/specs/discovery.md) with implicit results") public HashMap translation; @Override diff --git a/gencode/java/udmi/schema/MappingEventEntity.java b/gencode/java/udmi/schema/MappingEventEntity.java index 2b589ea554..bf9d474670 100644 --- a/gencode/java/udmi/schema/MappingEventEntity.java +++ b/gencode/java/udmi/schema/MappingEventEntity.java @@ -70,11 +70,11 @@ public class MappingEventEntity { /** * Building Config *

- * [Discovery result](../docs/specs/discovery.md) with implicit enumeration + * [Discovery result](../docs/specs/discovery.md) with implicit results * */ @JsonProperty("translation") - @JsonPropertyDescription("[Discovery result](../docs/specs/discovery.md) with implicit enumeration") + @JsonPropertyDescription("[Discovery result](../docs/specs/discovery.md) with implicit results") public HashMap translation; /** * DBO fields which are required by the type but absent from the translation diff --git a/gencode/java/udmi/schema/Metadata.java b/gencode/java/udmi/schema/Metadata.java index cfecd909f1..e6c5e69282 100644 --- a/gencode/java/udmi/schema/Metadata.java +++ b/gencode/java/udmi/schema/Metadata.java @@ -143,7 +143,7 @@ public class Metadata { */ @JsonProperty("features") @JsonPropertyDescription("Model of supported features") - public Map features; + public Map features; /** * Pointset Model *

diff --git a/gencode/java/udmi/schema/PointEnumerationEvent.java b/gencode/java/udmi/schema/PointDiscovery.java similarity index 94% rename from gencode/java/udmi/schema/PointEnumerationEvent.java rename to gencode/java/udmi/schema/PointDiscovery.java index 054f7bb8dc..f3fb5d09d0 100644 --- a/gencode/java/udmi/schema/PointEnumerationEvent.java +++ b/gencode/java/udmi/schema/PointDiscovery.java @@ -12,9 +12,9 @@ /** - * Point Enumeration Event + * Point Discovery *

- * Object representation for for a single point enumeration + * Object representation for for a single point discovery * */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -30,7 +30,7 @@ "ancillary" }) @Generated("jsonschema2pojo") -public class PointEnumerationEvent { +public class PointDiscovery { /** * Friendly name for the point, if known @@ -119,10 +119,10 @@ public boolean equals(java.lang.Object other) { if (other == this) { return true; } - if ((other instanceof PointEnumerationEvent) == false) { + if ((other instanceof PointDiscovery) == false) { return false; } - PointEnumerationEvent rhs = ((PointEnumerationEvent) other); + PointDiscovery rhs = ((PointDiscovery) other); return ((((((((((this.ref == rhs.ref)||((this.ref!= null)&&this.ref.equals(rhs.ref)))&&((this.possible_values == rhs.possible_values)||((this.possible_values!= null)&&this.possible_values.equals(rhs.possible_values))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.units == rhs.units)||((this.units!= null)&&this.units.equals(rhs.units))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.ancillary == rhs.ancillary)||((this.ancillary!= null)&&this.ancillary.equals(rhs.ancillary))))&&((this.writable == rhs.writable)||((this.writable!= null)&&this.writable.equals(rhs.writable))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status)))); } diff --git a/gencode/java/udmi/schema/PointPointsetState.java b/gencode/java/udmi/schema/PointPointsetState.java index 89cff4244e..550c31a326 100644 --- a/gencode/java/udmi/schema/PointPointsetState.java +++ b/gencode/java/udmi/schema/PointPointsetState.java @@ -35,11 +35,11 @@ public class PointPointsetState { @JsonPropertyDescription("If specified, indicates a programmed point unit. If empty, means unspecified or matches configured point.") public String units; /** - * Optional enumeration indicating the state of the points value. + * State of the individual point * */ @JsonProperty("value_state") - @JsonPropertyDescription("Optional enumeration indicating the state of the points value.") + @JsonPropertyDescription("State of the individual point") public PointPointsetState.Value_state value_state; /** * Entry @@ -73,7 +73,7 @@ public boolean equals(Object other) { /** - * Optional enumeration indicating the state of the points value. + * State of the individual point * */ @Generated("jsonschema2pojo") diff --git a/gencode/java/udmi/schema/RegistryDiscovery.java b/gencode/java/udmi/schema/RegistryDiscovery.java new file mode 100644 index 0000000000..bc01537ace --- /dev/null +++ b/gencode/java/udmi/schema/RegistryDiscovery.java @@ -0,0 +1,61 @@ + +package udmi.schema; + +import java.util.Date; +import javax.annotation.processing.Generated; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyDescription; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + + +/** + * Registry Discovery + *

+ * Information about an individual registry. + * + */ +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "last_seen", + "last_update" +}) +@Generated("jsonschema2pojo") +public class RegistryDiscovery { + + /** + * Timestamp of when a message was last seen for this registry + * + */ + @JsonProperty("last_seen") + @JsonPropertyDescription("Timestamp of when a message was last seen for this registry") + public Date last_seen; + /** + * Last update of the registry information + * + */ + @JsonProperty("last_update") + @JsonPropertyDescription("Last update of the registry information") + public Date last_update; + + @Override + public int hashCode() { + int result = 1; + result = ((result* 31)+((this.last_seen == null)? 0 :this.last_seen.hashCode())); + result = ((result* 31)+((this.last_update == null)? 0 :this.last_update.hashCode())); + return result; + } + + @Override + public boolean equals(Object other) { + if (other == this) { + return true; + } + if ((other instanceof RegistryDiscovery) == false) { + return false; + } + RegistryDiscovery rhs = ((RegistryDiscovery) other); + return (((this.last_seen == rhs.last_seen)||((this.last_seen!= null)&&this.last_seen.equals(rhs.last_seen)))&&((this.last_update == rhs.last_update)||((this.last_update!= null)&&this.last_update.equals(rhs.last_update)))); + } + +} diff --git a/gencode/java/udmi/schema/SchemaValidationState.java b/gencode/java/udmi/schema/SchemaValidationState.java index 2b3c79c6cb..f7b437296c 100644 --- a/gencode/java/udmi/schema/SchemaValidationState.java +++ b/gencode/java/udmi/schema/SchemaValidationState.java @@ -6,7 +6,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery.FeatureStage; /** diff --git a/gencode/java/udmi/schema/SequenceValidationState.java b/gencode/java/udmi/schema/SequenceValidationState.java index 967c253f0d..459d05412e 100644 --- a/gencode/java/udmi/schema/SequenceValidationState.java +++ b/gencode/java/udmi/schema/SequenceValidationState.java @@ -41,7 +41,7 @@ public class SequenceValidationState { */ @JsonProperty("stage") @JsonPropertyDescription("Stage of a feature implemenation") - public udmi.schema.FeatureEnumeration.FeatureStage stage; + public udmi.schema.FeatureDiscovery.FeatureStage stage; @JsonProperty("capabilities") public Map capabilities; /** diff --git a/gencode/python/udmi/schema/__init__.py b/gencode/python/udmi/schema/__init__.py index 87d24c395f..688ea5a489 100644 --- a/gencode/python/udmi/schema/__init__.py +++ b/gencode/python/udmi/schema/__init__.py @@ -25,14 +25,16 @@ from .configuration_pod_base import BasePodConfiguration from .configuration_pod_bridge import BridgePodConfiguration from .configuration_pubber import PubberConfiguration +from .discovery_device import DeviceDiscovery +from .discovery_family import FamilyDiscovery +from .discovery_feature import FeatureDiscovery +from .discovery_point import PointDiscovery +from .discovery_registry import RegistryDiscovery from .entry import Entry -from .enumeration_feature import FeatureEnumeration from .envelope import Envelope from .equipment_translation import BuildingConfig from .event import Event from .event_discovery import DiscoveryEvent -from .event_discovery_family import FamilyDiscoveryEvent -from .event_discovery_point import PointEnumerationEvent from .event_mapping import MappingEvent from .event_mapping_entities import MappingEventEntities from .event_mapping_entity import MappingEventEntity @@ -44,7 +46,7 @@ from .metadata import Metadata from .model_cloud import CloudModel from .model_discovery import DiscoveryModel -from .model_discovery_family import FamilyDiscoveryTestingModel +from .model_discovery_family import FamilyDiscoveryModel from .model_features import TestingModel from .model_gateway import GatewayModel from .model_localnet import LocalnetModel diff --git a/gencode/python/udmi/schema/config_discovery.py b/gencode/python/udmi/schema/config_discovery.py index 3a1d03aed3..6375b9932a 100644 --- a/gencode/python/udmi/schema/config_discovery.py +++ b/gencode/python/udmi/schema/config_discovery.py @@ -1,21 +1,23 @@ """Generated class for config_discovery.json""" -class ObjectB9C13F4B: +class ObjectA88FC30E: """Generated schema class""" def __init__(self): self.families = None - self.uniqs = None + self.devices = None + self.points = None self.features = None @staticmethod def from_dict(source): if not source: return None - result = ObjectB9C13F4B() + result = ObjectA88FC30E() result.families = source.get('families') - result.uniqs = source.get('uniqs') + result.devices = source.get('devices') + result.points = source.get('points') result.features = source.get('features') return result @@ -25,7 +27,7 @@ def map_from(source): return None result = {} for key in source: - result[key] = ObjectB9C13F4B.from_dict(source[key]) + result[key] = ObjectA88FC30E.from_dict(source[key]) return result @staticmethod @@ -39,8 +41,10 @@ def to_dict(self): result = {} if self.families: result['families'] = self.families # 5 - if self.uniqs: - result['uniqs'] = self.uniqs # 5 + if self.devices: + result['devices'] = self.devices # 5 + if self.points: + result['points'] = self.points # 5 if self.features: result['features'] = self.features # 5 return result @@ -61,7 +65,7 @@ def from_dict(source): return None result = DiscoveryConfig() result.generation = source.get('generation') - result.enumerate = ObjectB9C13F4B.from_dict(source.get('enumerate')) + result.enumerate = ObjectA88FC30E.from_dict(source.get('enumerate')) result.families = FamilyDiscoveryConfig.map_from(source.get('families')) return result diff --git a/gencode/python/udmi/schema/discovery_device.py b/gencode/python/udmi/schema/discovery_device.py new file mode 100644 index 0000000000..bc8e357c39 --- /dev/null +++ b/gencode/python/udmi/schema/discovery_device.py @@ -0,0 +1,35 @@ +"""Generated class for discovery_device.json""" + + +class DeviceDiscovery: + """Generated schema class""" + + def __init__(self): + pass + + @staticmethod + def from_dict(source): + if not source: + return None + result = DeviceDiscovery() + return result + + @staticmethod + def map_from(source): + if not source: + return None + result = {} + for key in source: + result[key] = DeviceDiscovery.from_dict(source[key]) + return result + + @staticmethod + def expand_dict(input): + result = {} + for property in input: + result[property] = input[property].to_dict() if input[property] else {} + return result + + def to_dict(self): + result = {} + return result diff --git a/gencode/python/udmi/schema/event_discovery_family.py b/gencode/python/udmi/schema/discovery_family.py similarity index 77% rename from gencode/python/udmi/schema/event_discovery_family.py rename to gencode/python/udmi/schema/discovery_family.py index d8d7b9ccdb..d077fdcd01 100644 --- a/gencode/python/udmi/schema/event_discovery_family.py +++ b/gencode/python/udmi/schema/discovery_family.py @@ -1,7 +1,7 @@ -"""Generated class for event_discovery_family.json""" +"""Generated class for discovery_family.json""" -class FamilyDiscoveryEvent: +class FamilyDiscovery: """Generated schema class""" def __init__(self): @@ -11,7 +11,7 @@ def __init__(self): def from_dict(source): if not source: return None - result = FamilyDiscoveryEvent() + result = FamilyDiscovery() result.addr = source.get('addr') return result @@ -21,7 +21,7 @@ def map_from(source): return None result = {} for key in source: - result[key] = FamilyDiscoveryEvent.from_dict(source[key]) + result[key] = FamilyDiscovery.from_dict(source[key]) return result @staticmethod diff --git a/gencode/python/udmi/schema/enumeration_feature.py b/gencode/python/udmi/schema/discovery_feature.py similarity index 78% rename from gencode/python/udmi/schema/enumeration_feature.py rename to gencode/python/udmi/schema/discovery_feature.py index 7fcc4d8a4a..82f747427d 100644 --- a/gencode/python/udmi/schema/enumeration_feature.py +++ b/gencode/python/udmi/schema/discovery_feature.py @@ -1,7 +1,7 @@ -"""Generated class for enumeration_feature.json""" +"""Generated class for discovery_feature.json""" -class FeatureEnumeration: +class FeatureDiscovery: """Generated schema class""" def __init__(self): @@ -11,7 +11,7 @@ def __init__(self): def from_dict(source): if not source: return None - result = FeatureEnumeration() + result = FeatureDiscovery() result.stage = source.get('stage') return result @@ -21,7 +21,7 @@ def map_from(source): return None result = {} for key in source: - result[key] = FeatureEnumeration.from_dict(source[key]) + result[key] = FeatureDiscovery.from_dict(source[key]) return result @staticmethod diff --git a/gencode/python/udmi/schema/event_discovery_point.py b/gencode/python/udmi/schema/discovery_point.py similarity index 91% rename from gencode/python/udmi/schema/event_discovery_point.py rename to gencode/python/udmi/schema/discovery_point.py index 81e393ae0c..d587a328a0 100644 --- a/gencode/python/udmi/schema/event_discovery_point.py +++ b/gencode/python/udmi/schema/discovery_point.py @@ -1,9 +1,9 @@ -"""Generated class for event_discovery_point.json""" +"""Generated class for discovery_point.json""" from .entry import Entry from .ancillary_properties import AncillaryProperties -class PointEnumerationEvent: +class PointDiscovery: """Generated schema class""" def __init__(self): @@ -21,7 +21,7 @@ def __init__(self): def from_dict(source): if not source: return None - result = PointEnumerationEvent() + result = PointDiscovery() result.name = source.get('name') result.possible_values = source.get('possible_values') result.units = source.get('units') @@ -39,7 +39,7 @@ def map_from(source): return None result = {} for key in source: - result[key] = PointEnumerationEvent.from_dict(source[key]) + result[key] = PointDiscovery.from_dict(source[key]) return result @staticmethod diff --git a/gencode/python/udmi/schema/discovery_registry.py b/gencode/python/udmi/schema/discovery_registry.py new file mode 100644 index 0000000000..d7c65152f5 --- /dev/null +++ b/gencode/python/udmi/schema/discovery_registry.py @@ -0,0 +1,42 @@ +"""Generated class for discovery_registry.json""" + + +class RegistryDiscovery: + """Generated schema class""" + + def __init__(self): + self.last_seen = None + self.last_update = None + + @staticmethod + def from_dict(source): + if not source: + return None + result = RegistryDiscovery() + result.last_seen = source.get('last_seen') + result.last_update = source.get('last_update') + return result + + @staticmethod + def map_from(source): + if not source: + return None + result = {} + for key in source: + result[key] = RegistryDiscovery.from_dict(source[key]) + return result + + @staticmethod + def expand_dict(input): + result = {} + for property in input: + result[property] = input[property].to_dict() if input[property] else {} + return result + + def to_dict(self): + result = {} + if self.last_seen: + result['last_seen'] = self.last_seen # 5 + if self.last_update: + result['last_update'] = self.last_update # 5 + return result diff --git a/gencode/python/udmi/schema/event_discovery.py b/gencode/python/udmi/schema/event_discovery.py index 933f26c038..d7f0f07531 100644 --- a/gencode/python/udmi/schema/event_discovery.py +++ b/gencode/python/udmi/schema/event_discovery.py @@ -1,8 +1,10 @@ """Generated class for event_discovery.json""" from .entry import Entry -from .event_discovery_family import FamilyDiscoveryEvent -from .event_discovery_point import PointEnumerationEvent -from .enumeration_feature import FeatureEnumeration +from .discovery_family import FamilyDiscovery +from .discovery_registry import RegistryDiscovery +from .discovery_device import DeviceDiscovery +from .discovery_point import PointDiscovery +from .discovery_feature import FeatureDiscovery from .ancillary_properties import AncillaryProperties from .state_system_hardware import StateSystemHardware @@ -63,7 +65,9 @@ def __init__(self): self.scan_family = None self.scan_addr = None self.families = None - self.uniqs = None + self.registries = None + self.devices = None + self.points = None self.features = None self.system = None @@ -78,9 +82,11 @@ def from_dict(source): result.status = Entry.from_dict(source.get('status')) result.scan_family = source.get('scan_family') result.scan_addr = source.get('scan_addr') - result.families = FamilyDiscoveryEvent.map_from(source.get('families')) - result.uniqs = PointEnumerationEvent.map_from(source.get('uniqs')) - result.features = FeatureEnumeration.map_from(source.get('features')) + result.families = FamilyDiscovery.map_from(source.get('families')) + result.registries = RegistryDiscovery.map_from(source.get('registries')) + result.devices = DeviceDiscovery.map_from(source.get('devices')) + result.points = PointDiscovery.map_from(source.get('points')) + result.features = FeatureDiscovery.map_from(source.get('features')) result.system = SystemDiscoveryEvent.from_dict(source.get('system')) return result @@ -115,11 +121,15 @@ def to_dict(self): if self.scan_addr: result['scan_addr'] = self.scan_addr # 5 if self.families: - result['families'] = FamilyDiscoveryEvent.expand_dict(self.families) # 2 - if self.uniqs: - result['uniqs'] = PointEnumerationEvent.expand_dict(self.uniqs) # 2 + result['families'] = FamilyDiscovery.expand_dict(self.families) # 2 + if self.registries: + result['registries'] = RegistryDiscovery.expand_dict(self.registries) # 2 + if self.devices: + result['devices'] = DeviceDiscovery.expand_dict(self.devices) # 2 + if self.points: + result['points'] = PointDiscovery.expand_dict(self.points) # 2 if self.features: - result['features'] = FeatureEnumeration.expand_dict(self.features) # 2 + result['features'] = FeatureDiscovery.expand_dict(self.features) # 2 if self.system: result['system'] = self.system.to_dict() # 4 return result diff --git a/gencode/python/udmi/schema/metadata.py b/gencode/python/udmi/schema/metadata.py index aa309c2dfd..e4939b08d3 100644 --- a/gencode/python/udmi/schema/metadata.py +++ b/gencode/python/udmi/schema/metadata.py @@ -45,7 +45,7 @@ def from_dict(source): result.discovery = DiscoveryModel.from_dict(source.get('discovery')) result.localnet = LocalnetModel.from_dict(source.get('localnet')) result.testing = TestingModel.from_dict(source.get('testing')) - result.features = FeatureEnumeration.map_from(source.get('features')) + result.features = FeatureDiscovery.map_from(source.get('features')) result.pointset = PointsetModel.from_dict(source.get('pointset')) return result @@ -92,7 +92,7 @@ def to_dict(self): if self.testing: result['testing'] = self.testing.to_dict() # 4 if self.features: - result['features'] = FeatureEnumeration.expand_dict(self.features) # 2 + result['features'] = FeatureDiscovery.expand_dict(self.features) # 2 if self.pointset: result['pointset'] = self.pointset.to_dict() # 4 return result diff --git a/gencode/python/udmi/schema/model_discovery.py b/gencode/python/udmi/schema/model_discovery.py index 92dc52ef13..e4a4ac6159 100644 --- a/gencode/python/udmi/schema/model_discovery.py +++ b/gencode/python/udmi/schema/model_discovery.py @@ -1,5 +1,5 @@ """Generated class for model_discovery.json""" -from .model_discovery_family import FamilyDiscoveryTestingModel +from .model_discovery_family import FamilyDiscoveryModel class DiscoveryModel: @@ -13,7 +13,7 @@ def from_dict(source): if not source: return None result = DiscoveryModel() - result.families = FamilyDiscoveryTestingModel.map_from(source.get('families')) + result.families = FamilyDiscoveryModel.map_from(source.get('families')) return result @staticmethod @@ -35,5 +35,5 @@ def expand_dict(input): def to_dict(self): result = {} if self.families: - result['families'] = FamilyDiscoveryTestingModel.expand_dict(self.families) # 2 + result['families'] = FamilyDiscoveryModel.expand_dict(self.families) # 2 return result diff --git a/gencode/python/udmi/schema/model_discovery_family.py b/gencode/python/udmi/schema/model_discovery_family.py index aa2dd416ee..6cb899b03c 100644 --- a/gencode/python/udmi/schema/model_discovery_family.py +++ b/gencode/python/udmi/schema/model_discovery_family.py @@ -1,7 +1,7 @@ """Generated class for model_discovery_family.json""" -class FamilyDiscoveryTestingModel: +class FamilyDiscoveryModel: """Generated schema class""" def __init__(self): @@ -11,7 +11,7 @@ def __init__(self): def from_dict(source): if not source: return None - result = FamilyDiscoveryTestingModel() + result = FamilyDiscoveryModel() return result @staticmethod @@ -20,7 +20,7 @@ def map_from(source): return None result = {} for key in source: - result[key] = FamilyDiscoveryTestingModel.from_dict(source[key]) + result[key] = FamilyDiscoveryModel.from_dict(source[key]) return result @staticmethod diff --git a/pubber/src/main/java/daq/pubber/AbstractPoint.java b/pubber/src/main/java/daq/pubber/AbstractPoint.java index 4b7164fd04..399ea9f11f 100644 --- a/pubber/src/main/java/daq/pubber/AbstractPoint.java +++ b/pubber/src/main/java/daq/pubber/AbstractPoint.java @@ -1,6 +1,6 @@ package daq.pubber; -import udmi.schema.PointEnumerationEvent; +import udmi.schema.PointDiscovery; import udmi.schema.PointPointsetConfig; import udmi.schema.PointPointsetEvent; import udmi.schema.PointPointsetState; @@ -22,5 +22,5 @@ public interface AbstractPoint { void setConfig(PointPointsetConfig config); - PointEnumerationEvent enumerate(); + PointDiscovery enumerate(); } diff --git a/pubber/src/main/java/daq/pubber/BasicPoint.java b/pubber/src/main/java/daq/pubber/BasicPoint.java index 6e11434269..ab13f36952 100644 --- a/pubber/src/main/java/daq/pubber/BasicPoint.java +++ b/pubber/src/main/java/daq/pubber/BasicPoint.java @@ -4,7 +4,7 @@ import udmi.schema.Category; import udmi.schema.Entry; -import udmi.schema.PointEnumerationEvent; +import udmi.schema.PointDiscovery; import udmi.schema.PointPointsetConfig; import udmi.schema.PointPointsetEvent; import udmi.schema.PointPointsetState; @@ -86,7 +86,7 @@ public void setConfig(PointPointsetConfig config) { try { if (!validateValue(config.set_value)) { state.status = createEntryFrom(Category.POINTSET_POINT_INVALID, - "Written value is not valid"); + "Written value is not valid"); state.value_state = Value_state.INVALID; dirty = state.value_state != previous; return; @@ -117,8 +117,8 @@ public void setConfig(PointPointsetConfig config) { } @Override - public PointEnumerationEvent enumerate() { - PointEnumerationEvent point = new PointEnumerationEvent(); + public PointDiscovery enumerate() { + PointDiscovery point = new PointDiscovery(); point.description = getClass().getSimpleName() + " " + getName(); point.writable = writable ? true : null; populateEnumeration(point); @@ -135,5 +135,5 @@ private Entry createEntryFrom(String category, String message) { return entry; } - protected abstract void populateEnumeration(PointEnumerationEvent point); + protected abstract void populateEnumeration(PointDiscovery point); } diff --git a/pubber/src/main/java/daq/pubber/DeviceManager.java b/pubber/src/main/java/daq/pubber/DeviceManager.java index b374a4c383..300a8654fd 100644 --- a/pubber/src/main/java/daq/pubber/DeviceManager.java +++ b/pubber/src/main/java/daq/pubber/DeviceManager.java @@ -5,7 +5,7 @@ import udmi.schema.Config; import udmi.schema.DevicePersistent; import udmi.schema.Entry; -import udmi.schema.FamilyDiscoveryEvent; +import udmi.schema.FamilyDiscovery; import udmi.schema.Level; import udmi.schema.Metadata; import udmi.schema.Operation.SystemMode; @@ -119,7 +119,7 @@ public void stop() { systemManager.stop(); } - public Map enumerateFamilies() { + public Map enumerateFamilies() { return localnetManager.enumerateFamilies(); } diff --git a/pubber/src/main/java/daq/pubber/DiscoveryManager.java b/pubber/src/main/java/daq/pubber/DiscoveryManager.java index 17f5def829..4b24393adf 100644 --- a/pubber/src/main/java/daq/pubber/DiscoveryManager.java +++ b/pubber/src/main/java/daq/pubber/DiscoveryManager.java @@ -19,14 +19,13 @@ import udmi.schema.DiscoveryEvent; import udmi.schema.DiscoveryState; import udmi.schema.Enumerate; +import udmi.schema.FamilyDiscovery; import udmi.schema.FamilyDiscoveryConfig; -import udmi.schema.FamilyDiscoveryEvent; import udmi.schema.FamilyDiscoveryState; import udmi.schema.FamilyLocalnetModel; import udmi.schema.Metadata; -import udmi.schema.PointEnumerationEvent; +import udmi.schema.PointDiscovery; import udmi.schema.PointPointsetModel; -import udmi.schema.PointsetState; import udmi.schema.PubberConfiguration; /** @@ -62,7 +61,7 @@ private void updateDiscoveryEnumeration(DiscoveryConfig config) { DiscoveryEvent discoveryEvent = new DiscoveryEvent(); discoveryEvent.generation = enumerationGeneration; Enumerate enumerate = config.enumerate; - discoveryEvent.uniqs = ifTrue(enumerate.uniqs, () -> enumeratePoints(deviceId)); + discoveryEvent.points = ifTrue(enumerate.points, () -> enumeratePoints(deviceId)); discoveryEvent.features = ifTrue(enumerate.features, SupportedFeatures::getFeatures); discoveryEvent.families = ifTrue(enumerate.families, deviceManager::enumerateFamilies); host.publish(discoveryEvent); @@ -163,9 +162,9 @@ private void sendDiscoveryEvent(String family, Date scanGeneration) { discoveryEvent.families = targetMetadata.localnet.families.entrySet().stream() .collect(toMap(Map.Entry::getKey, this::eventForTarget)); discoveryEvent.families.computeIfAbsent("iot", - key -> new FamilyDiscoveryEvent()).addr = deviceId; + key -> new FamilyDiscovery()).addr = deviceId; if (isGetTrue(() -> discoveryConfig.families.get(family).enumerate)) { - discoveryEvent.uniqs = enumeratePoints(deviceId); + discoveryEvent.points = enumeratePoints(deviceId); } host.publish(discoveryEvent); sentEvents.incrementAndGet(); @@ -176,8 +175,8 @@ private void sendDiscoveryEvent(String family, Date scanGeneration) { } } - private FamilyDiscoveryEvent eventForTarget(Map.Entry target) { - FamilyDiscoveryEvent event = new FamilyDiscoveryEvent(); + private FamilyDiscovery eventForTarget(Map.Entry target) { + FamilyDiscovery event = new FamilyDiscovery(); event.addr = target.getValue().addr; return event; } @@ -221,24 +220,24 @@ private T ifTrue(Boolean condition, Supplier supplier) { return isGetTrue(() -> condition) ? supplier.get() : null; } - private Map enumeratePoints(String deviceId) { + private Map enumeratePoints(String deviceId) { return siteModel.getMetadata(deviceId).pointset.points.entrySet().stream().collect( - Collectors.toMap(this::getPointUniqKey, this::getPointEnumerationEvent)); + Collectors.toMap(this::getPointUniqKey, this::getPointDiscovery)); } private String getPointUniqKey(Map.Entry entry) { return format("%08x", entry.getKey().hashCode()); } - private PointEnumerationEvent getPointEnumerationEvent( + private PointDiscovery getPointDiscovery( Map.Entry entry) { - PointEnumerationEvent pointEnumerationEvent = new PointEnumerationEvent(); + PointDiscovery pointDiscovery = new PointDiscovery(); PointPointsetModel model = entry.getValue(); - pointEnumerationEvent.writable = model.writable; - pointEnumerationEvent.units = model.units; - pointEnumerationEvent.ref = model.ref; - pointEnumerationEvent.name = entry.getKey(); - return pointEnumerationEvent; + pointDiscovery.writable = model.writable; + pointDiscovery.units = model.units; + pointDiscovery.ref = model.ref; + pointDiscovery.name = entry.getKey(); + return pointDiscovery; } private void updateState() { diff --git a/pubber/src/main/java/daq/pubber/LocalnetManager.java b/pubber/src/main/java/daq/pubber/LocalnetManager.java index c02cfe7bec..066a363f0e 100644 --- a/pubber/src/main/java/daq/pubber/LocalnetManager.java +++ b/pubber/src/main/java/daq/pubber/LocalnetManager.java @@ -16,7 +16,7 @@ import java.util.concurrent.atomic.AtomicReference; import java.util.regex.Matcher; import java.util.regex.Pattern; -import udmi.schema.FamilyDiscoveryEvent; +import udmi.schema.FamilyDiscovery; import udmi.schema.FamilyLocalnetState; import udmi.schema.LocalnetState; import udmi.schema.PubberConfiguration; @@ -162,14 +162,14 @@ private Map getInterfaceAddresses(String defaultInterface) { } } - Map enumerateFamilies() { + Map enumerateFamilies() { return localnetState.families.keySet().stream() - .collect(toMap(key -> key, this::makeFamilyDiscoveryEvent)); + .collect(toMap(key -> key, this::makeFamilyDiscovery)); } - private FamilyDiscoveryEvent makeFamilyDiscoveryEvent(String key) { - FamilyDiscoveryEvent familyDiscoveryEvent = new FamilyDiscoveryEvent(); - familyDiscoveryEvent.addr = localnetState.families.get(key).addr; - return familyDiscoveryEvent; + private FamilyDiscovery makeFamilyDiscovery(String key) { + FamilyDiscovery familyDiscovery = new FamilyDiscovery(); + familyDiscovery.addr = localnetState.families.get(key).addr; + return familyDiscovery; } } diff --git a/pubber/src/main/java/daq/pubber/RandomBoolean.java b/pubber/src/main/java/daq/pubber/RandomBoolean.java index d342b62f70..8006f760c5 100644 --- a/pubber/src/main/java/daq/pubber/RandomBoolean.java +++ b/pubber/src/main/java/daq/pubber/RandomBoolean.java @@ -1,6 +1,6 @@ package daq.pubber; -import udmi.schema.PointEnumerationEvent; +import udmi.schema.PointDiscovery; /** * Represents a random boolean point. @@ -27,7 +27,7 @@ protected boolean validateValue(Object setValue) { } @Override - protected void populateEnumeration(PointEnumerationEvent point) { + protected void populateEnumeration(PointDiscovery point) { point.type = "multistate"; point.possible_values = null; // Need multi-state values here } diff --git a/pubber/src/main/java/daq/pubber/RandomPoint.java b/pubber/src/main/java/daq/pubber/RandomPoint.java index 7692dd31d1..054b5c5794 100644 --- a/pubber/src/main/java/daq/pubber/RandomPoint.java +++ b/pubber/src/main/java/daq/pubber/RandomPoint.java @@ -1,6 +1,6 @@ package daq.pubber; -import udmi.schema.PointEnumerationEvent; +import udmi.schema.PointDiscovery; /** * Represents a randomly generated numerical point. @@ -53,7 +53,7 @@ protected boolean validateValue(Object setValue) { } @Override - protected void populateEnumeration(PointEnumerationEvent point) { + protected void populateEnumeration(PointDiscovery point) { point.units = units; } } diff --git a/pubber/src/main/java/daq/pubber/SupportedFeatures.java b/pubber/src/main/java/daq/pubber/SupportedFeatures.java index 9432736463..3d41806e63 100644 --- a/pubber/src/main/java/daq/pubber/SupportedFeatures.java +++ b/pubber/src/main/java/daq/pubber/SupportedFeatures.java @@ -11,17 +11,17 @@ import static udmi.schema.Bucket.POINTSET; import static udmi.schema.Bucket.SYSTEM; import static udmi.schema.Bucket.UNKNOWN_DEFAULT; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.BETA; -import static udmi.schema.FeatureEnumeration.FeatureStage.PREVIEW; -import static udmi.schema.FeatureEnumeration.FeatureStage.STABLE; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.BETA; +import static udmi.schema.FeatureDiscovery.FeatureStage.PREVIEW; +import static udmi.schema.FeatureDiscovery.FeatureStage.STABLE; import java.io.File; import java.util.HashMap; import java.util.Map; import udmi.schema.Bucket; -import udmi.schema.FeatureEnumeration; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery; +import udmi.schema.FeatureDiscovery.FeatureStage; import udmi.schema.Level; /** @@ -31,7 +31,7 @@ public abstract class SupportedFeatures { private static final String PUBBER_FEATURES_JSON = "out/pubber_features.json"; - private static final Map FEATURES_MAP = new HashMap<>(); + private static final Map FEATURES_MAP = new HashMap<>(); static { add(ENDPOINT_CONFIG, BETA); @@ -44,9 +44,9 @@ public abstract class SupportedFeatures { } private static void add(Bucket featureBucket, FeatureStage stage) { - FeatureEnumeration featureEnumeration = new FeatureEnumeration(); - featureEnumeration.stage = stage; - FEATURES_MAP.put(featureBucket.value(), featureEnumeration); + FeatureDiscovery featureDiscovery = new FeatureDiscovery(); + featureDiscovery.stage = stage; + FEATURES_MAP.put(featureBucket.value(), featureDiscovery); } /** @@ -64,7 +64,7 @@ public static void writeFeatureFile(String sitePath, DeviceManager deviceManager } } - public static Map getFeatures() { + public static Map getFeatures() { return FEATURES_MAP; } diff --git a/pubber/src/test/java/daq/pubber/SupportedFeaturesTest.java b/pubber/src/test/java/daq/pubber/SupportedFeaturesTest.java index 20f5392659..d23da54891 100644 --- a/pubber/src/test/java/daq/pubber/SupportedFeaturesTest.java +++ b/pubber/src/test/java/daq/pubber/SupportedFeaturesTest.java @@ -10,8 +10,8 @@ import java.util.Map; import org.junit.Test; import udmi.schema.Bucket; -import udmi.schema.FeatureEnumeration; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery; +import udmi.schema.FeatureDiscovery.FeatureStage; /** * Unit tests to make sure supported feature generation is working properly. @@ -19,13 +19,13 @@ public class SupportedFeaturesTest { @Test - public void basicFeatureEnumeration() { - Map featureMap = SupportedFeatures.getFeatures(); + public void basicFeatureDiscovery() { + Map featureMap = SupportedFeatures.getFeatures(); featureMap.forEach((key, value) -> { assertNotEquals("Feature " + key, FeatureStage.DISABLED, value.stage); assertTrue("Invalid feature name: " + key, Bucket.contains(key)); }); - FeatureEnumeration enumeration = featureMap.get(ENUMERATION_FEATURES.value()); + FeatureDiscovery enumeration = featureMap.get(ENUMERATION_FEATURES.value()); assertEquals("features enumeration", enumeration.stage, FeatureStage.BETA); } diff --git a/schema/config_discovery.json b/schema/config_discovery.json index 30eda480cf..cc6fe63dbe 100644 --- a/schema/config_discovery.json +++ b/schema/config_discovery.json @@ -12,13 +12,17 @@ "format": "date-time" }, "enumerate": { + "description": "Indicates which discovery sub-categories to activate", "type": "object", "additionalProperties": false, "properties": { "families": { "type": "boolean" }, - "uniqs": { + "devices": { + "type": "boolean" + }, + "points": { "type": "boolean" }, "features": { @@ -27,7 +31,7 @@ } }, "families": { - "description": "Address family config for a scan. Not included for device enumeration messages.", + "description": "Address family config for a scan.", "existingJavaType": "java.util.HashMap", "additionalProperties": false, "patternProperties": { diff --git a/schema/discovery_device.json b/schema/discovery_device.json new file mode 100644 index 0000000000..807372c448 --- /dev/null +++ b/schema/discovery_device.json @@ -0,0 +1,10 @@ +{ + "$udmi_version": "1.5.0", + "title": "Device Discovery", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "description": "Information about an individual device scan result.", + "properties": { + } +} diff --git a/schema/event_discovery_family.json b/schema/discovery_family.json similarity index 75% rename from schema/event_discovery_family.json rename to schema/discovery_family.json index 469c7ab0f3..c8a6d0f5d0 100644 --- a/schema/event_discovery_family.json +++ b/schema/discovery_family.json @@ -1,10 +1,10 @@ { "$udmi_version": "1.5.0", - "title": "Family Discovery Event", + "title": "Family Discovery", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, - "description": "Discovery information for an individual protocol family.", + "description": "Discovery information for a protocol family.", "properties": { "addr": { "type": "string", diff --git a/schema/enumeration_feature.json b/schema/discovery_feature.json similarity index 86% rename from schema/enumeration_feature.json rename to schema/discovery_feature.json index 00f33d9854..024dd7dded 100644 --- a/schema/enumeration_feature.json +++ b/schema/discovery_feature.json @@ -1,7 +1,7 @@ { "$udmi_version": "1.5.0", - "title": "Feature Enumeration", - "description": "Object representation for for a single feature enumeration", + "title": "Feature Discovery", + "description": "Object representation for for a single feature", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, diff --git a/schema/event_discovery_point.json b/schema/discovery_point.json similarity index 90% rename from schema/event_discovery_point.json rename to schema/discovery_point.json index 5aad6baa9e..fd62e0de52 100644 --- a/schema/event_discovery_point.json +++ b/schema/discovery_point.json @@ -1,7 +1,7 @@ { "$udmi_version": "1.5.0", - "title": "Point Enumeration Event", - "description": "Object representation for for a single point enumeration", + "title": "Point Discovery", + "description": "Object representation for for a single point discovery", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, diff --git a/schema/discovery_registry.json b/schema/discovery_registry.json new file mode 100644 index 0000000000..17f2d0b5c2 --- /dev/null +++ b/schema/discovery_registry.json @@ -0,0 +1,22 @@ +{ + "$udmi_version": "1.5.0", + "title": "Registry Discovery", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "description": "Information about an individual registry.", + "properties": { + "last_seen": { + "description": "Timestamp of when a message was last seen for this registry", + "type": "string", + "format": "date-time", + "examples": ["2019-01-17T14:02:29.364Z"] + }, + "last_update": { + "description": "Last update of the registry information", + "type": "string", + "format": "date-time", + "examples": ["2019-01-17T14:02:29.364Z"] + } + } +} diff --git a/schema/equipment_translation.json b/schema/equipment_translation.json index a83e48a1eb..b937684bbe 100644 --- a/schema/equipment_translation.json +++ b/schema/equipment_translation.json @@ -1,7 +1,7 @@ { "$udmi_version": "1.5.0", "title": "Building Config", - "description": "[Discovery result](../docs/specs/discovery.md) with implicit enumeration", + "description": "[Discovery result](../docs/specs/discovery.md) with implicit results", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, diff --git a/schema/event_discovery.json b/schema/event_discovery.json index 0e84dbe6e7..6f714cfbd1 100644 --- a/schema/event_discovery.json +++ b/schema/event_discovery.json @@ -1,7 +1,7 @@ { "$udmi_version": "1.5.0", "title": "Discovery Event", - "description": "[Discovery result](../docs/specs/discovery.md) with implicit enumeration", + "description": "[Discovery result](../docs/specs/discovery.md) with implicit discovery", "$section": "Messages", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", @@ -35,33 +35,55 @@ "type": "string" }, "families": { - "description": "Address family discovery results.", + "description": "Address family discovery discovery results.", "type": "object", "additionalProperties": false, - "existingJavaType": "java.util.Map", + "existingJavaType": "java.util.Map", "patternProperties": { "^[a-z][a-z0-9]*(_[a-z0-9]+)*$": { - "$ref": "file:event_discovery_family.json" + "$ref": "file:discovery_family.json" } } }, - "uniqs": { - "description": "Collection of unique data points available for this device.", + "registries": { + "description": "Registry discovery results.", + "type": "object", + "additionalProperties": false, + "existingJavaType": "java.util.Map", + "patternProperties": { + "^[A-Z]{2,6}-[1-9][0-9]*$": { + "$ref": "file:discovery_registry.json" + } + } + }, + "devices": { + "description": "Device discovery scan results.", + "type": "object", + "additionalProperties": false, + "existingJavaType": "java.util.Map", + "patternProperties": { + "^[A-Z]{2,6}-[1-9][0-9]*$": { + "$ref": "file:discovery_device.json" + } + } + }, + "points": { + "description": "Collection of data points available for this device.", "additionalProperties": false, - "existingJavaType": "java.util.Map", + "existingJavaType": "java.util.Map", "patternProperties": { "^[-_.:/a-zA-Z0-9]+$": { - "$ref": "file:event_discovery_point.json#" + "$ref": "file:discovery_point.json#" } } }, "features": { - "description": "Enumeration of features supported by this device.", + "description": "Discovery of features supported by this device.", "additionalProperties": false, - "existingJavaType": "java.util.Map", + "existingJavaType": "java.util.Map", "patternProperties": { "^[._a-zA-Z]+$": { - "$ref": "file:enumeration_feature.json" + "$ref": "file:discovery_feature.json" } } }, diff --git a/schema/model_discovery.json b/schema/model_discovery.json index c7493f1723..aead767204 100644 --- a/schema/model_discovery.json +++ b/schema/model_discovery.json @@ -7,7 +7,7 @@ "additionalProperties": false, "properties": { "families": { - "existingJavaType": "java.util.HashMap", + "existingJavaType": "java.util.HashMap", "patternProperties": { "^[a-z][a-z0-9]*(_[a-z0-9]+)*$": { "$ref": "file:model_discovery_family.json#" @@ -16,4 +16,3 @@ } } } - diff --git a/schema/model_discovery_family.json b/schema/model_discovery_family.json index 6d7d8a1af5..03f10dd347 100644 --- a/schema/model_discovery_family.json +++ b/schema/model_discovery_family.json @@ -1,6 +1,6 @@ { "$udmi_version": "1.5.0", - "title": "Family Discovery Testing Model", + "title": "Family Discovery Model", "type": "object", "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, diff --git a/schema/model_features.json b/schema/model_features.json index 9e83f68386..de43296928 100644 --- a/schema/model_features.json +++ b/schema/model_features.json @@ -5,10 +5,10 @@ "type": "object", "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, - "existingJavaType": "java.util.Map", + "existingJavaType": "java.util.Map", "patternProperties": { "^[._a-zA-Z]+$": { - "$ref": "file:enumeration_feature.json" + "$ref": "file:discovery_feature.json" } } } diff --git a/schema/state_discovery.json b/schema/state_discovery.json index 27748a0ea5..16264016f0 100644 --- a/schema/state_discovery.json +++ b/schema/state_discovery.json @@ -7,7 +7,7 @@ "additionalProperties": false, "properties": { "generation": { - "description": "Generational marker for enumeration", + "description": "Generational marker to group results together", "type": "string", "format": "date-time" }, diff --git a/schema/state_pointset_point.json b/schema/state_pointset_point.json index afd64ec494..2d899c1556 100644 --- a/schema/state_pointset_point.json +++ b/schema/state_pointset_point.json @@ -11,7 +11,7 @@ "type": "string" }, "value_state": { - "description": "Optional enumeration indicating the state of the points value.", + "description": "State of the individual point", "enum": [ "initializing", "applied", diff --git a/schema/state_validation_schema.json b/schema/state_validation_schema.json index e0a4e02a61..7d3972ce82 100644 --- a/schema/state_validation_schema.json +++ b/schema/state_validation_schema.json @@ -7,7 +7,7 @@ "additionalProperties": false, "properties": { "stages": { - "existingJavaType": "java.util.Map", + "existingJavaType": "java.util.Map", "additionalProperties": false, "patternProperties": { "^[_a-z]+$": { diff --git a/tests/discovery/bitbox/1.json b/tests/discovery/bitbox/1.json new file mode 100644 index 0000000000..69a8e3f2e2 --- /dev/null +++ b/tests/discovery/bitbox/1.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"4003307","device":"bacnet-4003307","name":"device4003307","timestamp":"2024-02-17T08:31:46.233251Z","version":1,"data":{"binary-value_23":{"active-text":"Enabled","object-name":"maintenance_mode_enable_bbvi_2","object-type":"binary-value","inactive-text":"Disabled","present-value":"active"},"binary-value_22":{"active-text":"On","object-name":"maintenance_mode_bbvo_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_21":{"active-text":"On","object-name":"local_maintenance_mode_bbvo_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_20":{"active-text":"Maintenance","object-name":"local_maintenance_mode_bbvi_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_27":{"active-text":"On","object-name":"purge_mode_bvo_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_26":{"active-text":"Occupied","object-name":"occ_2","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_25":{"active-text":"Yes","object-name":"allow_sip_2","object-type":"binary-value","inactive-text":"No","present-value":"inactive"},"binary-value_1":{"active-text":"Yes","object-name":"allow_purge_bbvi_1","object-type":"binary-value","inactive-text":"No","present-value":"inactive"},"binary-value_24":{"active-text":"Yes","object-name":"allow_purge_2","object-type":"binary-value","inactive-text":"No","present-value":"inactive"},"binary-value_3":{"active-text":"FC-1-3","object-name":"fcu_name_bbvi_1","object-type":"binary-value","inactive-text":"FC-1-3","present-value":"active"},"binary-value_2":{"active-text":"Yes","object-name":"allow_shelter_in_place_bbvi_1","object-type":"binary-value","inactive-text":"No","present-value":"inactive"},"binary-value_5":{"active-text":"On","object-name":"run_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_4":{"active-text":"On","object-name":"purge_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_7":{"active-text":"Alarm","object-name":"exhaust_fan_fail_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_6":{"active-text":"On","object-name":"shelter_in_place_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_9":{"active-text":"On","object-name":"supply_fan_status_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_8":{"active-text":"Occupied","object-name":"schedule_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"active"},"binary-value_19":{"active-text":"On","object-name":"supply_fan_hand_alarm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_18":{"active-text":"Alarm","object-name":"supply_fan_failed_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_17":{"active-text":"Alarm","object-name":"supply_air_temp_lo_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_34":{"active-text":"Maintenance","object-name":"local_maintenance_mode_bbvi_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_33":{"active-text":"On","object-name":"maintenance_mode_alarm_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_32":{"active-text":"On","object-name":"exhaust_fan_hand_alm_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_31":{"active-text":"Alarm","object-name":"exhaust_fan_fail_alm_2","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_38":{"active-text":"On","object-name":"maintenance_mode_alarm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_37":{"active-text":"Enabled","object-name":"maintenance_mode_enable_bbvi_1","object-type":"binary-value","inactive-text":"Disabled","present-value":"active"},"binary-value_36":{"active-text":"On","object-name":"maintenance_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"binary-value_35":{"active-text":"On","object-name":"local_maintenance_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"binary-value_30":{"active-text":"On","object-name":"sip_bvo_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"exhaust_fan_status_bi_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_asvi_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"exhaust_fan_enable_bo_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"supply_fan_enable_bo_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_29":{"active-text":"Occupied","object-name":"schedule_2","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_28":{"active-text":"On","object-name":"run_2","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cooling_setpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"leak_detection_bi_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"supply_air_temp_ai_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cooling_enable_bo_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"supply_fan_status_bi_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"900_1":{"object-name":"Network Port","object-type":"900"},"file_209":{"object-name":"PRG:g5087disk_ef_restroom_zn","object-type":"file"},"file_201":{"object-name":"PARS:PRG 2","object-type":"file"},"file_202":{"object-name":"STAT:PRG 2","object-type":"file"},"file_204":{"object-name":"OSPACE:PRG 2","object-type":"file"},"program_2":{"program-state":"running","program-change":"ready","object-name":"program_2","program-location":"EF-3 W/C 1G8 & Storage 1G9","object-type":"program","reason-for-halt":"normal"},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"FC-1-3 & EF-5 Elec. Rm. 1H0","object-type":"program","reason-for-halt":"normal"},"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"zone_temp_asvi_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":66.2},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"maintenance_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"local_maintenance_mode_tn_2","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"shelter_in_place_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"local_maintenance_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"maintenance_mode_tn_2","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-output_4":{"active-text":"On","object-name":"exhaust_fan_enable_bo_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"binary-output_3":{"active-text":"On","object-name":"exhaust_fan_enable_2","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"run_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-output_2":{"active-text":"On","object-name":"supply_fan_enable_bo_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"purge_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g5087disk_ef_dxfc_standby","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"multi-state-value_1":{"object-name":"run_select_msvo_1","object-type":"multi-state-value","state-text":["Off","Auto"],"present-value":2},"file_94":{"object-name":"INDEX:94","object-type":"file"},"analog-input_2":{"object-name":"supply_air_temp_ai_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":66.15},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"device_4003307":{"object-name":"device4003307","application-software-version":"PRG:g5087disk_ef_dxfc_standby","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0xA80F) ","object-type":"device","model-name":"SE563","vendor-name":"Automated Logic Corporation","system-status":"operational"},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"Alarm","object-name":"compressor_poss_fail_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"Alarm","object-name":"leak_detection_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_1":{"object-name":"cooling_setpt_bavi_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":80.0},"binary-value_10":{"active-text":"On","object-name":"exhaust_fan_hand_alarm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_15":{"active-text":"Alarm","object-name":"zone_temperature_high_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_16":{"active-text":"Alarm","object-name":"supply_air_temp_hi_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_13":{"active-text":"On","object-name":"zone_sensor_comm_fail_alarm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_14":{"active-text":"On","object-name":"zone_sensor_fail_alarm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-output_1":{"active-text":"On","object-name":"cooling_enable_bo_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"sip_tn_2","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"occ_status_tn_2","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"transition_time_tn_2","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"run_status_tn_2","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"device":"device_40999"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"purge_mode_tn_2","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"binary-input_4":{"active-text":"On","object-name":"supply_fan_status_bi_1","object-type":"binary-input","inactive-text":"Off","present-value":"inactive"},"binary-input_3":{"active-text":"On","object-name":"leak_detection_bi_1","object-type":"binary-input","inactive-text":"Off","present-value":"inactive"},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"exhaust_fan_enable_trend_log_2","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-input_2":{"active-text":"On","object-name":"exhaust_fan_status_2","object-type":"binary-input","inactive-text":"Off","present-value":"inactive"},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"exhaust_fan_status_trend_log_2","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-input_1":{"active-text":"On","object-name":"exhaust_fan_status_bi_1","object-type":"binary-input","inactive-text":"Off","present-value":"inactive"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/10.json b/tests/discovery/bitbox/10.json new file mode 100644 index 0000000000..e3adca9155 --- /dev/null +++ b/tests/discovery/bitbox/10.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401705","device":"bacnet-3401705","name":"device3401705","timestamp":"2024-02-17T08:31:30.662999Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":70.1},"binary-value_1":{"active-text":"is","object-name":"clok_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_5":{"active-text":"Occupied","object-name":"schedule_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"htg_stg2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_7":{"active-text":"Alarm","object-name":"sat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"htg_stg1_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"On","object-name":"dx_rntm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_9":{"active-text":"Alarm","object-name":"sf_failed_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stage_num_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-value_8":{"active-text":"Alarm","object-name":"sat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-output_5":{"active-text":"On","object-name":"htg_stg2_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"binary-output_4":{"active-text":"On","object-name":"htg_stg1_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"binary-output_3":{"active-text":"On","object-name":"sfan_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-output_2":{"active-text":"On","object-name":"clg_stg2_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_ac_2clg_2htg","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"sa_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stage_num_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-input_2":{"object-name":"sa_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":59.9},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"clg_stg1_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"sf_status_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"sfan_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"clg_stg2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"enabled_htstages_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_13":{"object-name":"enviro_windx_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"zone_temp_1","object-type":"analog-value","units":"degrees-phase","present-value":70.1},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"zn_enviro_indx_1","object-type":"analog-value","units":"percent","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"total_weight_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"On","object-name":"sf_rntm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_1":{"object-name":"override_time_remaining_1","object-type":"analog-value","units":"minutes","present-value":0.0},"binary-value_10":{"active-text":"On","object-name":"sf_hand_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_2":{"object-name":"active_zones_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_13":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_14":{"active-text":"is","object-name":"htok_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-output_1":{"active-text":"On","object-name":"clg_stg1_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"htgstpt_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"analog-value_8":{"object-name":"metric_conv_1","object-type":"analog-value","units":"no-units","present-value":32.0},"analog-value_9":{"object-name":"zn_ei_time_sat_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_3":{"object-name":"clgstpt_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":85.0},"analog-value_4":{"object-name":"ei_weight_1","object-type":"analog-value","units":"no-units","present-value":1.0},"analog-value_5":{"object-name":"enabled_clstages_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_6":{"object-name":"item_count_1","object-type":"analog-value","units":"no-units","present-value":1.0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"binary-input_1":{"active-text":"On","object-name":"sf_status_1","object-type":"binary-input","inactive-text":"Off","present-value":"inactive"},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"AC-2 Training Room","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"device_3401705":{"object-name":"device3401705","application-software-version":"PRG:g2700garcia_ac_2clg_2htg","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0xCAD7) ","object-type":"device","model-name":"ZN551","vendor-name":"Automated Logic Corporation","system-status":"operational"},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/11.json b/tests/discovery/bitbox/11.json new file mode 100644 index 0000000000..e3adca9155 --- /dev/null +++ b/tests/discovery/bitbox/11.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401705","device":"bacnet-3401705","name":"device3401705","timestamp":"2024-02-17T08:31:30.662999Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":70.1},"binary-value_1":{"active-text":"is","object-name":"clok_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_5":{"active-text":"Occupied","object-name":"schedule_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"htg_stg2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_7":{"active-text":"Alarm","object-name":"sat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"htg_stg1_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"On","object-name":"dx_rntm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_9":{"active-text":"Alarm","object-name":"sf_failed_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stage_num_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-value_8":{"active-text":"Alarm","object-name":"sat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-output_5":{"active-text":"On","object-name":"htg_stg2_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"binary-output_4":{"active-text":"On","object-name":"htg_stg1_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"binary-output_3":{"active-text":"On","object-name":"sfan_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-output_2":{"active-text":"On","object-name":"clg_stg2_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_ac_2clg_2htg","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"sa_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stage_num_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-input_2":{"object-name":"sa_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":59.9},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"clg_stg1_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"sf_status_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"sfan_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"clg_stg2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"enabled_htstages_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_13":{"object-name":"enviro_windx_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"zone_temp_1","object-type":"analog-value","units":"degrees-phase","present-value":70.1},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"zn_enviro_indx_1","object-type":"analog-value","units":"percent","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"total_weight_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"On","object-name":"sf_rntm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_1":{"object-name":"override_time_remaining_1","object-type":"analog-value","units":"minutes","present-value":0.0},"binary-value_10":{"active-text":"On","object-name":"sf_hand_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_2":{"object-name":"active_zones_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_13":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_14":{"active-text":"is","object-name":"htok_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-output_1":{"active-text":"On","object-name":"clg_stg1_1","object-type":"binary-output","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"htgstpt_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"analog-value_8":{"object-name":"metric_conv_1","object-type":"analog-value","units":"no-units","present-value":32.0},"analog-value_9":{"object-name":"zn_ei_time_sat_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_3":{"object-name":"clgstpt_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":85.0},"analog-value_4":{"object-name":"ei_weight_1","object-type":"analog-value","units":"no-units","present-value":1.0},"analog-value_5":{"object-name":"enabled_clstages_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_6":{"object-name":"item_count_1","object-type":"analog-value","units":"no-units","present-value":1.0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"binary-input_1":{"active-text":"On","object-name":"sf_status_1","object-type":"binary-input","inactive-text":"Off","present-value":"inactive"},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"AC-2 Training Room","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"device_3401705":{"object-name":"device3401705","application-software-version":"PRG:g2700garcia_ac_2clg_2htg","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0xCAD7) ","object-type":"device","model-name":"ZN551","vendor-name":"Automated Logic Corporation","system-status":"operational"},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/12.json b/tests/discovery/bitbox/12.json new file mode 100644 index 0000000000..f3e72befe2 --- /dev/null +++ b/tests/discovery/bitbox/12.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"4003909","device":"bacnet-4003909","name":"device4003909","timestamp":"2024-02-17T08:31:31.678775Z","version":1,"data":{"binary-value_23":{"active-text":"Alarm","object-name":"hot_water_valve_cycling_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_22":{"active-text":"Alarm","object-name":"high_zone_temp_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_21":{"active-text":"Alarm","object-name":"high_flow_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_20":{"active-text":"Alarm","object-name":"heat_fail_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_27":{"active-text":"Alarm","object-name":"nonstop_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_26":{"active-text":"Alarm","object-name":"low_zone_temp_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_25":{"active-text":"Alarm","object-name":"low_flow_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_1":{"active-text":"On","object-name":"energy_saving_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_24":{"active-text":"Alarm","object-name":"hot_water_valve_leak_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"maintenance_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"active"},"binary-value_2":{"active-text":"is","object-name":"heat_mode_bbvo_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_5":{"active-text":"On","object-name":"run_command_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_4":{"active-text":"Enable Purge","object-name":"purge_mode_status_bbvo_1","object-type":"binary-value","inactive-text":"Disable Purge","present-value":"inactive"},"binary-value_7":{"active-text":"On","object-name":"warm-up_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_6":{"active-text":"Occupied","object-name":"schedule_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_9":{"active-text":"Override Off","object-name":"zone_override_off_bbvo_1","object-type":"binary-value","inactive-text":"Override On","present-value":"active"},"binary-value_8":{"active-text":"Occupied","object-name":"zone_occupancy_status_bbvo_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_19":{"active-text":"Alarm","object-name":"excessive_heat_request_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_18":{"active-text":"Alarm","object-name":"excessive_cool_request_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_17":{"active-text":"Alarm","object-name":"excessive_air_cfm_request_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_34":{"active-text":"On","object-name":"maintenance_mode_alarm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_33":{"active-text":"Enabled","object-name":"maintenance_mode_enable_bbvi_1","object-type":"binary-value","inactive-text":"Disabled","present-value":"active"},"binary-value_32":{"active-text":"Local Maintenance","object-name":"local_maintenance_mode_bbvi_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_31":{"active-text":"On","object-name":"cascade_maintenance_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"binary-value_30":{"active-text":"On","object-name":"ahu_sf_failure_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"effective_cool_setpoint_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_command_ao_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_asvi_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_29":{"active-text":"Alarm","object-name":"zone_sensor_failure_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_40":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"maintenance_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_28":{"active-text":"Alarm","object-name":"vav_starve_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cooling_percent_output_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"effective_heat_setpoint_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"discharge_air_temperature_ai_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"occ_status_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-output_1":{"object-name":"hot_water_valve_command_ao_1","object-type":"analog-output","units":"percent","present-value":0.0},"analog-value_19":{"object-name":"item_count_1","object-type":"analog-value","units":"no-units","present-value":1.0},"analog-value_18":{"object-name":"active_zones_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_17":{"object-name":"discharge_air_temp_setpoint_bavo_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"analog-value_16":{"object-name":"demand_level_bavo_1","object-type":"analog-value","units":"no-units","present-value":0.0},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_15":{"object-name":"cool_request_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_14":{"object-name":"cool_request_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":0.0},"device_4003909":{"object-name":"device4003909","application-software-version":"PRG:g5087disk_vav_rh_zs","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0xF5E3) ","object-type":"device","model-name":"ZN341A","vendor-name":"Automated Logic Corporation","system-status":"operational"},"analog-value_13":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_12":{"object-name":"air_request_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":100.0},"analog-value_11":{"object-name":"air_request_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":514.5417},"analog-value_10":{"object-name":"flow_setpt_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":123.0},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV RH M-1-15","object-type":"program","reason-for-halt":"normal"},"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_39":{"object-name":"enviro_windx_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_38":{"object-name":"total_weight_1","object-type":"analog-value","units":"no-units","present-value":0.0},"768_1":{"object-name":"flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heatt_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heat_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"pressure_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"house_ac_sa_temperature_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviromental_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"energy_saving_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heating_percent_output_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"flow_cfm_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"discharge_air_temp_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cool_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_37":{"object-name":"zn_ei_time_sat_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_36":{"object-name":"zn_enviro_indx_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_35":{"object-name":"zone_enviormental_index_weight_bavi_1","object-type":"analog-value","units":"no-units","present-value":1.0},"analog-value_34":{"object-name":"warmup_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_109":{"object-name":"PRG:g5087disk_vav_rh_zs","object-type":"file"},"analog-value_33":{"object-name":"vav_heating_airflow_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":0.0},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"analog-value_32":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_31":{"object-name":"vav_damper_position_bavo_1","object-type":"analog-value","units":"percent","present-value":100.0},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"analog-value_30":{"object-name":"schedule_override_time_bavo_1","object-type":"analog-value","units":"minutes","present-value":0.0},"analog-value_29":{"object-name":"press_request_1","object-type":"analog-value","units":"no-units","present-value":3.0},"analog-value_28":{"object-name":"percent_cfm_deviation_bavo_1","object-type":"analog-value","units":"percent","present-value":100.0},"analog-value_27":{"object-name":"outside_air_temperature_bavo_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":56.5},"multi-state-value_1":{"object-name":"damper_leak_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"multi-state-value_3":{"object-name":"dat_low_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"multi-state-value_2":{"object-name":"dat_high_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"multi-state-value_5":{"object-name":"heat_leak_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"multi-state-value_4":{"object-name":"dat_sense_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"file_94":{"object-name":"INDEX:94","object-type":"file"},"analog-value_26":{"object-name":"outside_air_humidity_bavo_1","object-type":"analog-value","units":"percent-relative-humidity","present-value":71.8},"multi-state-value_7":{"object-name":"high_zone_temp_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":2},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_25":{"object-name":"occupied_run_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":77.549866},"multi-state-value_6":{"object-name":"high_flow_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"analog-value_24":{"object-name":"occupied_run_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":338.9125},"multi-state-value_9":{"object-name":"low_zone_temp_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":2},"analog-input_3":{"object-name":"zone_temp_asvi_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":65.8},"analog-value_23":{"object-name":"metric_conversion_bavi_1","object-type":"analog-value","units":"no-units","present-value":32.0},"analog-input_2":{"object-name":"discharge_air_temperature_ai_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":68.5},"multi-state-value_8":{"object-name":"low_flow_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"binary-value_4001001":{"object-name":"Reheat Valve Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_22":{"object-name":"heat_request_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":94.16701},"analog-value_21":{"object-name":"heat_request_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":411.5336},"analog-value_20":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"trend-log_39":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"local_maintenance_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"loop_1":{"object-name":"hot_water_valve_pid_1","object-type":"loop","output-units":"percent","present-value":0.0},"trend-log_38":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heating_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_35":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_34":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_setpt_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_37":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cooling_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_36":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_pidout_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_31":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_override_on_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_30":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_override_off_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_33":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_loop_in_control_trendlog_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_32":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_weighted_ei_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"Alarm","object-name":"damper_cycling_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"Alarm","object-name":"damper_leak_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_1":{"object-name":"occupied_cool_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":74.0},"analog-value_4201":{"object-name":"cool_max_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":1600.0},"analog-value_2":{"object-name":"occupied_heat_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":70.0},"binary-value_10":{"active-text":"Overidden","object-name":"zone_override_on_bbvo_1","object-type":"binary-value","inactive-text":"Scheduled","present-value":"inactive"},"analog-value_4202":{"object-name":"heat_max_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":500.0},"binary-value_15":{"active-text":"Alarm","object-name":"discharge_air_temp_sensor_error_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_4203":{"object-name":"occ_min_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":245.0},"binary-value_16":{"active-text":"Alarm","object-name":"discharge_air_temp_sensor_fail_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_4204":{"object-name":"unocc_min_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":123.0},"binary-value_13":{"active-text":"Alarm","object-name":"discharge_air_temp_high_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_14":{"active-text":"Alarm","object-name":"discharge_air_temp_low_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_7":{"object-name":"effective_cool_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":85.0},"multi-state-value_10":{"object-name":"nonstop_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"analog-value_8":{"object-name":"effective_heat_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"multi-state-value_12":{"object-name":"zone_mode_bmsvo_1","object-type":"multi-state-value","state-text":["Deadband Mode","Heating Mode","Cooling Mode","Purge Mode","Morning Warm Up Mode","Ventilation Mode"],"present-value":1},"analog-value_9":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"minutes","present-value":0.0},"multi-state-value_11":{"object-name":"starve_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":2},"trend-log_28":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_ei_time_satisfied_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_3":{"object-name":"unoccupied_cool_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":85.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"warmup_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_4":{"object-name":"unoccupied_heat_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"analog-value_5":{"object-name":"cool_setpoint_adjust_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":0.0},"trend-log_29":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_6":{"object-name":"heat_setpoint_adjust_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":0.0},"analog-value_40":{"object-name":"hot_water_valve_pid_setpt_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"setpoint_adjust_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"vav_heating_airflowf_percent_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"device":"device_40999"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"vav_damper_position_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"purge_mode_status_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"run_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"run_command_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"analog-value_42":{"object-name":"hot_water_valve_pid_pidout_1","object-type":"analog-value","units":"percent","present-value":0.0},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"analog-value_41":{"object-name":"hot_water_valve_pid_input_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":68.5},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/13.json b/tests/discovery/bitbox/13.json new file mode 100644 index 0000000000..f02f56c35a --- /dev/null +++ b/tests/discovery/bitbox/13.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"4003906","device":"bacnet-4003906","name":"device4003906","timestamp":"2024-02-17T08:31:32.495563Z","version":1,"data":{"binary-value_23":{"active-text":"Alarm","object-name":"hot_water_valve_cycling_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_22":{"active-text":"Alarm","object-name":"high_zone_temp_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_21":{"active-text":"Alarm","object-name":"high_flow_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_20":{"active-text":"Alarm","object-name":"heat_fail_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_27":{"active-text":"Alarm","object-name":"nonstop_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_26":{"active-text":"Alarm","object-name":"low_zone_temp_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_25":{"active-text":"Alarm","object-name":"low_flow_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_1":{"active-text":"On","object-name":"energy_saving_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_24":{"active-text":"Alarm","object-name":"hot_water_valve_leak_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"maintenance_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"active"},"binary-value_2":{"active-text":"is","object-name":"heat_mode_bbvo_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_5":{"active-text":"On","object-name":"run_command_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_4":{"active-text":"Enable Purge","object-name":"purge_mode_status_bbvo_1","object-type":"binary-value","inactive-text":"Disable Purge","present-value":"inactive"},"binary-value_7":{"active-text":"On","object-name":"warm-up_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_6":{"active-text":"Occupied","object-name":"schedule_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_9":{"active-text":"Override Off","object-name":"zone_override_off_bbvo_1","object-type":"binary-value","inactive-text":"Override On","present-value":"active"},"binary-value_8":{"active-text":"Occupied","object-name":"zone_occupancy_status_bbvo_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_19":{"active-text":"Alarm","object-name":"excessive_heat_request_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_18":{"active-text":"Alarm","object-name":"excessive_cool_request_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_17":{"active-text":"Alarm","object-name":"excessive_air_cfm_request_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_34":{"active-text":"On","object-name":"maintenance_mode_alarm_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_33":{"active-text":"Enabled","object-name":"maintenance_mode_enable_bbvi_1","object-type":"binary-value","inactive-text":"Disabled","present-value":"active"},"binary-value_32":{"active-text":"Local Maintenance","object-name":"local_maintenance_mode_bbvi_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_31":{"active-text":"On","object-name":"cascade_maintenance_mode_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"binary-value_30":{"active-text":"On","object-name":"ahu_sf_failure_bbvo_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"effective_cool_setpoint_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_command_ao_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_asvi_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_29":{"active-text":"Alarm","object-name":"zone_sensor_failure_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_40":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"maintenance_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_28":{"active-text":"Alarm","object-name":"vav_starve_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cooling_percent_output_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"effective_heat_setpoint_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"discharge_air_temperature_ai_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"occ_status_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-output_1":{"object-name":"hot_water_valve_command_ao_1","object-type":"analog-output","units":"percent","present-value":0.0},"analog-value_19":{"object-name":"item_count_1","object-type":"analog-value","units":"no-units","present-value":1.0},"analog-value_18":{"object-name":"active_zones_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_17":{"object-name":"discharge_air_temp_setpoint_bavo_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"analog-value_16":{"object-name":"demand_level_bavo_1","object-type":"analog-value","units":"no-units","present-value":0.0},"900_1":{"object-name":"Network Port","object-type":"900"},"device_4003906":{"object-name":"device4003906","application-software-version":"PRG:g5087disk_vav_rh_zs","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0xF5E3) ","object-type":"device","model-name":"ZN341A","vendor-name":"Automated Logic Corporation","system-status":"operational"},"analog-value_15":{"object-name":"cool_request_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":29.839191},"analog-value_14":{"object-name":"cool_request_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":109.60167},"analog-value_13":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_12":{"object-name":"air_request_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":100.0},"analog-value_11":{"object-name":"air_request_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":516.30664},"analog-value_10":{"object-name":"flow_setpt_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":60.0},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV RH M-1-30","object-type":"program","reason-for-halt":"normal"},"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_39":{"object-name":"enviro_windx_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_38":{"object-name":"total_weight_1","object-type":"analog-value","units":"no-units","present-value":0.0},"768_1":{"object-name":"flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heatt_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heat_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"pressure_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"house_ac_sa_temperature_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviromental_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"energy_saving_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heating_percent_output_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"flow_cfm_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"discharge_air_temp_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cool_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_37":{"object-name":"zn_ei_time_sat_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_36":{"object-name":"zn_enviro_indx_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_35":{"object-name":"zone_enviormental_index_weight_bavi_1","object-type":"analog-value","units":"no-units","present-value":1.0},"analog-value_34":{"object-name":"warmup_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_109":{"object-name":"PRG:g5087disk_vav_rh_zs","object-type":"file"},"analog-value_33":{"object-name":"vav_heating_airflow_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":0.0},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"analog-value_32":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_31":{"object-name":"vav_damper_position_bavo_1","object-type":"analog-value","units":"percent","present-value":100.0},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"analog-value_30":{"object-name":"schedule_override_time_bavo_1","object-type":"analog-value","units":"minutes","present-value":0.0},"analog-value_29":{"object-name":"press_request_1","object-type":"analog-value","units":"no-units","present-value":3.0},"analog-value_28":{"object-name":"percent_cfm_deviation_bavo_1","object-type":"analog-value","units":"percent","present-value":100.0},"analog-value_27":{"object-name":"outside_air_temperature_bavo_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":56.5},"multi-state-value_1":{"object-name":"damper_leak_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"multi-state-value_3":{"object-name":"dat_low_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"multi-state-value_2":{"object-name":"dat_high_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"multi-state-value_5":{"object-name":"heat_leak_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"multi-state-value_4":{"object-name":"dat_sense_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"file_94":{"object-name":"INDEX:94","object-type":"file"},"analog-value_26":{"object-name":"outside_air_humidity_bavo_1","object-type":"analog-value","units":"percent-relative-humidity","present-value":71.8},"multi-state-value_7":{"object-name":"high_zone_temp_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":2},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_25":{"object-name":"occupied_run_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":92.663284},"multi-state-value_6":{"object-name":"high_flow_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"analog-value_24":{"object-name":"occupied_run_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":340.35944},"multi-state-value_9":{"object-name":"low_zone_temp_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":2},"analog-input_3":{"object-name":"zone_temp_asvi_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":71.7},"analog-value_23":{"object-name":"metric_conversion_bavi_1","object-type":"analog-value","units":"no-units","present-value":32.0},"analog-input_2":{"object-name":"discharge_air_temperature_ai_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":70.1},"multi-state-value_8":{"object-name":"low_flow_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":1},"binary-value_4001001":{"object-name":"Reheat Valve Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_22":{"object-name":"heat_request_percent_bavo_1","object-type":"analog-value","units":"percent","present-value":6.2643504},"analog-value_21":{"object-name":"heat_request_hours_bavo_1","object-type":"analog-value","units":"hours","present-value":23.009445},"analog-value_20":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"trend-log_39":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"local_maintenance_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"loop_1":{"object-name":"hot_water_valve_pid_1","object-type":"loop","output-units":"percent","present-value":0.0},"trend-log_38":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"heating_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_35":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_34":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_setpt_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_37":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cooling_setpoint_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_36":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_pidout_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_31":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_override_on_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_30":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_override_off_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_33":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hot_water_valve_pid_loop_in_control_trendlog_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_32":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_weighted_ei_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"Alarm","object-name":"damper_cycling_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"Alarm","object-name":"damper_leak_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_1":{"object-name":"occupied_cool_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":74.0},"analog-value_4201":{"object-name":"cool_max_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":225.0},"analog-value_2":{"object-name":"occupied_heat_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":70.0},"binary-value_10":{"active-text":"Overidden","object-name":"zone_override_on_bbvo_1","object-type":"binary-value","inactive-text":"Scheduled","present-value":"inactive"},"analog-value_4202":{"object-name":"heat_max_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":120.0},"binary-value_15":{"active-text":"Alarm","object-name":"discharge_air_temp_sensor_error_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_4203":{"object-name":"occ_min_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":120.0},"binary-value_16":{"active-text":"Alarm","object-name":"discharge_air_temp_sensor_fail_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_4204":{"object-name":"unocc_min_cfm_design_bavi_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":60.0},"binary-value_13":{"active-text":"Alarm","object-name":"discharge_air_temp_high_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_14":{"active-text":"Alarm","object-name":"discharge_air_temp_low_alarm_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_7":{"object-name":"effective_cool_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":85.0},"multi-state-value_10":{"object-name":"nonstop_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":7},"analog-value_8":{"object-name":"effective_heat_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"multi-state-value_12":{"object-name":"zone_mode_bmsvo_1","object-type":"multi-state-value","state-text":["Deadband Mode","Heating Mode","Cooling Mode","Purge Mode","Morning Warm Up Mode","Ventilation Mode"],"present-value":1},"analog-value_9":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"minutes","present-value":0.0},"multi-state-value_11":{"object-name":"starve_days_bmsvi_1","object-type":"multi-state-value","state-text":["1","2","3","4","5","6","7","8","9","10"],"present-value":2},"trend-log_28":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_ei_time_satisfied_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_3":{"object-name":"unoccupied_cool_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":85.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"warmup_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_4":{"object-name":"unoccupied_heat_setpoint_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"analog-value_5":{"object-name":"cool_setpoint_adjust_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":0.0},"trend-log_29":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_6":{"object-name":"heat_setpoint_adjust_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":0.0},"analog-value_40":{"object-name":"hot_water_valve_pid_setpt_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":60.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"setpoint_adjust_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"vav_heating_airflowf_percent_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"device":"device_40999"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"vav_damper_position_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"purge_mode_status_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"run_request_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"run_command_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"analog-value_42":{"object-name":"hot_water_valve_pid_pidout_1","object-type":"analog-value","units":"percent","present-value":0.0},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"analog-value_41":{"object-name":"hot_water_valve_pid_input_1","object-type":"analog-value","units":"degrees-fahrenheit","present-value":70.1},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/14.json b/tests/discovery/bitbox/14.json new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/tests/discovery/bitbox/14.json @@ -0,0 +1 @@ + diff --git a/tests/discovery/bitbox/15.json b/tests/discovery/bitbox/15.json new file mode 100644 index 0000000000..6d601a247e --- /dev/null +++ b/tests/discovery/bitbox/15.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401823","device":"bacnet-3401823","name":"device3401823","timestamp":"2024-02-17T08:31:36.590992Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":-22.0},"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_9":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_8":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":70.2},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.9},"analog-value_24":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":36.0},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_22":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":14.591116},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":14.591116},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":36.337276},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"device_3401823":{"object-name":"device3401823","application-software-version":"PRG:g2700garcia_vav_dd","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"binary-value_10":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":-21.74616},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 1-1-8 / 10 Person Office","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/16.json b/tests/discovery/bitbox/16.json new file mode 100644 index 0000000000..6d601a247e --- /dev/null +++ b/tests/discovery/bitbox/16.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401823","device":"bacnet-3401823","name":"device3401823","timestamp":"2024-02-17T08:31:36.590992Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":-22.0},"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_9":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_8":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":70.2},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.9},"analog-value_24":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":36.0},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_22":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":14.591116},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":14.591116},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":36.337276},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"device_3401823":{"object-name":"device3401823","application-software-version":"PRG:g2700garcia_vav_dd","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"binary-value_10":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":-21.74616},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 1-1-8 / 10 Person Office","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/2.json b/tests/discovery/bitbox/2.json new file mode 100644 index 0000000000..3beda394f9 --- /dev/null +++ b/tests/discovery/bitbox/2.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401806","device":"bacnet-3401806","name":"device3401806","timestamp":"2024-02-17T08:31:26.879160Z","version":1,"data":{"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_9":{"active-text":"Alarm","object-name":"zco2_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_8":{"active-text":"Alarm","object-name":"zco2_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_co2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_19":{"object-name":"co2_stpt_1","object-type":"analog-value","units":"parts-per-million","present-value":750.0},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":18.875257},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":11.737032},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 2-1-6 CO2","object-type":"program","reason-for-halt":"normal"},"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":7.0},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd_co2","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_94":{"object-name":"INDEX:94","object-type":"file"},"analog-input_5":{"object-name":"zone_co2_1","object-type":"analog-input","units":"parts-per-million","present-value":511.0},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_25":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":68.3},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.0},"analog-value_23":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":18.875257},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":12.0},"device_3401806":{"object-name":"device3401806","application-software-version":"PRG:g2700garcia_vav_dd_co2","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_1":{"object-name":"override_time_remaining_1","object-type":"analog-value","units":"minutes","present-value":0.0},"binary-value_10":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"trend-log_28":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":7.1382256},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_29":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"co2_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/3.json b/tests/discovery/bitbox/3.json new file mode 100644 index 0000000000..7d76ce4aaf --- /dev/null +++ b/tests/discovery/bitbox/3.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401809","device":"bacnet-3401809","name":"device3401809","timestamp":"2024-02-17T08:31:26.887237Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":22.0},"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_9":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_8":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"active"},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":68.2},"device_3401809":{"object-name":"device3401809","application-software-version":"PRG:g2700garcia_vav_dd","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"analog-value_24":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":5.0},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_22":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":26.759747},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":27.535166},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":4.643009},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.034690857},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_10":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":22.116737},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 2-1-9","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/4.json b/tests/discovery/bitbox/4.json new file mode 100644 index 0000000000..3beda394f9 --- /dev/null +++ b/tests/discovery/bitbox/4.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401806","device":"bacnet-3401806","name":"device3401806","timestamp":"2024-02-17T08:31:26.879160Z","version":1,"data":{"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_9":{"active-text":"Alarm","object-name":"zco2_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_8":{"active-text":"Alarm","object-name":"zco2_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_co2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_19":{"object-name":"co2_stpt_1","object-type":"analog-value","units":"parts-per-million","present-value":750.0},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":18.875257},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":11.737032},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 2-1-6 CO2","object-type":"program","reason-for-halt":"normal"},"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":7.0},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd_co2","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_94":{"object-name":"INDEX:94","object-type":"file"},"analog-input_5":{"object-name":"zone_co2_1","object-type":"analog-input","units":"parts-per-million","present-value":511.0},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_25":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":68.3},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.0},"analog-value_23":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":18.875257},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":12.0},"device_3401806":{"object-name":"device3401806","application-software-version":"PRG:g2700garcia_vav_dd_co2","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_1":{"object-name":"override_time_remaining_1","object-type":"analog-value","units":"minutes","present-value":0.0},"binary-value_10":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"trend-log_28":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":7.1382256},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_29":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"co2_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/5.json b/tests/discovery/bitbox/5.json new file mode 100644 index 0000000000..7d76ce4aaf --- /dev/null +++ b/tests/discovery/bitbox/5.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401809","device":"bacnet-3401809","name":"device3401809","timestamp":"2024-02-17T08:31:26.887237Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":22.0},"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_9":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_8":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"active"},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":68.2},"device_3401809":{"object-name":"device3401809","application-software-version":"PRG:g2700garcia_vav_dd","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"analog-value_24":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":5.0},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_22":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":26.759747},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":27.535166},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":4.643009},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.034690857},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_10":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":22.116737},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 2-1-9","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/6.json b/tests/discovery/bitbox/6.json new file mode 100644 index 0000000000..e2d43e6a7c --- /dev/null +++ b/tests/discovery/bitbox/6.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401807","device":"bacnet-3401807","name":"device3401807","timestamp":"2024-02-17T08:31:27.135331Z","version":1,"data":{"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_9":{"active-text":"Alarm","object-name":"zco2_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_8":{"active-text":"Alarm","object-name":"zco2_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_co2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_19":{"object-name":"co2_stpt_1","object-type":"analog-value","units":"parts-per-million","present-value":850.0},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.5517447},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":3.541809},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.024642944},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 2-1-7 CO2","object-type":"program","reason-for-halt":"normal"},"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":-3.0},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd_co2","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_94":{"object-name":"INDEX:94","object-type":"file"},"analog-input_5":{"object-name":"zone_co2_1","object-type":"analog-input","units":"parts-per-million","present-value":523.0},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_25":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.2},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.3},"analog-value_23":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.5517447},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":4.0},"device_3401807":{"object-name":"device3401807","application-software-version":"PRG:g2700garcia_vav_dd_co2","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_1":{"object-name":"override_time_remaining_1","object-type":"analog-value","units":"minutes","present-value":0.0},"binary-value_10":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"trend-log_28":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":-2.9900644},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_29":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"co2_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/7.json b/tests/discovery/bitbox/7.json new file mode 100644 index 0000000000..e2d43e6a7c --- /dev/null +++ b/tests/discovery/bitbox/7.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401807","device":"bacnet-3401807","name":"device3401807","timestamp":"2024-02-17T08:31:27.135331Z","version":1,"data":{"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_9":{"active-text":"Alarm","object-name":"zco2_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_8":{"active-text":"Alarm","object-name":"zco2_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_co2_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_19":{"object-name":"co2_stpt_1","object-type":"analog-value","units":"parts-per-million","present-value":850.0},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.5517447},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":3.541809},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.024642944},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 2-1-7 CO2","object-type":"program","reason-for-halt":"normal"},"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":-3.0},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd_co2","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_94":{"object-name":"INDEX:94","object-type":"file"},"analog-input_5":{"object-name":"zone_co2_1","object-type":"analog-input","units":"parts-per-million","present-value":523.0},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_25":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.2},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.3},"analog-value_23":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.5517447},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":4.0},"device_3401807":{"object-name":"device3401807","application-software-version":"PRG:g2700garcia_vav_dd_co2","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_11":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_12":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_1":{"object-name":"override_time_remaining_1","object-type":"analog-value","units":"minutes","present-value":0.0},"binary-value_10":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.0},"trend-log_28":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":-2.9900644},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_29":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"co2_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/8.json b/tests/discovery/bitbox/8.json new file mode 100644 index 0000000000..65eba23751 --- /dev/null +++ b/tests/discovery/bitbox/8.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401822","device":"bacnet-3401822","name":"device3401822","timestamp":"2024-02-17T08:31:27.154005Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":62.0},"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_9":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_8":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.8},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":76.3},"analog-value_24":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":7.0},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_22":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":69.07896},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":82.883},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":6.5825305},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.03681183},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"device_3401822":{"object-name":"device3401822","application-software-version":"PRG:g2700garcia_vav_dd","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"binary-value_10":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.037094116},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":62.49643},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 1-1-7","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/discovery/bitbox/9.json b/tests/discovery/bitbox/9.json new file mode 100644 index 0000000000..65eba23751 --- /dev/null +++ b/tests/discovery/bitbox/9.json @@ -0,0 +1 @@ +{"type":"bitbox_bacnet","protocol":"bacnet","id":"3401822","device":"bacnet-3401822","name":"device3401822","timestamp":"2024-02-17T08:31:27.154005Z","version":1,"data":{"file_101":{"object-name":"PARS:PRG 1","object-type":"file"},"analog-input_1":{"object-name":"cd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":62.0},"binary-value_1":{"active-text":"is","object-name":"heat_mode_1","object-type":"binary-value","inactive-text":"is not","present-value":"inactive"},"binary-value_3":{"active-text":"On","object-name":"ovrd_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"binary-value_2":{"active-text":"Occupied","object-name":"occ_1","object-type":"binary-value","inactive-text":"Unoccupied","present-value":"inactive"},"768_1":{"object-name":"cd_flow_flow_tab_1","object-type":"768"},"binary-value_4":{"active-text":"On","object-name":"run_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"768_2":{"object-name":"hd_flow_flow_tab_1","object-type":"768"},"trend-log_17":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_7":{"active-text":"Alarm","object-name":"dat_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_16":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_6":{"active-text":"Alarm","object-name":"dat_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_19":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_9":{"active-text":"Alarm","object-name":"ztmp_lo_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_18":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_8":{"active-text":"Alarm","object-name":"ztmp_hi_1","object-type":"binary-value","inactive-text":"Normal","present-value":"inactive"},"trend-log_13":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_12":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_15":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_14":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"ht_mode_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_11":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_enviro_indx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"trend-log_10":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_stpt_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_109":{"object-name":"PRG:g2700garcia_vav_dd","object-type":"file"},"file_102":{"object-name":"STAT:PRG 1","object-type":"file"},"file_104":{"object-name":"OSPACE:PRG 1","object-type":"file"},"file_1":{"object-name":"Module Driver Pars","object-type":"file"},"file_2":{"object-name":"Module Driver Stat","object-type":"file"},"trend-log_2":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"hd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_1":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_flow_flow_input_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"file_94":{"object-name":"INDEX:94","object-type":"file"},"trend-log_8":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_pct_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"binary-value_4001000":{"object-name":"Flow Control Alarm","object-type":"binary-value","present-value":"inactive"},"file_3":{"object-name":"Module Driver Log","object-type":"file"},"trend-log_7":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-input_4":{"object-name":"da_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":69.8},"analog-input_3":{"object-name":"zone_temp_1","object-type":"analog-input","units":"degrees-fahrenheit","present-value":76.3},"analog-value_24":{"object-name":"iso_override_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-input_2":{"object-name":"hd_flow_flow_input_1","object-type":"analog-input","units":"cubic-feet-per-minute","present-value":7.0},"trend-log_9":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cl_cap_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_22":{"object-name":"flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":69.07896},"trend-log_4":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"da_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_3":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zone_temp_trend_log_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_6":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_5":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"cd_pressure_request_1","object-type":"trend-log","buffer-size":288,"record-count":288},"analog-value_18":{"object-name":"total_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_17":{"object-name":"total_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":82.883},"analog-value_16":{"object-name":"sys_run_req_1","object-type":"analog-value","units":"no-units","present-value":0.0},"file_97":{"object-name":"BASE EEPROM","object-type":"file"},"file_96":{"object-name":"CORE EEPROM","object-type":"file"},"file_99":{"object-name":"BOOT","object-type":"file"},"file_98":{"object-name":"MAIN","object-type":"file"},"900_1":{"object-name":"Network Port","object-type":"900"},"analog-value_14":{"object-name":"hd_heat_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"analog-value_13":{"object-name":"hd_heat_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":6.5825305},"binary-value_4000000":{"object-name":"Module Halted Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_12":{"object-name":"heat_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000001":{"object-name":"All Programs Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_11":{"object-name":"hd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"binary-value_4000002":{"object-name":"Duplicate Address Alarm","object-type":"binary-value","present-value":"inactive"},"analog-value_10":{"object-name":"hd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.03681183},"binary-value_4000003":{"object-name":"Locked I/O Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000004":{"object-name":"Control Program Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000005":{"object-name":"Program Stopped Alarm","object-type":"binary-value","present-value":"inactive"},"binary-value_4000006":{"object-name":"Excessive COV Alarm","object-type":"binary-value","present-value":"inactive"},"device_3401822":{"object-name":"device3401822","application-software-version":"PRG:g2700garcia_vav_dd","firmware-revision":"BOOT(id=0,ver=2.12:001,crc=0x6269) MAIN(id=3,ver=6.06:091,crc=0x7ADF) ","object-type":"device","model-name":"ZN341V+","vendor-name":"Automated Logic Corporation","system-status":"operational"},"binary-value_10":{"active-text":"On","object-name":"purge_status_1","object-type":"binary-value","inactive-text":"Off","present-value":"inactive"},"analog-value_7":{"object-name":"cool_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"analog-value_3":{"object-name":"cd_dmpr_pos_1","object-type":"analog-value","units":"percent","present-value":0.037094116},"analog-value_4":{"object-name":"cd_press_request_1","object-type":"analog-value","units":"no-units","present-value":0.0},"trend-log_27":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"common_iso_ovrd_1","object-type":"trend-log","buffer-size":288,"record-count":0},"analog-value_5":{"object-name":"cd_cool_flow_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":62.49643},"analog-value_6":{"object-name":"cd_cool_flow_sp_1","object-type":"analog-value","units":"cubic-feet-per-minute","present-value":0.0},"trend-log_24":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"total_weight_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_3":{"object-name":"NClass_3","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":3,"priority":[128,64,128]},"trend-log_23":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_sp_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_4":{"object-name":"NClass_4","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":4,"priority":[128,64,128]},"trend-log_26":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"enviro_windx_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_1":{"object-name":"NClass_1","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[{"fromTime":{"hour":0,"minute":0,"second":0,"hundredth":0},"toTime":{"hour":23,"minute":59,"second":59,"hundredth":99},"recipient":{"address":"Address [networkNumber=34000, macAddress=[64,45,45,30,ba,c0]]"},"processIdentifier":1,"validDays":[true,true,true,true,true,true,true],"issueConfirmedNotifications":true,"transitions":[true,true,true]}],"notification-class":1,"priority":[128,64,128]},"trend-log_25":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zn_ei_time_sat_tn_1","object-type":"trend-log","buffer-size":288,"record-count":0},"notification-class_2":{"object-name":"NClass_2","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":2,"priority":[128,64,128]},"trend-log_20":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"zovd_1","object-type":"trend-log","buffer-size":288,"record-count":288},"trend-log_22":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"tflow_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"notification-class_5":{"object-name":"NClass_5","object-type":"notification-class","ack-required":[false,false,false],"recipient-list":[],"notification-class":5,"priority":[128,64,128]},"trend-log_21":{"stop-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"start-time":{"hour":0,"minute":0,"second":0,"hundredth":0},"object-name":"stpt_adj_tn_1","object-type":"trend-log","buffer-size":288,"record-count":288},"program_1":{"program-state":"running","program-change":"ready","object-name":"program_1","program-location":"VAV DD 1-1-7","object-type":"program","reason-for-halt":"normal"},"calendar_5":{"object-name":"Calendar_5","object-type":"calendar","date-list":[],"present-value":false},"calendar_2":{"object-name":"Calendar_2","object-type":"calendar","date-list":[],"present-value":false},"calendar_1":{"object-name":"Calendar_1","object-type":"calendar","date-list":[],"present-value":false},"calendar_4":{"object-name":"Calendar_4","object-type":"calendar","date-list":[],"present-value":false},"calendar_3":{"object-name":"Calendar_3","object-type":"calendar","date-list":[],"present-value":false}}} diff --git a/tests/schemas/config/enumeration.json b/tests/schemas/config/enumeration.json index 4e6a640ae3..790c9b3118 100644 --- a/tests/schemas/config/enumeration.json +++ b/tests/schemas/config/enumeration.json @@ -10,7 +10,7 @@ "enumerate": { "families": true, "features": true, - "uniqs": false + "points": false } } } diff --git a/tests/schemas/event_discovery/enumeration.json b/tests/schemas/event_discovery/enumeration.json index 07be342a14..f7aac349da 100644 --- a/tests/schemas/event_discovery/enumeration.json +++ b/tests/schemas/event_discovery/enumeration.json @@ -1,4 +1,5 @@ // +// Self enumeration event (a device is describing itself) // Sent on MQTT topic: /devices/{device_id}/events/discovery // where {device_id} is that of the enumerated node. // @@ -6,7 +7,7 @@ "version": "1.5.0", "timestamp": "2018-08-26T21:42:12.237Z", "generation": "2018-08-26T21:37:12Z", - "uniqs": { + "points": { // Numerical value with an articulated unit "sup_flow_actual_avo_1": { "units": "percent", // with units, type typically defaults to 'number' diff --git a/tests/schemas/event_discovery/errors.out b/tests/schemas/event_discovery/errors.out index 48e222d141..d426d2a4d9 100644 --- a/tests/schemas/event_discovery/errors.out +++ b/tests/schemas/event_discovery/errors.out @@ -2,6 +2,6 @@ /families/bacnet: object has missing required properties (["addr"]) /families/bacnet: object instance has properties which are not allowed by the schema: ["id"] /families/mac: object instance has properties which are not allowed by the schema: ["group"] - /uniqs/bad_entity_name_: object instance has properties which are not allowed by the schema: ["present_value"] + /points/bad_entity_name_: object instance has properties which are not allowed by the schema: ["present_value"] object has missing required properties (["generation"]) - object instance has properties which are not allowed by the schema: ["addr","id","points"] + object instance has properties which are not allowed by the schema: ["addr","id","uniqs"] diff --git a/tests/schemas/event_discovery/from_bacnet.json b/tests/schemas/event_discovery/from_bacnet.json index 9d65029520..099b9718c4 100644 --- a/tests/schemas/event_discovery/from_bacnet.json +++ b/tests/schemas/event_discovery/from_bacnet.json @@ -1,6 +1,6 @@ { "generation": "2022-06-21T17:19:49.191023+00:00", - "uniqs": { + "points": { "5005/1094": { "ref": "org/building/5005/analogInput/1094", "name": "discharge_air_velocity_pressure", diff --git a/tests/schemas/event_discovery/implicit.json b/tests/schemas/event_discovery/implicit.json index eaf9c8e3ff..cc7391c948 100644 --- a/tests/schemas/event_discovery/implicit.json +++ b/tests/schemas/event_discovery/implicit.json @@ -29,7 +29,7 @@ "addr": "0E:93:32:11:04:82" } }, - "uniqs": { + "points": { "sup_flow_actual_avo_1": { "units": "percent", "ref": "analog-value_29", diff --git a/tests/schemas/event_discovery/point_error.json b/tests/schemas/event_discovery/point_error.json index 579799ee22..aebe4f3c8f 100644 --- a/tests/schemas/event_discovery/point_error.json +++ b/tests/schemas/event_discovery/point_error.json @@ -17,7 +17,7 @@ "addr": "872849" } }, - "uniqs": { + "points": { "sup_flow_actual_avo_1": { "status": { "message": "Timeout during point communication", diff --git a/tests/schemas/event_discovery/proxied_scan.json b/tests/schemas/event_discovery/proxied_scan.json new file mode 100644 index 0000000000..7a0e33a2df --- /dev/null +++ b/tests/schemas/event_discovery/proxied_scan.json @@ -0,0 +1,13 @@ +// +// Sent on MQTT topic: /devices/{device_id}/events/discovery +// where {device_id} is that of the gateway (discovery node). +// +{ + "version": "1.5.0", + "timestamp": "2018-08-26T21:39:29.364Z", + "generation": "2018-08-26T21:39:28.867Z", + "devices": { + "ENL-1": {}, + "ENL-2": {} + } +} diff --git a/tests/schemas/event_discovery/proxied_scan.out b/tests/schemas/event_discovery/proxied_scan.out new file mode 100644 index 0000000000..e69de29bb2 diff --git a/udmis/src/main/java/com/google/bos/udmi/service/access/IotAccessProvider.java b/udmis/src/main/java/com/google/bos/udmi/service/access/IotAccessProvider.java index 08d96d6870..4a3fa4267c 100644 --- a/udmis/src/main/java/com/google/bos/udmi/service/access/IotAccessProvider.java +++ b/udmis/src/main/java/com/google/bos/udmi/service/access/IotAccessProvider.java @@ -47,8 +47,9 @@ static IotAccessProvider from(IotAccess iotAccess) { String fetchState(String deviceRegistryId, String deviceId); /** - * Get all the registries that exist in a given region. If region is null, then return all - * available regions. + * Get all the registries that exist in a given region. If region is null, then return all + * available regions. The term "region" here is used lightly, and really just means subdivisions + * of where the resource might be (so different backend systems or databases). */ Set getRegistriesForRegion(String region); diff --git a/validator/sequences/empty_enumeration/config_update.attr b/validator/sequences/empty_enumeration/config_update.attr index 5b8cd426e1..d63288d734 100644 --- a/validator/sequences/empty_enumeration/config_update.attr +++ b/validator/sequences/empty_enumeration/config_update.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "RC:1699367354076", - "publishTime" : "2023-11-07T14:29:14Z", + "transactionId" : "RC:1708281960401", + "publishTime" : "2024-02-18T18:46:00Z", "subFolder" : "update", "subType" : "config" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/config_update.json b/validator/sequences/empty_enumeration/config_update.json index e28f97b387..eeada0c905 100644 --- a/validator/sequences/empty_enumeration/config_update.json +++ b/validator/sequences/empty_enumeration/config_update.json @@ -2,6 +2,19 @@ "discovery" : { "enumerate" : { } }, + "localnet" : { + "families" : { + "ether" : { + "addr" : "00:0d:3a:5a:10:c7" + }, + "ipv4" : { + "addr" : "10.1.0.187" + }, + "ipv6" : { + "addr" : "fe80::20d:3aff:fe5a:10c7" + } + } + }, "pointset" : { "points" : { "filter_alarm_pressure_status" : { @@ -19,15 +32,15 @@ } }, "system" : { - "metrics_rate_sec" : 600, + "metrics_rate_sec" : 10, "min_loglevel" : 200, "operation" : { - "last_start" : "2023-11-07T14:28:48Z" + "last_start" : "2024-02-18T18:44:35Z" }, "testing" : { "sequence_name" : "empty_enumeration" } }, - "timestamp" : "2023-11-07T14:29:14Z", - "version" : "1.4.2-40-gdeae740b" + "timestamp" : "2024-02-18T18:46:00Z", + "version" : "1.5.0-16-g48397c75b" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/event_discovery.attr b/validator/sequences/empty_enumeration/event_discovery.attr index 14740f37e0..f987f74b1b 100644 --- a/validator/sequences/empty_enumeration/event_discovery.attr +++ b/validator/sequences/empty_enumeration/event_discovery.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9000188829631286", - "publishTime" : "2023-11-07T14:29:12Z", + "transactionId" : "PS:10520052988714388", + "publishTime" : "2024-02-18T18:45:58Z", "subFolder" : "discovery", "subType" : "event" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/event_discovery.json b/validator/sequences/empty_enumeration/event_discovery.json index e12a3ed4bd..58fe8d8984 100644 --- a/validator/sequences/empty_enumeration/event_discovery.json +++ b/validator/sequences/empty_enumeration/event_discovery.json @@ -1,5 +1,5 @@ { - "generation" : "2023-11-07T14:29:11Z", - "timestamp" : "2023-11-07T14:29:12Z", - "version" : "1.4.2" + "generation" : "2024-02-18T18:45:57Z", + "timestamp" : "2024-02-18T18:45:58Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/event_pointset.attr b/validator/sequences/empty_enumeration/event_pointset.attr index 4fb5a7a604..4482085104 100644 --- a/validator/sequences/empty_enumeration/event_pointset.attr +++ b/validator/sequences/empty_enumeration/event_pointset.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9000276026766878", - "publishTime" : "2023-11-07T14:29:10Z", + "transactionId" : "PS:9341807147216051", + "publishTime" : "2024-02-18T18:45:57Z", "subFolder" : "pointset", "subType" : "event" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/event_pointset.json b/validator/sequences/empty_enumeration/event_pointset.json index d788da498f..635a207eb6 100644 --- a/validator/sequences/empty_enumeration/event_pointset.json +++ b/validator/sequences/empty_enumeration/event_pointset.json @@ -7,9 +7,9 @@ "present_value" : 98 }, "filter_differential_pressure_sensor" : { - "present_value" : 9 + "present_value" : 11 } }, - "timestamp" : "2023-11-07T14:29:10Z", - "version" : "1.4.2" + "timestamp" : "2024-02-18T18:45:57Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/event_system.attr b/validator/sequences/empty_enumeration/event_system.attr index 9dda2a5f69..d38bb9d58e 100644 --- a/validator/sequences/empty_enumeration/event_system.attr +++ b/validator/sequences/empty_enumeration/event_system.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9001279866386674", - "publishTime" : "2023-11-07T14:29:10Z", + "transactionId" : "PS:10521047605218912", + "publishTime" : "2024-02-18T18:45:57Z", "subFolder" : "system", "subType" : "event" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/event_system.json b/validator/sequences/empty_enumeration/event_system.json index 6ce793cbac..ce680f0433 100644 --- a/validator/sequences/empty_enumeration/event_system.json +++ b/validator/sequences/empty_enumeration/event_system.json @@ -1,91 +1,96 @@ { - "event_count" : 1, - "last_config" : "2023-11-07T14:29:07Z", + "event_count" : 9, + "last_config" : "2024-02-18T18:45:55Z", "logentries" : [ { - "message" : "2023-11-07T14:29:04Z received config 2023-11-07T14:29:04Z", + "message" : "Update state 2024-02-18T18:45:48Z last_config 2024-02-18T18:45:47Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:04Z", + "timestamp" : "2024-02-18T18:45:48Z", + "level" : 200 + }, { + "message" : "Device AHU-1 config handler", + "category" : "device.log", + "timestamp" : "2024-02-18T18:45:48Z", + "level" : 200 + }, { + "message" : "2024-02-18T18:45:48Z received config 2024-02-18T18:45:47Z", + "category" : "device.log", + "timestamp" : "2024-02-18T18:45:48Z", "level" : 200 }, { "message" : "success", "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:29:04Z", + "timestamp" : "2024-02-18T18:45:48Z", "level" : 300 }, { - "message" : "update state 2023-11-07T14:29:04Z last_config 2023-11-07T14:29:04Z", + "message" : "Device AHU-1 config handler", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:04Z", + "timestamp" : "2024-02-18T18:45:49Z", "level" : 200 }, { - "message" : "2023-11-07T14:29:05Z received config 2023-11-07T14:29:05Z", + "message" : "2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:05Z", + "timestamp" : "2024-02-18T18:45:49Z", "level" : 200 }, { "message" : "success", "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:29:05Z", + "timestamp" : "2024-02-18T18:45:49Z", "level" : 300 }, { - "message" : "update state 2023-11-07T14:29:06Z last_config 2023-11-07T14:29:05Z", + "message" : "2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:06Z", + "timestamp" : "2024-02-18T18:45:49Z", "level" : 200 }, { - "message" : "Config handler", - "category" : "device.log", - "timestamp" : "2023-11-07T14:29:07Z", - "level" : 200 + "message" : "success", + "category" : "system.config.apply", + "timestamp" : "2024-02-18T18:45:49Z", + "level" : 300 }, { - "message" : "2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z", + "message" : "2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:07Z", + "timestamp" : "2024-02-18T18:45:49Z", "level" : 200 }, { "message" : "success", "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:29:07Z", + "timestamp" : "2024-02-18T18:45:49Z", "level" : 300 }, { - "message" : "Config handler", + "message" : "Update state 2024-02-18T18:45:50Z last_config 2024-02-18T18:45:49Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:07Z", + "timestamp" : "2024-02-18T18:45:50Z", "level" : 200 }, { - "message" : "2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z", + "message" : "Update state 2024-02-18T18:45:55Z last_config 2024-02-18T18:45:49Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:07Z", + "timestamp" : "2024-02-18T18:45:55Z", "level" : 200 }, { - "message" : "success", - "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:29:07Z", - "level" : 300 - }, { - "message" : "Config handler", + "message" : "Device AHU-1 config handler", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:07Z", + "timestamp" : "2024-02-18T18:45:55Z", "level" : 200 }, { - "message" : "2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z", + "message" : "2024-02-18T18:45:55Z received config 2024-02-18T18:45:55Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:07Z", + "timestamp" : "2024-02-18T18:45:55Z", "level" : 200 }, { "message" : "success", "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:29:07Z", + "timestamp" : "2024-02-18T18:45:55Z", "level" : 300 }, { - "message" : "update state 2023-11-07T14:29:08Z last_config 2023-11-07T14:29:07Z", + "message" : "Update state 2024-02-18T18:45:57Z last_config 2024-02-18T18:45:55Z", "category" : "device.log", - "timestamp" : "2023-11-07T14:29:08Z", + "timestamp" : "2024-02-18T18:45:57Z", "level" : 200 } ], "metrics" : { - "mem_total_mb" : 112.0, - "mem_free_mb" : 88.51443481445312 + "mem_total_mb" : 254.0, + "mem_free_mb" : 204.60761260986328 }, - "timestamp" : "2023-11-07T14:29:10Z", - "version" : "1.4.2" + "timestamp" : "2024-02-18T18:45:57Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/local_localnet.json b/validator/sequences/empty_enumeration/local_localnet.json index 2b858c197f..7632b82dfc 100644 --- a/validator/sequences/empty_enumeration/local_localnet.json +++ b/validator/sequences/empty_enumeration/local_localnet.json @@ -1,10 +1,13 @@ { "families" : { "ether" : { - "addr" : "00:50:b6:ed:5f:77" + "addr" : "00:0d:3a:5a:10:c7" }, "ipv4" : { - "addr" : "192.168.2.1" + "addr" : "10.1.0.187" + }, + "ipv6" : { + "addr" : "fe80::20d:3aff:fe5a:10c7" } } } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/local_pointset.json b/validator/sequences/empty_enumeration/local_pointset.json index 9d9265ba98..7cd0cae9d9 100644 --- a/validator/sequences/empty_enumeration/local_pointset.json +++ b/validator/sequences/empty_enumeration/local_pointset.json @@ -1,13 +1,13 @@ { "points" : { - "filter_alarm_pressure_status" : { - "ref" : "BV11.present_value", - "units" : "No-units" - }, "filter_differential_pressure_setpoint" : { "units" : "Bars", "set_value" : 98 }, + "filter_alarm_pressure_status" : { + "ref" : "BV11.present_value", + "units" : "No-units" + }, "filter_differential_pressure_sensor" : { "ref" : "AV12.present_value", "units" : "Degrees-Celsius" diff --git a/validator/sequences/empty_enumeration/local_system.json b/validator/sequences/empty_enumeration/local_system.json index ba44088941..de7619653c 100644 --- a/validator/sequences/empty_enumeration/local_system.json +++ b/validator/sequences/empty_enumeration/local_system.json @@ -1,8 +1,8 @@ { "min_loglevel" : 200, - "metrics_rate_sec" : 600, + "metrics_rate_sec" : 10, "operation" : { - "last_start" : "2023-11-07T14:28:48Z" + "last_start" : "2024-02-18T18:44:35Z" }, "testing" : { "sequence_name" : "empty_enumeration" diff --git a/validator/sequences/empty_enumeration/local_update.json b/validator/sequences/empty_enumeration/local_update.json index 82713e3b7b..e0c19a1062 100644 --- a/validator/sequences/empty_enumeration/local_update.json +++ b/validator/sequences/empty_enumeration/local_update.json @@ -1,11 +1,11 @@ { - "timestamp" : "2023-11-07T14:29:14Z", - "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", + "timestamp" : "2024-02-18T18:46:00Z", + "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", "system" : { "min_loglevel" : 200, - "metrics_rate_sec" : 600, + "metrics_rate_sec" : 10, "operation" : { - "last_start" : "2023-11-07T14:28:48Z" + "last_start" : "2024-02-18T18:44:35Z" }, "testing" : { "sequence_name" : "empty_enumeration" @@ -17,23 +17,26 @@ "localnet" : { "families" : { "ether" : { - "addr" : "00:50:b6:ed:5f:77" + "addr" : "00:0d:3a:5a:10:c7" }, "ipv4" : { - "addr" : "192.168.2.1" + "addr" : "10.1.0.187" + }, + "ipv6" : { + "addr" : "fe80::20d:3aff:fe5a:10c7" } } }, "pointset" : { "points" : { - "filter_alarm_pressure_status" : { - "ref" : "BV11.present_value", - "units" : "No-units" - }, "filter_differential_pressure_setpoint" : { "units" : "Bars", "set_value" : 98 }, + "filter_alarm_pressure_status" : { + "ref" : "BV11.present_value", + "units" : "No-units" + }, "filter_differential_pressure_sensor" : { "ref" : "AV12.present_value", "units" : "Degrees-Celsius" diff --git a/validator/sequences/empty_enumeration/sequencer.log b/validator/sequences/empty_enumeration/sequencer.log index 682cb78f53..949239bce2 100644 --- a/validator/sequences/empty_enumeration/sequencer.log +++ b/validator/sequences/empty_enumeration/sequencer.log @@ -1,1118 +1,1372 @@ -2023-11-07T14:28:55Z NOTICE starting test empty_enumeration ################################ -2023-11-07T14:28:55Z INFO stage start waiting for starting test wrapper at 0s -2023-11-07T14:29:03Z DEBUG Waiting for device stateTransaction RC:1699367343028 (was null) -2023-11-07T14:29:03Z TRACE stage suspend waiting for starting test wrapper at 8s -2023-11-07T14:29:03Z INFO stage start waiting for state query at 8s -2023-11-07T14:29:03Z TRACE received command AHU-1/event/pointset -2023-11-07T14:29:03Z TRACE received event_pointset: { -2023-11-07T14:29:03Z TRACE received event_pointset: "points" : { -2023-11-07T14:29:03Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:29:03Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:29:03Z TRACE received event_pointset: }, -2023-11-07T14:29:03Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:03Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:29:03Z TRACE received event_pointset: }, -2023-11-07T14:29:03Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:03Z TRACE received event_pointset: "present_value" : 11 -2023-11-07T14:29:03Z TRACE received event_pointset: } -2023-11-07T14:29:03Z TRACE received event_pointset: }, -2023-11-07T14:29:03Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:29:00Z", -2023-11-07T14:29:03Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:29:03Z TRACE received event_pointset: } -2023-11-07T14:29:03Z DEBUG Handling device message event_pointset PS:9585645424049239 -2023-11-07T14:29:03Z TRACE received command AHU-1/event/system -2023-11-07T14:29:03Z DEBUG received event_system 2023-11-07T14:28:49Z INFO device.log: Connection complete. -2023-11-07T14:29:03Z DEBUG received event_system 2023-11-07T14:28:50Z INFO device.log: Config handler -2023-11-07T14:29:03Z DEBUG received event_system 2023-11-07T14:28:50Z NOTICE system.config.apply: success -2023-11-07T14:29:03Z DEBUG received event_system 2023-11-07T14:28:50Z NOTICE system.config.apply: success -2023-11-07T14:29:03Z DEBUG Handling device message event_system PS:9585329212653547 -2023-11-07T14:29:03Z TRACE received command AHU-1/state/update -2023-11-07T14:29:03Z DEBUG received state_update -2023-11-07T14:29:03Z INFO Received device configAcked -2023-11-07T14:29:03Z DEBUG Handling update message state_update RC:1699367343028 -2023-11-07T14:29:03Z DEBUG Removed stateTransaction RC:1699367343028 -2023-11-07T14:29:03Z DEBUG Updated state after 11s 2023-11-07T14:28:52Z RC:1699367343028 -2023-11-07T14:29:03Z INFO Initial state #001: { -2023-11-07T14:29:03Z INFO Initial state #001: "timestamp" : "2023-11-07T14:28:52Z", -2023-11-07T14:29:03Z INFO Initial state #001: "version" : "1.4.2", -2023-11-07T14:29:03Z INFO Initial state #001: "system" : { -2023-11-07T14:29:03Z INFO Initial state #001: "last_config" : "2023-11-07T14:28:47Z", -2023-11-07T14:29:03Z INFO Initial state #001: "operation" : { -2023-11-07T14:29:03Z INFO Initial state #001: "operational" : true, -2023-11-07T14:29:03Z INFO Initial state #001: "last_start" : "2023-11-07T14:28:48Z", -2023-11-07T14:29:03Z INFO Initial state #001: "restart_count" : 1, -2023-11-07T14:29:03Z INFO Initial state #001: "mode" : "initial" -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "serial_no" : "sequencer-7548", -2023-11-07T14:29:03Z INFO Initial state #001: "hardware" : { -2023-11-07T14:29:03Z INFO Initial state #001: "make" : "BOS", -2023-11-07T14:29:03Z INFO Initial state #001: "model" : "pubber" -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "software" : { -2023-11-07T14:29:03Z INFO Initial state #001: "firmware" : "v1" -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "status" : { -2023-11-07T14:29:03Z INFO Initial state #001: "message" : "success", -2023-11-07T14:29:03Z INFO Initial state #001: "category" : "system.config.apply", -2023-11-07T14:29:03Z INFO Initial state #001: "timestamp" : "2023-11-07T14:28:50Z", -2023-11-07T14:29:03Z INFO Initial state #001: "level" : 300 -2023-11-07T14:29:03Z INFO Initial state #001: } -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "localnet" : { -2023-11-07T14:29:03Z INFO Initial state #001: "families" : { -2023-11-07T14:29:03Z INFO Initial state #001: "ether" : { -2023-11-07T14:29:03Z INFO Initial state #001: "addr" : "00:0d:3a:96:2a:eb" -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "ipv4" : { -2023-11-07T14:29:03Z INFO Initial state #001: "addr" : "10.1.68.4" -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "ipv6" : { -2023-11-07T14:29:03Z INFO Initial state #001: "addr" : "fe80::20d:3aff:fe96:2aeb" -2023-11-07T14:29:03Z INFO Initial state #001: } -2023-11-07T14:29:03Z INFO Initial state #001: } -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "pointset" : { -2023-11-07T14:29:03Z INFO Initial state #001: "points" : { -2023-11-07T14:29:03Z INFO Initial state #001: "filter_alarm_pressure_status" : { }, -2023-11-07T14:29:03Z INFO Initial state #001: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:03Z INFO Initial state #001: "units" : "Bars", -2023-11-07T14:29:03Z INFO Initial state #001: "value_state" : "applied" -2023-11-07T14:29:03Z INFO Initial state #001: }, -2023-11-07T14:29:03Z INFO Initial state #001: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:03Z INFO Initial state #001: "units" : "Degrees-Celsius" -2023-11-07T14:29:03Z INFO Initial state #001: } -2023-11-07T14:29:03Z INFO Initial state #001: } -2023-11-07T14:29:03Z INFO Initial state #001: } -2023-11-07T14:29:03Z INFO Initial state #001: } -2023-11-07T14:29:03Z NOTICE Received serial number sequencer-7548 -2023-11-07T14:29:03Z DEBUG Updated state has last_config 2023-11-07T14:28:47Z (expecting null) -2023-11-07T14:29:03Z DEBUG stage finished waiting for state query at 8s after 0s -2023-11-07T14:29:03Z TRACE stage resume waiting for starting test wrapper at 8s -2023-11-07T14:29:03Z DEBUG Starting reset_config full reset true -2023-11-07T14:29:03Z DEBUG Configuring device last_start to be 2023-11-07T14:28:48Z -2023-11-07T14:29:03Z DEBUG last_start changed true, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:03Z DEBUG extraFieldChanged false because extra_field null -2023-11-07T14:29:03Z DEBUG extraFieldChanged true because extra_field reset_config -2023-11-07T14:29:03Z DEBUG configTransactions clear -2023-11-07T14:29:04Z DEBUG system config extra field reset_config -2023-11-07T14:29:04Z TRACE updated check config_system: true -2023-11-07T14:29:04Z DEBUG update config_system, configTransaction RC:1699367344637 -2023-11-07T14:29:04Z TRACE local local_system: { -2023-11-07T14:29:04Z TRACE local local_system: "min_loglevel" : 200, -2023-11-07T14:29:04Z TRACE local local_system: "metrics_rate_sec" : 600, -2023-11-07T14:29:04Z TRACE local local_system: "operation" : { -2023-11-07T14:29:04Z TRACE local local_system: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:04Z TRACE local local_system: }, -2023-11-07T14:29:04Z TRACE local local_system: "testing" : { -2023-11-07T14:29:04Z TRACE local local_system: "sequence_name" : "reset_config" -2023-11-07T14:29:04Z TRACE local local_system: }, -2023-11-07T14:29:04Z TRACE local local_system: "extra_field" : "reset_config" -2023-11-07T14:29:04Z TRACE local local_system: } -2023-11-07T14:29:04Z TRACE updated check config_pointset: false -2023-11-07T14:29:04Z TRACE updated check config_gateway: false -2023-11-07T14:29:04Z TRACE updated check config_localnet: false -2023-11-07T14:29:04Z TRACE updated check config_blobset: false -2023-11-07T14:29:04Z TRACE updated check config_discovery: false -2023-11-07T14:29:04Z DEBUG Update lastConfigUpdate 2023-11-07T14:29:04Z, because full reset -2023-11-07T14:29:04Z TRACE stage suspend waiting for starting test wrapper at 9s -2023-11-07T14:29:04Z INFO stage start waiting for config sync at 9s -2023-11-07T14:29:04Z TRACE received command AHU-1/reply/update -2023-11-07T14:29:04Z TRACE received command AHU-1/config/update -2023-11-07T14:29:04Z DEBUG received config_update -2023-11-07T14:29:04Z DEBUG Handling update message config_update RC:1699367344637 -2023-11-07T14:29:04Z DEBUG Removed configTransaction RC:1699367344637 -2023-11-07T14:29:04Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:04Z DEBUG Updated config 2023-11-07T14:29:04Z RC:1699367344637 -2023-11-07T14:29:04Z INFO Initial config #001: { -2023-11-07T14:29:04Z INFO Initial config #001: "timestamp" : "2023-11-07T14:29:04Z", -2023-11-07T14:29:04Z INFO Initial config #001: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:04Z INFO Initial config #001: "system" : { -2023-11-07T14:29:04Z INFO Initial config #001: "min_loglevel" : 200, -2023-11-07T14:29:04Z INFO Initial config #001: "metrics_rate_sec" : 600, -2023-11-07T14:29:04Z INFO Initial config #001: "operation" : { -2023-11-07T14:29:04Z INFO Initial config #001: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:04Z INFO Initial config #001: }, -2023-11-07T14:29:04Z INFO Initial config #001: "testing" : { -2023-11-07T14:29:04Z INFO Initial config #001: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:04Z INFO Initial config #001: } -2023-11-07T14:29:04Z INFO Initial config #001: } -2023-11-07T14:29:04Z INFO Initial config #001: } -2023-11-07T14:29:04Z DEBUG stage finished waiting for config sync at 9s after 0s -2023-11-07T14:29:04Z TRACE stage resume waiting for starting test wrapper at 9s -2023-11-07T14:29:04Z DEBUG Configuration sync took 0s -2023-11-07T14:29:04Z DEBUG wait for config sync pending false -2023-11-07T14:29:04Z DEBUG Update config full reset: 2023-11-07T14:29:04Z -2023-11-07T14:29:04Z TRACE local local_update: { -2023-11-07T14:29:04Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:04Z", -2023-11-07T14:29:04Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:04Z TRACE local local_update: "system" : { -2023-11-07T14:29:04Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:04Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:04Z TRACE local local_update: "operation" : { -2023-11-07T14:29:04Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:04Z TRACE local local_update: }, -2023-11-07T14:29:04Z TRACE local local_update: "testing" : { -2023-11-07T14:29:04Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:04Z TRACE local local_update: } -2023-11-07T14:29:04Z TRACE local local_update: } -2023-11-07T14:29:04Z TRACE local local_update: } -2023-11-07T14:29:04Z TRACE Update config full reset: Add `timestamp` = `generated timestamp` -2023-11-07T14:29:04Z TRACE stage suspend waiting for starting test wrapper at 9s -2023-11-07T14:29:04Z INFO stage start waiting for no interesting system status at 9s -2023-11-07T14:29:05Z DEBUG system config extra field reset_config -2023-11-07T14:29:05Z TRACE updated check config_system: true -2023-11-07T14:29:05Z DEBUG update config_system, configTransaction RC:1699367345839 -2023-11-07T14:29:05Z TRACE local local_system: { -2023-11-07T14:29:05Z TRACE local local_system: "min_loglevel" : 200, -2023-11-07T14:29:05Z TRACE local local_system: "metrics_rate_sec" : 600, -2023-11-07T14:29:05Z TRACE local local_system: "operation" : { -2023-11-07T14:29:05Z TRACE local local_system: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:05Z TRACE local local_system: }, -2023-11-07T14:29:05Z TRACE local local_system: "testing" : { -2023-11-07T14:29:05Z TRACE local local_system: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:05Z TRACE local local_system: }, -2023-11-07T14:29:05Z TRACE local local_system: "extra_field" : "reset_config" -2023-11-07T14:29:05Z TRACE local local_system: } -2023-11-07T14:29:05Z TRACE updated check config_pointset: false -2023-11-07T14:29:05Z TRACE updated check config_gateway: false -2023-11-07T14:29:05Z TRACE updated check config_localnet: false -2023-11-07T14:29:05Z TRACE updated check config_blobset: false -2023-11-07T14:29:05Z TRACE updated check config_discovery: false -2023-11-07T14:29:05Z DEBUG Update lastConfigUpdate 2023-11-07T14:29:05Z, because before no interesting system status -2023-11-07T14:29:05Z TRACE stage suspend waiting for no interesting system status at 10s -2023-11-07T14:29:05Z INFO stage start waiting for config sync at 10s -2023-11-07T14:29:05Z TRACE received command AHU-1/state/update -2023-11-07T14:29:05Z DEBUG received state_update -2023-11-07T14:29:05Z DEBUG Handling update message state_update PS:9586572362799281 -2023-11-07T14:29:05Z DEBUG Updated state after 1s 2023-11-07T14:29:04Z PS:9586572362799281 -2023-11-07T14:29:05Z INFO Updated state #002: Changed 4 fields: -2023-11-07T14:29:05Z INFO Updated state #002: Set `system.last_config` = `2023-11-07T14:29:04Z` -2023-11-07T14:29:05Z INFO Updated state #002: Set `system.status.timestamp` = `2023-11-07T14:29:04Z` -2023-11-07T14:29:05Z INFO Updated state #002: Remove `pointset.points.filter_differential_pressure_setpoint.value_state` -2023-11-07T14:29:05Z INFO Updated state #002: Set `timestamp` = `2023-11-07T14:29:04Z` -2023-11-07T14:29:05Z DEBUG Updated state has last_config 2023-11-07T14:29:04Z (expecting 2023-11-07T14:29:04Z) -2023-11-07T14:29:05Z TRACE received command AHU-1/state/system -2023-11-07T14:29:05Z TRACE received state_system: { -2023-11-07T14:29:05Z TRACE received state_system: "hardware" : { -2023-11-07T14:29:05Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:29:05Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:29:05Z TRACE received state_system: }, -2023-11-07T14:29:05Z TRACE received state_system: "last_config" : "2023-11-07T14:29:04Z", -2023-11-07T14:29:05Z TRACE received state_system: "operation" : { -2023-11-07T14:29:05Z TRACE received state_system: "operational" : true, -2023-11-07T14:29:05Z TRACE received state_system: "last_start" : "2023-11-07T14:28:48Z", -2023-11-07T14:29:05Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:29:05Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:29:05Z TRACE received state_system: }, -2023-11-07T14:29:05Z TRACE received state_system: "serial_no" : "sequencer-7548", -2023-11-07T14:29:05Z TRACE received state_system: "software" : { -2023-11-07T14:29:05Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:29:05Z TRACE received state_system: }, -2023-11-07T14:29:05Z TRACE received state_system: "status" : { -2023-11-07T14:29:05Z TRACE received state_system: "message" : "success", -2023-11-07T14:29:05Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:29:05Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:04Z", -2023-11-07T14:29:05Z TRACE received state_system: "level" : 300 -2023-11-07T14:29:05Z TRACE received state_system: }, -2023-11-07T14:29:05Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:04Z", -2023-11-07T14:29:05Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:29:05Z TRACE received state_system: } -2023-11-07T14:29:05Z DEBUG Handling device message state_system PS:9586572362799281-0 -2023-11-07T14:29:05Z TRACE Ignoring partial state update -2023-11-07T14:29:05Z TRACE received command AHU-1/state/localnet -2023-11-07T14:29:05Z TRACE received state_localnet: { -2023-11-07T14:29:05Z TRACE received state_localnet: "families" : { -2023-11-07T14:29:05Z TRACE received state_localnet: "ether" : { -2023-11-07T14:29:05Z TRACE received state_localnet: "addr" : "00:0d:3a:96:2a:eb" -2023-11-07T14:29:05Z TRACE received state_localnet: }, -2023-11-07T14:29:05Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:29:05Z TRACE received state_localnet: "addr" : "10.1.68.4" -2023-11-07T14:29:05Z TRACE received state_localnet: }, -2023-11-07T14:29:05Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:29:05Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe96:2aeb" -2023-11-07T14:29:05Z TRACE received state_localnet: } -2023-11-07T14:29:05Z TRACE received state_localnet: }, -2023-11-07T14:29:05Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:29:04Z", -2023-11-07T14:29:05Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:29:05Z TRACE received state_localnet: } -2023-11-07T14:29:05Z DEBUG Handling device message state_localnet PS:9586572362799281-1 -2023-11-07T14:29:05Z TRACE Ignoring partial state update -2023-11-07T14:29:05Z TRACE received command AHU-1/state/pointset -2023-11-07T14:29:05Z TRACE received state_pointset: { -2023-11-07T14:29:05Z TRACE received state_pointset: "points" : { -2023-11-07T14:29:05Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:29:05Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:05Z TRACE received state_pointset: "units" : "Bars" -2023-11-07T14:29:05Z TRACE received state_pointset: }, -2023-11-07T14:29:05Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:05Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:29:05Z TRACE received state_pointset: } -2023-11-07T14:29:05Z TRACE received state_pointset: }, -2023-11-07T14:29:05Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:29:04Z", -2023-11-07T14:29:05Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:29:05Z TRACE received state_pointset: } -2023-11-07T14:29:05Z DEBUG Handling device message state_pointset PS:9586572362799281-2 -2023-11-07T14:29:05Z TRACE Ignoring partial state update -2023-11-07T14:29:05Z TRACE received command AHU-1/config/update -2023-11-07T14:29:05Z DEBUG received config_update -2023-11-07T14:29:05Z DEBUG Handling update message config_update RC:1699367345839 -2023-11-07T14:29:05Z DEBUG Removed configTransaction RC:1699367345839 -2023-11-07T14:29:05Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:05Z DEBUG Updated config 2023-11-07T14:29:05Z RC:1699367345839 -2023-11-07T14:29:05Z INFO Updated config #002: Changed 0 fields. -2023-11-07T14:29:05Z DEBUG stage finished waiting for config sync at 10s after 0s -2023-11-07T14:29:05Z TRACE stage resume waiting for no interesting system status at 10s -2023-11-07T14:29:05Z DEBUG Configuration sync took 0s -2023-11-07T14:29:05Z DEBUG wait for config sync pending false -2023-11-07T14:29:05Z DEBUG Update config before no interesting system status: 2023-11-07T14:29:05Z -2023-11-07T14:29:05Z TRACE local local_update: { -2023-11-07T14:29:05Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:05Z", -2023-11-07T14:29:05Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:05Z TRACE local local_update: "system" : { -2023-11-07T14:29:05Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:05Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:05Z TRACE local local_update: "operation" : { -2023-11-07T14:29:05Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:05Z TRACE local local_update: }, -2023-11-07T14:29:05Z TRACE local local_update: "testing" : { -2023-11-07T14:29:05Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:05Z TRACE local local_update: } -2023-11-07T14:29:05Z TRACE local local_update: } -2023-11-07T14:29:05Z TRACE local local_update: } -2023-11-07T14:29:05Z DEBUG Status level: 300 -2023-11-07T14:29:05Z DEBUG stage finished waiting for no interesting system status at 10s after 1s -2023-11-07T14:29:05Z TRACE stage resume waiting for starting test wrapper at 10s -2023-11-07T14:29:05Z DEBUG Status level: 300 -2023-11-07T14:29:06Z DEBUG Reading generated config file /home/runner/work/udmi/udmi/sites/udmi_site_model/devices/AHU-1/out/generated_config.json -2023-11-07T14:29:06Z DEBUG Configuring device last_start to be 2023-11-07T14:28:48Z -2023-11-07T14:29:06Z DEBUG last_start changed true, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:06Z DEBUG extraFieldChanged true because extra_field null -2023-11-07T14:29:07Z DEBUG system config extra field null -2023-11-07T14:29:07Z TRACE updated check config_system: true -2023-11-07T14:29:07Z DEBUG update config_system, configTransaction RC:1699367347004 -2023-11-07T14:29:07Z TRACE local local_system: { -2023-11-07T14:29:07Z TRACE local local_system: "min_loglevel" : 200, -2023-11-07T14:29:07Z TRACE local local_system: "metrics_rate_sec" : 600, -2023-11-07T14:29:07Z TRACE local local_system: "operation" : { -2023-11-07T14:29:07Z TRACE local local_system: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:07Z TRACE local local_system: }, -2023-11-07T14:29:07Z TRACE local local_system: "testing" : { -2023-11-07T14:29:07Z TRACE local local_system: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:07Z TRACE local local_system: } -2023-11-07T14:29:07Z TRACE local local_system: } -2023-11-07T14:29:07Z TRACE updated check config_pointset: true -2023-11-07T14:29:07Z DEBUG update config_pointset, configTransaction RC:1699367347010 -2023-11-07T14:29:07Z TRACE local local_pointset: { -2023-11-07T14:29:07Z TRACE local local_pointset: "points" : { -2023-11-07T14:29:07Z TRACE local local_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:29:07Z TRACE local local_pointset: "ref" : "BV11.present_value", -2023-11-07T14:29:07Z TRACE local local_pointset: "units" : "No-units" -2023-11-07T14:29:07Z TRACE local local_pointset: }, -2023-11-07T14:29:07Z TRACE local local_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:07Z TRACE local local_pointset: "units" : "Bars", -2023-11-07T14:29:07Z TRACE local local_pointset: "set_value" : 98 -2023-11-07T14:29:07Z TRACE local local_pointset: }, -2023-11-07T14:29:07Z TRACE local local_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:07Z TRACE local local_pointset: "ref" : "AV12.present_value", -2023-11-07T14:29:07Z TRACE local local_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:29:07Z TRACE local local_pointset: } -2023-11-07T14:29:07Z TRACE local local_pointset: } -2023-11-07T14:29:07Z TRACE local local_pointset: } -2023-11-07T14:29:07Z TRACE updated check config_gateway: false -2023-11-07T14:29:07Z TRACE updated check config_localnet: true -2023-11-07T14:29:07Z DEBUG update config_localnet, configTransaction RC:1699367347013 -2023-11-07T14:29:07Z TRACE local local_localnet: { -2023-11-07T14:29:07Z TRACE local local_localnet: "families" : { -2023-11-07T14:29:07Z TRACE local local_localnet: "ether" : { -2023-11-07T14:29:07Z TRACE local local_localnet: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:29:07Z TRACE local local_localnet: }, -2023-11-07T14:29:07Z TRACE local local_localnet: "ipv4" : { -2023-11-07T14:29:07Z TRACE local local_localnet: "addr" : "192.168.2.1" -2023-11-07T14:29:07Z TRACE local local_localnet: } -2023-11-07T14:29:07Z TRACE local local_localnet: } -2023-11-07T14:29:07Z TRACE local local_localnet: } -2023-11-07T14:29:07Z TRACE updated check config_blobset: false -2023-11-07T14:29:07Z TRACE updated check config_discovery: false -2023-11-07T14:29:07Z DEBUG Update lastConfigUpdate 2023-11-07T14:29:07Z, because soft reset -2023-11-07T14:29:07Z TRACE stage suspend waiting for starting test wrapper at 11s -2023-11-07T14:29:07Z INFO stage start waiting for config sync at 11s -2023-11-07T14:29:07Z TRACE received command AHU-1/state/update -2023-11-07T14:29:07Z DEBUG received state_update -2023-11-07T14:29:07Z DEBUG Handling update message state_update PS:9001920803722086 -2023-11-07T14:29:07Z DEBUG Updated state after 1s 2023-11-07T14:29:06Z PS:9001920803722086 -2023-11-07T14:29:07Z INFO Updated state #003: Changed 3 fields: -2023-11-07T14:29:07Z INFO Updated state #003: Set `system.last_config` = `2023-11-07T14:29:05Z` -2023-11-07T14:29:07Z INFO Updated state #003: Set `system.status.timestamp` = `2023-11-07T14:29:05Z` -2023-11-07T14:29:07Z INFO Updated state #003: Set `timestamp` = `2023-11-07T14:29:06Z` -2023-11-07T14:29:07Z DEBUG Updated state has last_config 2023-11-07T14:29:05Z (expecting null) -2023-11-07T14:29:07Z TRACE received command AHU-1/state/system -2023-11-07T14:29:07Z TRACE received state_system: { -2023-11-07T14:29:07Z TRACE received state_system: "hardware" : { -2023-11-07T14:29:07Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:29:07Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:29:07Z TRACE received state_system: }, -2023-11-07T14:29:07Z TRACE received state_system: "last_config" : "2023-11-07T14:29:05Z", -2023-11-07T14:29:07Z TRACE received state_system: "operation" : { -2023-11-07T14:29:07Z TRACE received state_system: "operational" : true, -2023-11-07T14:29:07Z TRACE received state_system: "last_start" : "2023-11-07T14:28:48Z", -2023-11-07T14:29:07Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:29:07Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:29:07Z TRACE received state_system: }, -2023-11-07T14:29:07Z TRACE received state_system: "serial_no" : "sequencer-7548", -2023-11-07T14:29:07Z TRACE received state_system: "software" : { -2023-11-07T14:29:07Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:29:07Z TRACE received state_system: }, -2023-11-07T14:29:07Z TRACE received state_system: "status" : { -2023-11-07T14:29:07Z TRACE received state_system: "message" : "success", -2023-11-07T14:29:07Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:29:07Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:05Z", -2023-11-07T14:29:07Z TRACE received state_system: "level" : 300 -2023-11-07T14:29:07Z TRACE received state_system: }, -2023-11-07T14:29:07Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:06Z", -2023-11-07T14:29:07Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:29:07Z TRACE received state_system: } -2023-11-07T14:29:07Z DEBUG Handling device message state_system PS:9001920803722086-0 -2023-11-07T14:29:07Z TRACE Ignoring partial state update -2023-11-07T14:29:07Z TRACE received command AHU-1/state/localnet -2023-11-07T14:29:07Z TRACE received state_localnet: { -2023-11-07T14:29:07Z TRACE received state_localnet: "families" : { -2023-11-07T14:29:07Z TRACE received state_localnet: "ether" : { -2023-11-07T14:29:07Z TRACE received state_localnet: "addr" : "00:0d:3a:96:2a:eb" -2023-11-07T14:29:07Z TRACE received state_localnet: }, -2023-11-07T14:29:07Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:29:07Z TRACE received state_localnet: "addr" : "10.1.68.4" -2023-11-07T14:29:07Z TRACE received state_localnet: }, -2023-11-07T14:29:07Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:29:07Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe96:2aeb" -2023-11-07T14:29:07Z TRACE received state_localnet: } -2023-11-07T14:29:07Z TRACE received state_localnet: }, -2023-11-07T14:29:07Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:29:06Z", -2023-11-07T14:29:07Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:29:07Z TRACE received state_localnet: } -2023-11-07T14:29:07Z DEBUG Handling device message state_localnet PS:9001920803722086-1 -2023-11-07T14:29:07Z TRACE Ignoring partial state update -2023-11-07T14:29:07Z TRACE received command AHU-1/state/pointset -2023-11-07T14:29:07Z TRACE received state_pointset: { -2023-11-07T14:29:07Z TRACE received state_pointset: "points" : { -2023-11-07T14:29:07Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:29:07Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:07Z TRACE received state_pointset: "units" : "Bars" -2023-11-07T14:29:07Z TRACE received state_pointset: }, -2023-11-07T14:29:07Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:07Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:29:07Z TRACE received state_pointset: } -2023-11-07T14:29:07Z TRACE received state_pointset: }, -2023-11-07T14:29:07Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:29:06Z", -2023-11-07T14:29:07Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:29:07Z TRACE received state_pointset: } -2023-11-07T14:29:07Z DEBUG Handling device message state_pointset PS:9001920803722086-2 -2023-11-07T14:29:07Z TRACE Ignoring partial state update -2023-11-07T14:29:07Z TRACE received command AHU-1/config/update -2023-11-07T14:29:07Z DEBUG received config_update -2023-11-07T14:29:07Z DEBUG Handling update message config_update RC:1699367347013 -2023-11-07T14:29:07Z DEBUG Removed configTransaction RC:1699367347013 -2023-11-07T14:29:07Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:07Z DEBUG Updated config 2023-11-07T14:29:07Z RC:1699367347013 -2023-11-07T14:29:07Z INFO Updated config #003: Changed 2 fields: -2023-11-07T14:29:07Z INFO Updated config #003: Add `pointset` = { "points": { "filter_alarm_pressure_status": { "ref": `BV11.present_value`, "units": `No-units` }, "filter_differential_pressure_setpoint": { "set_value": `98`, "units": `Bars` }, "filter_differential_pressure_sensor": { "ref": `AV12.present_value`, "units": `Degrees-Celsius` } } } -2023-11-07T14:29:07Z INFO Updated config #003: Add `localnet` = { "families": { "ether": { "addr": { "CASE_INSENSITIVE_ORDER": { } } }, "ipv4": { "addr": { "CASE_INSENSITIVE_ORDER": { } } } } } -2023-11-07T14:29:07Z TRACE received command AHU-1/config/update -2023-11-07T14:29:07Z DEBUG received config_update -2023-11-07T14:29:07Z DEBUG Handling update message config_update RC:1699367347004 -2023-11-07T14:29:07Z DEBUG Removed configTransaction RC:1699367347004 -2023-11-07T14:29:07Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:07Z DEBUG Updated config 2023-11-07T14:29:07Z RC:1699367347004 -2023-11-07T14:29:07Z INFO Updated config #004: Changed 0 fields. -2023-11-07T14:29:07Z TRACE received command AHU-1/config/update -2023-11-07T14:29:07Z DEBUG received config_update -2023-11-07T14:29:07Z DEBUG Handling update message config_update RC:1699367347010 -2023-11-07T14:29:07Z DEBUG Removed configTransaction RC:1699367347010 -2023-11-07T14:29:07Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:07Z DEBUG Updated config 2023-11-07T14:29:07Z RC:1699367347010 -2023-11-07T14:29:07Z INFO Updated config #005: Changed 0 fields. -2023-11-07T14:29:07Z DEBUG Status level: 300 -2023-11-07T14:29:07Z DEBUG stage finished waiting for config sync at 12s after 0s -2023-11-07T14:29:07Z TRACE stage resume waiting for starting test wrapper at 12s -2023-11-07T14:29:07Z DEBUG Configuration sync took 0s -2023-11-07T14:29:07Z DEBUG wait for config sync pending false -2023-11-07T14:29:07Z DEBUG Update config soft reset: 2023-11-07T14:29:07Z -2023-11-07T14:29:07Z TRACE local local_update: { -2023-11-07T14:29:07Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:07Z", -2023-11-07T14:29:07Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:07Z TRACE local local_update: "system" : { -2023-11-07T14:29:07Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:07Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:07Z TRACE local local_update: "operation" : { -2023-11-07T14:29:07Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:07Z TRACE local local_update: }, -2023-11-07T14:29:07Z TRACE local local_update: "testing" : { -2023-11-07T14:29:07Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:07Z TRACE local local_update: } -2023-11-07T14:29:07Z TRACE local local_update: }, -2023-11-07T14:29:07Z TRACE local local_update: "localnet" : { -2023-11-07T14:29:07Z TRACE local local_update: "families" : { -2023-11-07T14:29:07Z TRACE local local_update: "ether" : { -2023-11-07T14:29:07Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:29:07Z TRACE local local_update: }, -2023-11-07T14:29:07Z TRACE local local_update: "ipv4" : { -2023-11-07T14:29:07Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:29:07Z TRACE local local_update: } -2023-11-07T14:29:07Z TRACE local local_update: } -2023-11-07T14:29:07Z TRACE local local_update: }, -2023-11-07T14:29:07Z TRACE local local_update: "pointset" : { -2023-11-07T14:29:07Z TRACE local local_update: "points" : { -2023-11-07T14:29:07Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:29:07Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:29:07Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:29:07Z TRACE local local_update: }, -2023-11-07T14:29:07Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:07Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:29:07Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:29:07Z TRACE local local_update: }, -2023-11-07T14:29:07Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:07Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:29:07Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:29:07Z TRACE local local_update: } -2023-11-07T14:29:07Z TRACE local local_update: } -2023-11-07T14:29:07Z TRACE local local_update: } -2023-11-07T14:29:07Z TRACE local local_update: } -2023-11-07T14:29:07Z TRACE Update config soft reset: Add `pointset` = { "points": { "filter_alarm_pressure_status": { "ref": `BV11.present_value`, "units": `No-units` }, "filter_differential_pressure_setpoint": { "set_value": `98`, "units": `Bars` }, "filter_differential_pressure_sensor": { "ref": `AV12.present_value`, "units": `Degrees-Celsius` } } } -2023-11-07T14:29:07Z TRACE Update config soft reset: Add `localnet` = { "families": { "ether": { "addr": { "CASE_INSENSITIVE_ORDER": { } } }, "ipv4": { "addr": { "CASE_INSENSITIVE_ORDER": { } } } } } -2023-11-07T14:29:07Z DEBUG Done with reset_config -2023-11-07T14:29:08Z DEBUG system config extra field null -2023-11-07T14:29:08Z TRACE updated check config_system: false -2023-11-07T14:29:08Z TRACE updated check config_pointset: false -2023-11-07T14:29:08Z TRACE updated check config_gateway: false -2023-11-07T14:29:08Z TRACE updated check config_localnet: false -2023-11-07T14:29:08Z TRACE updated check config_blobset: false -2023-11-07T14:29:08Z TRACE updated check config_discovery: false -2023-11-07T14:29:08Z DEBUG Update config initial setup: 2023-11-07T14:29:07Z -2023-11-07T14:29:08Z TRACE local local_update: { -2023-11-07T14:29:08Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:07Z", -2023-11-07T14:29:08Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:08Z TRACE local local_update: "system" : { -2023-11-07T14:29:08Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:08Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:08Z TRACE local local_update: "operation" : { -2023-11-07T14:29:08Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:08Z TRACE local local_update: }, -2023-11-07T14:29:08Z TRACE local local_update: "testing" : { -2023-11-07T14:29:08Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:08Z TRACE local local_update: } -2023-11-07T14:29:08Z TRACE local local_update: }, -2023-11-07T14:29:08Z TRACE local local_update: "localnet" : { -2023-11-07T14:29:08Z TRACE local local_update: "families" : { -2023-11-07T14:29:08Z TRACE local local_update: "ether" : { -2023-11-07T14:29:08Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:29:08Z TRACE local local_update: }, -2023-11-07T14:29:08Z TRACE local local_update: "ipv4" : { -2023-11-07T14:29:08Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:29:08Z TRACE local local_update: } -2023-11-07T14:29:08Z TRACE local local_update: } -2023-11-07T14:29:08Z TRACE local local_update: }, -2023-11-07T14:29:08Z TRACE local local_update: "pointset" : { -2023-11-07T14:29:08Z TRACE local local_update: "points" : { -2023-11-07T14:29:08Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:29:08Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:29:08Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:29:08Z TRACE local local_update: }, -2023-11-07T14:29:08Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:08Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:29:08Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:29:08Z TRACE local local_update: }, -2023-11-07T14:29:08Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:08Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:29:08Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:29:08Z TRACE local local_update: } -2023-11-07T14:29:08Z TRACE local local_update: } -2023-11-07T14:29:08Z TRACE local local_update: } -2023-11-07T14:29:08Z TRACE local local_update: } -2023-11-07T14:29:08Z TRACE stage suspend waiting for starting test wrapper at 13s -2023-11-07T14:29:08Z INFO stage start waiting for device state update at 13s -2023-11-07T14:29:09Z DEBUG system config extra field null -2023-11-07T14:29:09Z TRACE updated check config_system: false -2023-11-07T14:29:09Z TRACE updated check config_pointset: false -2023-11-07T14:29:09Z TRACE updated check config_gateway: false -2023-11-07T14:29:09Z TRACE updated check config_localnet: false -2023-11-07T14:29:09Z TRACE updated check config_blobset: false -2023-11-07T14:29:09Z TRACE updated check config_discovery: false -2023-11-07T14:29:09Z DEBUG Update config before device state update: 2023-11-07T14:29:07Z -2023-11-07T14:29:09Z TRACE local local_update: { -2023-11-07T14:29:09Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:07Z", -2023-11-07T14:29:09Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:09Z TRACE local local_update: "system" : { -2023-11-07T14:29:09Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:09Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:09Z TRACE local local_update: "operation" : { -2023-11-07T14:29:09Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:09Z TRACE local local_update: }, -2023-11-07T14:29:09Z TRACE local local_update: "testing" : { -2023-11-07T14:29:09Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:09Z TRACE local local_update: } -2023-11-07T14:29:09Z TRACE local local_update: }, -2023-11-07T14:29:09Z TRACE local local_update: "localnet" : { -2023-11-07T14:29:09Z TRACE local local_update: "families" : { -2023-11-07T14:29:09Z TRACE local local_update: "ether" : { -2023-11-07T14:29:09Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:29:09Z TRACE local local_update: }, -2023-11-07T14:29:09Z TRACE local local_update: "ipv4" : { -2023-11-07T14:29:09Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:29:09Z TRACE local local_update: } -2023-11-07T14:29:09Z TRACE local local_update: } -2023-11-07T14:29:09Z TRACE local local_update: }, -2023-11-07T14:29:09Z TRACE local local_update: "pointset" : { -2023-11-07T14:29:09Z TRACE local local_update: "points" : { -2023-11-07T14:29:09Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:29:09Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:29:09Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:29:09Z TRACE local local_update: }, -2023-11-07T14:29:09Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:09Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:29:09Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:29:09Z TRACE local local_update: }, -2023-11-07T14:29:09Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:09Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:29:09Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:29:09Z TRACE local local_update: } -2023-11-07T14:29:09Z TRACE local local_update: } -2023-11-07T14:29:09Z TRACE local local_update: } -2023-11-07T14:29:09Z TRACE local local_update: } -2023-11-07T14:29:09Z DEBUG Status level: 300 -2023-11-07T14:29:09Z DEBUG stage finished waiting for device state update at 14s after 1s -2023-11-07T14:29:09Z TRACE stage resume waiting for starting test wrapper at 14s -2023-11-07T14:29:09Z DEBUG Status level: 300 -2023-11-07T14:29:09Z TRACE stage suspend waiting for starting test wrapper at 14s -2023-11-07T14:29:09Z INFO stage start waiting for executing test at 14s -2023-11-07T14:29:09Z DEBUG stage begin waiting for executing test at 14s -2023-11-07T14:29:09Z TRACE stage suspend waiting for executing test at 14s -2023-11-07T14:29:09Z INFO stage start waiting for enumeration not active at 14s -2023-11-07T14:29:10Z DEBUG system config extra field null -2023-11-07T14:29:10Z TRACE updated check config_system: false -2023-11-07T14:29:10Z TRACE updated check config_pointset: false -2023-11-07T14:29:10Z TRACE updated check config_gateway: false -2023-11-07T14:29:10Z TRACE updated check config_localnet: false -2023-11-07T14:29:10Z TRACE updated check config_blobset: false -2023-11-07T14:29:10Z TRACE updated check config_discovery: true -2023-11-07T14:29:10Z DEBUG update config_discovery, configTransaction RC:1699367350237 -2023-11-07T14:29:10Z TRACE local local_discovery: { -2023-11-07T14:29:10Z TRACE local local_discovery: "enumerate" : { } -2023-11-07T14:29:10Z TRACE local local_discovery: } -2023-11-07T14:29:10Z DEBUG Update lastConfigUpdate 2023-11-07T14:29:10Z, because before enumeration not active -2023-11-07T14:29:10Z TRACE stage suspend waiting for enumeration not active at 15s -2023-11-07T14:29:10Z INFO stage start waiting for config sync at 15s -2023-11-07T14:29:10Z TRACE received command AHU-1/state/update -2023-11-07T14:29:10Z DEBUG received state_update -2023-11-07T14:29:10Z DEBUG Handling update message state_update PS:9000690860534471 -2023-11-07T14:29:10Z DEBUG Updated state after 2s 2023-11-07T14:29:08Z PS:9000690860534471 -2023-11-07T14:29:10Z INFO Updated state #004: Changed 4 fields: -2023-11-07T14:29:10Z INFO Updated state #004: Set `system.last_config` = `2023-11-07T14:29:07Z` -2023-11-07T14:29:10Z INFO Updated state #004: Set `system.status.timestamp` = `2023-11-07T14:29:07Z` -2023-11-07T14:29:10Z INFO Updated state #004: Add `pointset.points.filter_differential_pressure_setpoint.value_state` = `applied` -2023-11-07T14:29:10Z INFO Updated state #004: Set `timestamp` = `2023-11-07T14:29:08Z` -2023-11-07T14:29:10Z DEBUG Updated state has last_config 2023-11-07T14:29:07Z (expecting 2023-11-07T14:29:07Z) -2023-11-07T14:29:10Z TRACE received command AHU-1/state/system -2023-11-07T14:29:10Z TRACE received state_system: { -2023-11-07T14:29:10Z TRACE received state_system: "hardware" : { -2023-11-07T14:29:10Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:29:10Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:29:10Z TRACE received state_system: }, -2023-11-07T14:29:10Z TRACE received state_system: "last_config" : "2023-11-07T14:29:07Z", -2023-11-07T14:29:10Z TRACE received state_system: "operation" : { -2023-11-07T14:29:10Z TRACE received state_system: "operational" : true, -2023-11-07T14:29:10Z TRACE received state_system: "last_start" : "2023-11-07T14:28:48Z", -2023-11-07T14:29:10Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:29:10Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:29:10Z TRACE received state_system: }, -2023-11-07T14:29:10Z TRACE received state_system: "serial_no" : "sequencer-7548", -2023-11-07T14:29:10Z TRACE received state_system: "software" : { -2023-11-07T14:29:10Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:29:10Z TRACE received state_system: }, -2023-11-07T14:29:10Z TRACE received state_system: "status" : { -2023-11-07T14:29:10Z TRACE received state_system: "message" : "success", -2023-11-07T14:29:10Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:29:10Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:07Z", -2023-11-07T14:29:10Z TRACE received state_system: "level" : 300 -2023-11-07T14:29:10Z TRACE received state_system: }, -2023-11-07T14:29:10Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:08Z", -2023-11-07T14:29:10Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:29:10Z TRACE received state_system: } -2023-11-07T14:29:10Z DEBUG Handling device message state_system PS:9000690860534471-0 -2023-11-07T14:29:10Z TRACE Ignoring partial state update -2023-11-07T14:29:10Z TRACE received command AHU-1/state/localnet -2023-11-07T14:29:10Z TRACE received state_localnet: { -2023-11-07T14:29:10Z TRACE received state_localnet: "families" : { -2023-11-07T14:29:10Z TRACE received state_localnet: "ether" : { -2023-11-07T14:29:10Z TRACE received state_localnet: "addr" : "00:0d:3a:96:2a:eb" -2023-11-07T14:29:10Z TRACE received state_localnet: }, -2023-11-07T14:29:10Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:29:10Z TRACE received state_localnet: "addr" : "10.1.68.4" -2023-11-07T14:29:10Z TRACE received state_localnet: }, -2023-11-07T14:29:10Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:29:10Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe96:2aeb" -2023-11-07T14:29:10Z TRACE received state_localnet: } -2023-11-07T14:29:10Z TRACE received state_localnet: }, -2023-11-07T14:29:10Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:29:08Z", -2023-11-07T14:29:10Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:29:10Z TRACE received state_localnet: } -2023-11-07T14:29:10Z DEBUG Handling device message state_localnet PS:9000690860534471-1 -2023-11-07T14:29:10Z TRACE Ignoring partial state update -2023-11-07T14:29:10Z TRACE received command AHU-1/state/pointset -2023-11-07T14:29:10Z TRACE received state_pointset: { -2023-11-07T14:29:10Z TRACE received state_pointset: "points" : { -2023-11-07T14:29:10Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:29:10Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:10Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:29:10Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:29:10Z TRACE received state_pointset: }, -2023-11-07T14:29:10Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:10Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:29:10Z TRACE received state_pointset: } -2023-11-07T14:29:10Z TRACE received state_pointset: }, -2023-11-07T14:29:10Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:29:08Z", -2023-11-07T14:29:10Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:29:10Z TRACE received state_pointset: } -2023-11-07T14:29:10Z DEBUG Handling device message state_pointset PS:9000690860534471-2 -2023-11-07T14:29:10Z TRACE Ignoring partial state update -2023-11-07T14:29:10Z TRACE received command AHU-1/event/pointset -2023-11-07T14:29:10Z TRACE received event_pointset: { -2023-11-07T14:29:10Z TRACE received event_pointset: "points" : { -2023-11-07T14:29:10Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:29:10Z TRACE received event_pointset: "present_value" : true -2023-11-07T14:29:10Z TRACE received event_pointset: }, -2023-11-07T14:29:10Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:10Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:29:10Z TRACE received event_pointset: }, -2023-11-07T14:29:10Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:10Z TRACE received event_pointset: "present_value" : 9 -2023-11-07T14:29:10Z TRACE received event_pointset: } -2023-11-07T14:29:10Z TRACE received event_pointset: }, -2023-11-07T14:29:10Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:10Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:29:10Z TRACE received event_pointset: } -2023-11-07T14:29:10Z DEBUG Handling device message event_pointset PS:9000276026766878 -2023-11-07T14:29:10Z TRACE received command AHU-1/event/system -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:04Z INFO device.log: 2023-11-07T14:29:04Z received config 2023-11-07T14:29:04Z -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:04Z NOTICE system.config.apply: success -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:04Z INFO device.log: update state 2023-11-07T14:29:04Z last_config 2023-11-07T14:29:04Z -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:05Z INFO device.log: 2023-11-07T14:29:05Z received config 2023-11-07T14:29:05Z -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:05Z NOTICE system.config.apply: success -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:06Z INFO device.log: update state 2023-11-07T14:29:06Z last_config 2023-11-07T14:29:05Z -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z INFO device.log: Config handler -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z INFO device.log: 2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z NOTICE system.config.apply: success -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z INFO device.log: Config handler -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z INFO device.log: 2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z NOTICE system.config.apply: success -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z INFO device.log: Config handler -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z INFO device.log: 2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:07Z NOTICE system.config.apply: success -2023-11-07T14:29:10Z DEBUG received event_system 2023-11-07T14:29:08Z INFO device.log: update state 2023-11-07T14:29:08Z last_config 2023-11-07T14:29:07Z -2023-11-07T14:29:10Z DEBUG Handling device message event_system PS:9001279866386674 -2023-11-07T14:29:10Z TRACE received command AHU-1/config/update -2023-11-07T14:29:10Z DEBUG received config_update -2023-11-07T14:29:10Z DEBUG Handling update message config_update RC:1699367350237 -2023-11-07T14:29:10Z DEBUG Removed configTransaction RC:1699367350237 -2023-11-07T14:29:10Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:10Z DEBUG Updated config 2023-11-07T14:29:10Z RC:1699367350237 -2023-11-07T14:29:10Z INFO Updated config #006: Changed 1 fields: -2023-11-07T14:29:10Z INFO Updated config #006: Add `discovery` = { "enumerate": { } } -2023-11-07T14:29:10Z DEBUG Status level: 300 -2023-11-07T14:29:10Z DEBUG stage finished waiting for config sync at 15s after 0s -2023-11-07T14:29:10Z TRACE stage resume waiting for enumeration not active at 15s -2023-11-07T14:29:10Z DEBUG Configuration sync took 0s -2023-11-07T14:29:10Z DEBUG wait for config sync pending false -2023-11-07T14:29:10Z DEBUG Update config before enumeration not active: 2023-11-07T14:29:10Z -2023-11-07T14:29:10Z TRACE local local_update: { -2023-11-07T14:29:10Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:10Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:10Z TRACE local local_update: "system" : { -2023-11-07T14:29:10Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:10Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:10Z TRACE local local_update: "operation" : { -2023-11-07T14:29:10Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:10Z TRACE local local_update: }, -2023-11-07T14:29:10Z TRACE local local_update: "testing" : { -2023-11-07T14:29:10Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:10Z TRACE local local_update: } -2023-11-07T14:29:10Z TRACE local local_update: }, -2023-11-07T14:29:10Z TRACE local local_update: "discovery" : { -2023-11-07T14:29:10Z TRACE local local_update: "enumerate" : { } -2023-11-07T14:29:10Z TRACE local local_update: }, -2023-11-07T14:29:10Z TRACE local local_update: "localnet" : { -2023-11-07T14:29:10Z TRACE local local_update: "families" : { -2023-11-07T14:29:10Z TRACE local local_update: "ether" : { -2023-11-07T14:29:10Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:29:10Z TRACE local local_update: }, -2023-11-07T14:29:10Z TRACE local local_update: "ipv4" : { -2023-11-07T14:29:10Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:29:10Z TRACE local local_update: } -2023-11-07T14:29:10Z TRACE local local_update: } -2023-11-07T14:29:10Z TRACE local local_update: }, -2023-11-07T14:29:10Z TRACE local local_update: "pointset" : { -2023-11-07T14:29:10Z TRACE local local_update: "points" : { -2023-11-07T14:29:10Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:29:10Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:29:10Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:29:10Z TRACE local local_update: }, -2023-11-07T14:29:10Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:10Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:29:10Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:29:10Z TRACE local local_update: }, -2023-11-07T14:29:10Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:10Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:29:10Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:29:10Z TRACE local local_update: } -2023-11-07T14:29:10Z TRACE local local_update: } -2023-11-07T14:29:10Z TRACE local local_update: } -2023-11-07T14:29:10Z TRACE local local_update: } -2023-11-07T14:29:10Z INFO Device config Add `discovery` = { "enumerate": { } } -2023-11-07T14:29:10Z TRACE Update config before enumeration not active: Add `discovery` = { "enumerate": { } } -2023-11-07T14:29:10Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "generation" because "this.deviceState.discovery" is null -2023-11-07T14:29:11Z TRACE received command AHU-1/state/update -2023-11-07T14:29:11Z DEBUG received state_update -2023-11-07T14:29:11Z DEBUG Handling update message state_update PS:9585602317317107 -2023-11-07T14:29:11Z DEBUG Updated state after 1s 2023-11-07T14:29:10Z PS:9585602317317107 -2023-11-07T14:29:11Z INFO Updated state #005: Changed 4 fields: -2023-11-07T14:29:11Z INFO Updated state #005: Set `system.last_config` = `2023-11-07T14:29:10Z` -2023-11-07T14:29:11Z INFO Updated state #005: Set `system.status.timestamp` = `2023-11-07T14:29:10Z` -2023-11-07T14:29:11Z INFO Updated state #005: Add `discovery` = { } -2023-11-07T14:29:11Z INFO Updated state #005: Set `timestamp` = `2023-11-07T14:29:10Z` -2023-11-07T14:29:11Z DEBUG Updated state has last_config 2023-11-07T14:29:10Z (expecting 2023-11-07T14:29:10Z) -2023-11-07T14:29:11Z DEBUG Status level: 300 -2023-11-07T14:29:11Z DEBUG stage finished waiting for enumeration not active at 16s after 1s -2023-11-07T14:29:11Z TRACE stage resume waiting for executing test at 16s -2023-11-07T14:29:11Z INFO Starting empty enumeration at 2023-11-07T14:29:11Z -2023-11-07T14:29:11Z TRACE stage suspend waiting for executing test at 16s -2023-11-07T14:29:11Z INFO stage start waiting for matching enumeration generation at 16s -2023-11-07T14:29:12Z DEBUG system config extra field null -2023-11-07T14:29:12Z TRACE updated check config_system: false -2023-11-07T14:29:12Z TRACE updated check config_pointset: false -2023-11-07T14:29:12Z TRACE updated check config_gateway: false -2023-11-07T14:29:12Z TRACE updated check config_localnet: false -2023-11-07T14:29:12Z TRACE updated check config_blobset: false -2023-11-07T14:29:12Z TRACE updated check config_discovery: true -2023-11-07T14:29:12Z DEBUG update config_discovery, configTransaction RC:1699367352063 -2023-11-07T14:29:12Z TRACE local local_discovery: { -2023-11-07T14:29:12Z TRACE local local_discovery: "generation" : "2023-11-07T14:29:11Z", -2023-11-07T14:29:12Z TRACE local local_discovery: "enumerate" : { } -2023-11-07T14:29:12Z TRACE local local_discovery: } -2023-11-07T14:29:12Z DEBUG Update lastConfigUpdate 2023-11-07T14:29:12Z, because before matching enumeration generation -2023-11-07T14:29:12Z TRACE stage suspend waiting for matching enumeration generation at 17s -2023-11-07T14:29:12Z INFO stage start waiting for config sync at 17s -2023-11-07T14:29:12Z TRACE received command AHU-1/state/system -2023-11-07T14:29:12Z TRACE received state_system: { -2023-11-07T14:29:12Z TRACE received state_system: "hardware" : { -2023-11-07T14:29:12Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:29:12Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:29:12Z TRACE received state_system: }, -2023-11-07T14:29:12Z TRACE received state_system: "last_config" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:12Z TRACE received state_system: "operation" : { -2023-11-07T14:29:12Z TRACE received state_system: "operational" : true, -2023-11-07T14:29:12Z TRACE received state_system: "last_start" : "2023-11-07T14:28:48Z", -2023-11-07T14:29:12Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:29:12Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:29:12Z TRACE received state_system: }, -2023-11-07T14:29:12Z TRACE received state_system: "serial_no" : "sequencer-7548", -2023-11-07T14:29:12Z TRACE received state_system: "software" : { -2023-11-07T14:29:12Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:29:12Z TRACE received state_system: }, -2023-11-07T14:29:12Z TRACE received state_system: "status" : { -2023-11-07T14:29:12Z TRACE received state_system: "message" : "success", -2023-11-07T14:29:12Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:29:12Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:12Z TRACE received state_system: "level" : 300 -2023-11-07T14:29:12Z TRACE received state_system: }, -2023-11-07T14:29:12Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:12Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:29:12Z TRACE received state_system: } -2023-11-07T14:29:12Z DEBUG Handling device message state_system PS:9585602317317107-0 -2023-11-07T14:29:12Z TRACE Ignoring partial state update -2023-11-07T14:29:12Z TRACE received command AHU-1/state/discovery -2023-11-07T14:29:12Z TRACE received state_discovery: { -2023-11-07T14:29:12Z TRACE received state_discovery: "timestamp" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:12Z TRACE received state_discovery: "version" : "1.4.2" -2023-11-07T14:29:12Z TRACE received state_discovery: } -2023-11-07T14:29:12Z DEBUG Handling device message state_discovery PS:9585602317317107-1 -2023-11-07T14:29:12Z TRACE Ignoring partial state update -2023-11-07T14:29:12Z TRACE received command AHU-1/state/localnet -2023-11-07T14:29:12Z TRACE received state_localnet: { -2023-11-07T14:29:12Z TRACE received state_localnet: "families" : { -2023-11-07T14:29:12Z TRACE received state_localnet: "ether" : { -2023-11-07T14:29:12Z TRACE received state_localnet: "addr" : "00:0d:3a:96:2a:eb" -2023-11-07T14:29:12Z TRACE received state_localnet: }, -2023-11-07T14:29:12Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:29:12Z TRACE received state_localnet: "addr" : "10.1.68.4" -2023-11-07T14:29:12Z TRACE received state_localnet: }, -2023-11-07T14:29:12Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:29:12Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe96:2aeb" -2023-11-07T14:29:12Z TRACE received state_localnet: } -2023-11-07T14:29:12Z TRACE received state_localnet: }, -2023-11-07T14:29:12Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:12Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:29:12Z TRACE received state_localnet: } -2023-11-07T14:29:12Z DEBUG Handling device message state_localnet PS:9585602317317107-2 -2023-11-07T14:29:12Z TRACE Ignoring partial state update -2023-11-07T14:29:12Z TRACE received command AHU-1/state/pointset -2023-11-07T14:29:12Z TRACE received state_pointset: { -2023-11-07T14:29:12Z TRACE received state_pointset: "points" : { -2023-11-07T14:29:12Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:29:12Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:12Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:29:12Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:29:12Z TRACE received state_pointset: }, -2023-11-07T14:29:12Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:12Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:29:12Z TRACE received state_pointset: } -2023-11-07T14:29:12Z TRACE received state_pointset: }, -2023-11-07T14:29:12Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:29:10Z", -2023-11-07T14:29:12Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:29:12Z TRACE received state_pointset: } -2023-11-07T14:29:12Z DEBUG Handling device message state_pointset PS:9585602317317107-3 -2023-11-07T14:29:12Z TRACE Ignoring partial state update -2023-11-07T14:29:12Z TRACE received command AHU-1/config/update -2023-11-07T14:29:12Z DEBUG received config_update -2023-11-07T14:29:12Z DEBUG Handling update message config_update RC:1699367352063 -2023-11-07T14:29:12Z DEBUG Removed configTransaction RC:1699367352063 -2023-11-07T14:29:12Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:12Z DEBUG Updated config 2023-11-07T14:29:12Z RC:1699367352063 -2023-11-07T14:29:12Z INFO Updated config #007: Changed 1 fields: -2023-11-07T14:29:12Z INFO Updated config #007: Add `discovery.generation` = `generation start time` -2023-11-07T14:29:12Z DEBUG Status level: 300 -2023-11-07T14:29:12Z DEBUG stage finished waiting for config sync at 17s after 0s -2023-11-07T14:29:12Z TRACE stage resume waiting for matching enumeration generation at 17s -2023-11-07T14:29:12Z DEBUG Configuration sync took 0s -2023-11-07T14:29:12Z DEBUG wait for config sync pending false -2023-11-07T14:29:12Z DEBUG Update config before matching enumeration generation: 2023-11-07T14:29:12Z -2023-11-07T14:29:12Z TRACE local local_update: { -2023-11-07T14:29:12Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:12Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:12Z TRACE local local_update: "system" : { -2023-11-07T14:29:12Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:12Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:12Z TRACE local local_update: "operation" : { -2023-11-07T14:29:12Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:12Z TRACE local local_update: }, -2023-11-07T14:29:12Z TRACE local local_update: "testing" : { -2023-11-07T14:29:12Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:12Z TRACE local local_update: } -2023-11-07T14:29:12Z TRACE local local_update: }, -2023-11-07T14:29:12Z TRACE local local_update: "discovery" : { -2023-11-07T14:29:12Z TRACE local local_update: "generation" : "2023-11-07T14:29:11Z", -2023-11-07T14:29:12Z TRACE local local_update: "enumerate" : { } -2023-11-07T14:29:12Z TRACE local local_update: }, -2023-11-07T14:29:12Z TRACE local local_update: "localnet" : { -2023-11-07T14:29:12Z TRACE local local_update: "families" : { -2023-11-07T14:29:12Z TRACE local local_update: "ether" : { -2023-11-07T14:29:12Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:29:12Z TRACE local local_update: }, -2023-11-07T14:29:12Z TRACE local local_update: "ipv4" : { -2023-11-07T14:29:12Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:29:12Z TRACE local local_update: } -2023-11-07T14:29:12Z TRACE local local_update: } -2023-11-07T14:29:12Z TRACE local local_update: }, -2023-11-07T14:29:12Z TRACE local local_update: "pointset" : { -2023-11-07T14:29:12Z TRACE local local_update: "points" : { -2023-11-07T14:29:12Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:29:12Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:29:12Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:29:12Z TRACE local local_update: }, -2023-11-07T14:29:12Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:12Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:29:12Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:29:12Z TRACE local local_update: }, -2023-11-07T14:29:12Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:12Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:29:12Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:29:12Z TRACE local local_update: } -2023-11-07T14:29:12Z TRACE local local_update: } -2023-11-07T14:29:12Z TRACE local local_update: } -2023-11-07T14:29:12Z TRACE local local_update: } -2023-11-07T14:29:12Z INFO Device config Add `discovery.generation` = `generation start time` -2023-11-07T14:29:12Z TRACE Update config before matching enumeration generation: Add `discovery.generation` = `generation start time` -2023-11-07T14:29:12Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot invoke "java.util.Date.equals(Object)" because "this.deviceState.discovery.generation" is null -2023-11-07T14:29:12Z TRACE received command AHU-1/event/discovery -2023-11-07T14:29:12Z TRACE received event_discovery: { -2023-11-07T14:29:12Z TRACE received event_discovery: "generation" : "2023-11-07T14:29:11Z", -2023-11-07T14:29:12Z TRACE received event_discovery: "timestamp" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:12Z TRACE received event_discovery: "version" : "1.4.2" -2023-11-07T14:29:12Z TRACE received event_discovery: } -2023-11-07T14:29:12Z DEBUG Handling device message event_discovery PS:9000188829631286 -2023-11-07T14:29:12Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot invoke "java.util.Date.equals(Object)" because "this.deviceState.discovery.generation" is null -2023-11-07T14:29:13Z TRACE received command AHU-1/state/update -2023-11-07T14:29:13Z DEBUG received state_update -2023-11-07T14:29:13Z DEBUG Handling update message state_update PS:9585481241757153 -2023-11-07T14:29:13Z DEBUG Updated state after 1s 2023-11-07T14:29:12Z PS:9585481241757153 -2023-11-07T14:29:13Z INFO Updated state #006: Changed 4 fields: -2023-11-07T14:29:13Z INFO Updated state #006: Set `system.last_config` = `2023-11-07T14:29:12Z` -2023-11-07T14:29:13Z INFO Updated state #006: Set `system.status.timestamp` = `2023-11-07T14:29:12Z` -2023-11-07T14:29:13Z INFO Updated state #006: Add `discovery.generation` = `2023-11-07T14:29:11Z` -2023-11-07T14:29:13Z INFO Updated state #006: Set `timestamp` = `2023-11-07T14:29:12Z` -2023-11-07T14:29:13Z DEBUG Updated state has last_config 2023-11-07T14:29:12Z (expecting 2023-11-07T14:29:12Z) -2023-11-07T14:29:13Z DEBUG Status level: 300 -2023-11-07T14:29:13Z DEBUG stage finished waiting for matching enumeration generation at 18s after 2s -2023-11-07T14:29:13Z TRACE stage resume waiting for executing test at 18s -2023-11-07T14:29:13Z TRACE stage suspend waiting for executing test at 18s -2023-11-07T14:29:13Z INFO stage start waiting for cleared enumeration generation at 18s -2023-11-07T14:29:14Z DEBUG system config extra field null -2023-11-07T14:29:14Z TRACE updated check config_system: false -2023-11-07T14:29:14Z TRACE updated check config_pointset: false -2023-11-07T14:29:14Z TRACE updated check config_gateway: false -2023-11-07T14:29:14Z TRACE updated check config_localnet: false -2023-11-07T14:29:14Z TRACE updated check config_blobset: false -2023-11-07T14:29:14Z TRACE updated check config_discovery: true -2023-11-07T14:29:14Z DEBUG update config_discovery, configTransaction RC:1699367354076 -2023-11-07T14:29:14Z TRACE local local_discovery: { -2023-11-07T14:29:14Z TRACE local local_discovery: "enumerate" : { } -2023-11-07T14:29:14Z TRACE local local_discovery: } -2023-11-07T14:29:14Z DEBUG Update lastConfigUpdate 2023-11-07T14:29:14Z, because before cleared enumeration generation -2023-11-07T14:29:14Z TRACE stage suspend waiting for cleared enumeration generation at 19s -2023-11-07T14:29:14Z INFO stage start waiting for config sync at 19s -2023-11-07T14:29:14Z TRACE received command AHU-1/state/system -2023-11-07T14:29:14Z TRACE received state_system: { -2023-11-07T14:29:14Z TRACE received state_system: "hardware" : { -2023-11-07T14:29:14Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:29:14Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:29:14Z TRACE received state_system: }, -2023-11-07T14:29:14Z TRACE received state_system: "last_config" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:14Z TRACE received state_system: "operation" : { -2023-11-07T14:29:14Z TRACE received state_system: "operational" : true, -2023-11-07T14:29:14Z TRACE received state_system: "last_start" : "2023-11-07T14:28:48Z", -2023-11-07T14:29:14Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:29:14Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:29:14Z TRACE received state_system: }, -2023-11-07T14:29:14Z TRACE received state_system: "serial_no" : "sequencer-7548", -2023-11-07T14:29:14Z TRACE received state_system: "software" : { -2023-11-07T14:29:14Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:29:14Z TRACE received state_system: }, -2023-11-07T14:29:14Z TRACE received state_system: "status" : { -2023-11-07T14:29:14Z TRACE received state_system: "message" : "success", -2023-11-07T14:29:14Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:29:14Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:14Z TRACE received state_system: "level" : 300 -2023-11-07T14:29:14Z TRACE received state_system: }, -2023-11-07T14:29:14Z TRACE received state_system: "timestamp" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:14Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:29:14Z TRACE received state_system: } -2023-11-07T14:29:14Z DEBUG Handling device message state_system PS:9585481241757153-0 -2023-11-07T14:29:14Z TRACE Ignoring partial state update -2023-11-07T14:29:14Z TRACE received command AHU-1/state/discovery -2023-11-07T14:29:14Z TRACE received state_discovery: { -2023-11-07T14:29:14Z TRACE received state_discovery: "generation" : "2023-11-07T14:29:11Z", -2023-11-07T14:29:14Z TRACE received state_discovery: "timestamp" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:14Z TRACE received state_discovery: "version" : "1.4.2" -2023-11-07T14:29:14Z TRACE received state_discovery: } -2023-11-07T14:29:14Z DEBUG Handling device message state_discovery PS:9585481241757153-1 -2023-11-07T14:29:14Z TRACE Ignoring partial state update -2023-11-07T14:29:14Z TRACE received command AHU-1/state/localnet -2023-11-07T14:29:14Z TRACE received state_localnet: { -2023-11-07T14:29:14Z TRACE received state_localnet: "families" : { -2023-11-07T14:29:14Z TRACE received state_localnet: "ether" : { -2023-11-07T14:29:14Z TRACE received state_localnet: "addr" : "00:0d:3a:96:2a:eb" -2023-11-07T14:29:14Z TRACE received state_localnet: }, -2023-11-07T14:29:14Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:29:14Z TRACE received state_localnet: "addr" : "10.1.68.4" -2023-11-07T14:29:14Z TRACE received state_localnet: }, -2023-11-07T14:29:14Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:29:14Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe96:2aeb" -2023-11-07T14:29:14Z TRACE received state_localnet: } -2023-11-07T14:29:14Z TRACE received state_localnet: }, -2023-11-07T14:29:14Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:14Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:29:14Z TRACE received state_localnet: } -2023-11-07T14:29:14Z DEBUG Handling device message state_localnet PS:9585481241757153-2 -2023-11-07T14:29:14Z TRACE Ignoring partial state update -2023-11-07T14:29:14Z TRACE received command AHU-1/state/pointset -2023-11-07T14:29:14Z TRACE received state_pointset: { -2023-11-07T14:29:14Z TRACE received state_pointset: "points" : { -2023-11-07T14:29:14Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:29:14Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:14Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:29:14Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:29:14Z TRACE received state_pointset: }, -2023-11-07T14:29:14Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:14Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:29:14Z TRACE received state_pointset: } -2023-11-07T14:29:14Z TRACE received state_pointset: }, -2023-11-07T14:29:14Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:29:12Z", -2023-11-07T14:29:14Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:29:14Z TRACE received state_pointset: } -2023-11-07T14:29:14Z DEBUG Handling device message state_pointset PS:9585481241757153-3 -2023-11-07T14:29:14Z TRACE Ignoring partial state update -2023-11-07T14:29:14Z TRACE received command AHU-1/config/update -2023-11-07T14:29:14Z DEBUG received config_update -2023-11-07T14:29:14Z DEBUG Handling update message config_update RC:1699367354076 -2023-11-07T14:29:14Z DEBUG Removed configTransaction RC:1699367354076 -2023-11-07T14:29:14Z DEBUG last_start changed false, last_start 2023-11-07T14:28:48Z -2023-11-07T14:29:14Z DEBUG Updated config 2023-11-07T14:29:14Z RC:1699367354076 -2023-11-07T14:29:14Z INFO Updated config #008: Changed 1 fields: -2023-11-07T14:29:14Z INFO Updated config #008: Remove `discovery.generation` -2023-11-07T14:29:14Z DEBUG Status level: 300 -2023-11-07T14:29:14Z DEBUG stage finished waiting for config sync at 19s after 0s -2023-11-07T14:29:14Z TRACE stage resume waiting for cleared enumeration generation at 19s -2023-11-07T14:29:14Z DEBUG Configuration sync took 0s -2023-11-07T14:29:14Z DEBUG wait for config sync pending false -2023-11-07T14:29:14Z DEBUG Update config before cleared enumeration generation: 2023-11-07T14:29:14Z -2023-11-07T14:29:14Z TRACE local local_update: { -2023-11-07T14:29:14Z TRACE local local_update: "timestamp" : "2023-11-07T14:29:14Z", -2023-11-07T14:29:14Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:29:14Z TRACE local local_update: "system" : { -2023-11-07T14:29:14Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:29:14Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:29:14Z TRACE local local_update: "operation" : { -2023-11-07T14:29:14Z TRACE local local_update: "last_start" : "2023-11-07T14:28:48Z" -2023-11-07T14:29:14Z TRACE local local_update: }, -2023-11-07T14:29:14Z TRACE local local_update: "testing" : { -2023-11-07T14:29:14Z TRACE local local_update: "sequence_name" : "empty_enumeration" -2023-11-07T14:29:14Z TRACE local local_update: } -2023-11-07T14:29:14Z TRACE local local_update: }, -2023-11-07T14:29:14Z TRACE local local_update: "discovery" : { -2023-11-07T14:29:14Z TRACE local local_update: "enumerate" : { } -2023-11-07T14:29:14Z TRACE local local_update: }, -2023-11-07T14:29:14Z TRACE local local_update: "localnet" : { -2023-11-07T14:29:14Z TRACE local local_update: "families" : { -2023-11-07T14:29:14Z TRACE local local_update: "ether" : { -2023-11-07T14:29:14Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:29:14Z TRACE local local_update: }, -2023-11-07T14:29:14Z TRACE local local_update: "ipv4" : { -2023-11-07T14:29:14Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:29:14Z TRACE local local_update: } -2023-11-07T14:29:14Z TRACE local local_update: } -2023-11-07T14:29:14Z TRACE local local_update: }, -2023-11-07T14:29:14Z TRACE local local_update: "pointset" : { -2023-11-07T14:29:14Z TRACE local local_update: "points" : { -2023-11-07T14:29:14Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:29:14Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:29:14Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:29:14Z TRACE local local_update: }, -2023-11-07T14:29:14Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:29:14Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:29:14Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:29:14Z TRACE local local_update: }, -2023-11-07T14:29:14Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:29:14Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:29:14Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:29:14Z TRACE local local_update: } -2023-11-07T14:29:14Z TRACE local local_update: } -2023-11-07T14:29:14Z TRACE local local_update: } -2023-11-07T14:29:14Z TRACE local local_update: } -2023-11-07T14:29:14Z INFO Device config Remove `discovery.generation` -2023-11-07T14:29:14Z TRACE Update config before cleared enumeration generation: Remove `discovery.generation` -2023-11-07T14:29:15Z TRACE received command AHU-1/state/update -2023-11-07T14:29:15Z DEBUG received state_update -2023-11-07T14:29:15Z DEBUG Handling update message state_update PS:9586572362853544 -2023-11-07T14:29:15Z DEBUG Updated state after 0s 2023-11-07T14:29:15Z PS:9586572362853544 -2023-11-07T14:29:15Z INFO Updated state #007: Changed 4 fields: -2023-11-07T14:29:15Z INFO Updated state #007: Set `system.last_config` = `2023-11-07T14:29:14Z` -2023-11-07T14:29:15Z INFO Updated state #007: Set `system.status.timestamp` = `2023-11-07T14:29:14Z` -2023-11-07T14:29:15Z INFO Updated state #007: Remove `discovery.generation` -2023-11-07T14:29:15Z INFO Updated state #007: Set `timestamp` = `2023-11-07T14:29:15Z` -2023-11-07T14:29:15Z DEBUG Updated state has last_config 2023-11-07T14:29:14Z (expecting 2023-11-07T14:29:14Z) -2023-11-07T14:29:15Z DEBUG Status level: 300 -2023-11-07T14:29:15Z DEBUG stage finished waiting for cleared enumeration generation at 20s after 2s -2023-11-07T14:29:15Z TRACE stage resume waiting for executing test at 20s -2023-11-07T14:29:15Z INFO Received discovery generation 2023-11-07T14:29:11Z -2023-11-07T14:29:15Z DEBUG stage done waiting for executing test at 20s -2023-11-07T14:29:15Z DEBUG Status level: 300 -2023-11-07T14:29:15Z NOTICE RESULT pass enumeration empty_enumeration PREVIEW 5 Sequence complete -2023-11-07T14:29:15Z NOTICE Sequence complete -2023-11-07T14:29:15Z NOTICE ending test empty_enumeration after 20s ################################ +2024-02-18T18:45:36Z NOTICE starting test empty_enumeration ################################ +2024-02-18T18:45:36Z INFO Stage start waiting for starting test wrapper at 0s +2024-02-18T18:45:44Z INFO Allowing device state change +2024-02-18T18:45:44Z DEBUG Starting reset_config full reset true +2024-02-18T18:45:44Z DEBUG Clear configTransactions and reset device config +2024-02-18T18:45:44Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:44Z DEBUG Configuring device last_start to be 1970-01-01T00:01:13Z +2024-02-18T18:45:44Z DEBUG last_start changed true, last_start 1970-01-01T00:01:13Z +2024-02-18T18:45:44Z DEBUG extraFieldChanged false because extra_field null +2024-02-18T18:45:44Z DEBUG extraFieldChanged true because extra_field reset_config +2024-02-18T18:45:45Z DEBUG system config extra field reset_config +2024-02-18T18:45:45Z TRACE updated check config_system: true +2024-02-18T18:45:45Z DEBUG update config_system, configTransaction RC:1708281945803 +2024-02-18T18:45:45Z TRACE local local_system: { +2024-02-18T18:45:45Z TRACE local local_system: "min_loglevel" : 200, +2024-02-18T18:45:45Z TRACE local local_system: "metrics_rate_sec" : 10, +2024-02-18T18:45:45Z TRACE local local_system: "operation" : { +2024-02-18T18:45:45Z TRACE local local_system: "last_start" : "1970-01-01T00:01:13Z" +2024-02-18T18:45:45Z TRACE local local_system: }, +2024-02-18T18:45:45Z TRACE local local_system: "testing" : { +2024-02-18T18:45:45Z TRACE local local_system: "sequence_name" : "reset_config" +2024-02-18T18:45:45Z TRACE local local_system: }, +2024-02-18T18:45:45Z TRACE local local_system: "extra_field" : "reset_config" +2024-02-18T18:45:45Z TRACE local local_system: } +2024-02-18T18:45:45Z TRACE updated check config_pointset: false +2024-02-18T18:45:45Z TRACE updated check config_gateway: false +2024-02-18T18:45:45Z TRACE updated check config_localnet: false +2024-02-18T18:45:45Z TRACE updated check config_blobset: false +2024-02-18T18:45:45Z TRACE updated check config_discovery: false +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z DEBUG Update lastConfigUpdate 2024-02-18T18:45:45Z, because full reset +2024-02-18T18:45:45Z TRACE stage suspend waiting for starting test wrapper at 9s +2024-02-18T18:45:45Z INFO Stage start waiting for config sync at 9s +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z TRACE received command AHU-1/state/system +2024-02-18T18:45:45Z TRACE received state_system: { +2024-02-18T18:45:45Z TRACE received state_system: "hardware" : { +2024-02-18T18:45:45Z TRACE received state_system: "make" : "BOS", +2024-02-18T18:45:45Z TRACE received state_system: "model" : "pubber" +2024-02-18T18:45:45Z TRACE received state_system: }, +2024-02-18T18:45:45Z TRACE received state_system: "last_config" : "2024-02-18T18:45:31Z", +2024-02-18T18:45:45Z TRACE received state_system: "operation" : { +2024-02-18T18:45:45Z TRACE received state_system: "operational" : true, +2024-02-18T18:45:45Z TRACE received state_system: "last_start" : "2024-02-18T18:44:35Z", +2024-02-18T18:45:45Z TRACE received state_system: "restart_count" : 1, +2024-02-18T18:45:45Z TRACE received state_system: "mode" : "initial" +2024-02-18T18:45:45Z TRACE received state_system: }, +2024-02-18T18:45:45Z TRACE received state_system: "serial_no" : "sequencer-24548", +2024-02-18T18:45:45Z TRACE received state_system: "software" : { +2024-02-18T18:45:45Z TRACE received state_system: "firmware" : "v1" +2024-02-18T18:45:45Z TRACE received state_system: }, +2024-02-18T18:45:45Z TRACE received state_system: "status" : { +2024-02-18T18:45:45Z TRACE received state_system: "message" : "success", +2024-02-18T18:45:45Z TRACE received state_system: "category" : "system.config.apply", +2024-02-18T18:45:45Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:32Z", +2024-02-18T18:45:45Z TRACE received state_system: "level" : 300 +2024-02-18T18:45:45Z TRACE received state_system: }, +2024-02-18T18:45:45Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:36Z", +2024-02-18T18:45:45Z TRACE received state_system: "version" : "1.5.0" +2024-02-18T18:45:45Z TRACE received state_system: } +2024-02-18T18:45:45Z DEBUG Handling device message state_system PS:10519563282279159-0 +2024-02-18T18:45:45Z TRACE Ignoring partial state update +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z TRACE received command AHU-1/state/localnet +2024-02-18T18:45:45Z TRACE received state_localnet: { +2024-02-18T18:45:45Z TRACE received state_localnet: "families" : { +2024-02-18T18:45:45Z TRACE received state_localnet: "ether" : { +2024-02-18T18:45:45Z TRACE received state_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:45Z TRACE received state_localnet: }, +2024-02-18T18:45:45Z TRACE received state_localnet: "ipv4" : { +2024-02-18T18:45:45Z TRACE received state_localnet: "addr" : "10.1.0.187" +2024-02-18T18:45:45Z TRACE received state_localnet: }, +2024-02-18T18:45:45Z TRACE received state_localnet: "ipv6" : { +2024-02-18T18:45:45Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:45Z TRACE received state_localnet: } +2024-02-18T18:45:45Z TRACE received state_localnet: }, +2024-02-18T18:45:45Z TRACE received state_localnet: "timestamp" : "2024-02-18T18:45:36Z", +2024-02-18T18:45:45Z TRACE received state_localnet: "version" : "1.5.0" +2024-02-18T18:45:45Z TRACE received state_localnet: } +2024-02-18T18:45:45Z DEBUG Handling device message state_localnet PS:10519563282279159-1 +2024-02-18T18:45:45Z TRACE Ignoring partial state update +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z TRACE received command AHU-1/state/pointset +2024-02-18T18:45:45Z TRACE received state_pointset: { +2024-02-18T18:45:45Z TRACE received state_pointset: "points" : { +2024-02-18T18:45:45Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, +2024-02-18T18:45:45Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:45Z TRACE received state_pointset: "units" : "Bars", +2024-02-18T18:45:45Z TRACE received state_pointset: "value_state" : "applied" +2024-02-18T18:45:45Z TRACE received state_pointset: }, +2024-02-18T18:45:45Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:45Z TRACE received state_pointset: "units" : "Degrees-Celsius" +2024-02-18T18:45:45Z TRACE received state_pointset: } +2024-02-18T18:45:45Z TRACE received state_pointset: }, +2024-02-18T18:45:45Z TRACE received state_pointset: "timestamp" : "2024-02-18T18:45:36Z", +2024-02-18T18:45:45Z TRACE received state_pointset: "version" : "1.5.0" +2024-02-18T18:45:45Z TRACE received state_pointset: } +2024-02-18T18:45:45Z DEBUG Handling device message state_pointset PS:10519563282279159-2 +2024-02-18T18:45:45Z TRACE Ignoring partial state update +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z TRACE received command AHU-1/event/pointset +2024-02-18T18:45:45Z TRACE received event_pointset: { +2024-02-18T18:45:45Z TRACE received event_pointset: "points" : { +2024-02-18T18:45:45Z TRACE received event_pointset: "filter_alarm_pressure_status" : { +2024-02-18T18:45:45Z TRACE received event_pointset: "present_value" : false +2024-02-18T18:45:45Z TRACE received event_pointset: }, +2024-02-18T18:45:45Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:45Z TRACE received event_pointset: "present_value" : 98 +2024-02-18T18:45:45Z TRACE received event_pointset: }, +2024-02-18T18:45:45Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:45Z TRACE received event_pointset: "present_value" : 10 +2024-02-18T18:45:45Z TRACE received event_pointset: } +2024-02-18T18:45:45Z TRACE received event_pointset: }, +2024-02-18T18:45:45Z TRACE received event_pointset: "timestamp" : "2024-02-18T18:45:37Z", +2024-02-18T18:45:45Z TRACE received event_pointset: "version" : "1.5.0" +2024-02-18T18:45:45Z TRACE received event_pointset: } +2024-02-18T18:45:45Z DEBUG Handling device message event_pointset PS:10521027790992234 +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z TRACE received command AHU-1/event/system +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z WARNING device.log: Received config for config latch AHU-1 +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z NOTICE system.config.apply: success +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z INFO device.log: Connection complete. +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z WARNING device.log: Start waiting 10s for config latch for AHU-1 +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z WARNING device.log: Ending connection 1708281926714 with 9 +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z NOTICE device.log: Persisting connection endpoint +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z WARNING device.log: Updating persistent store: {"endpoint":{"protocol":"mqtt","hostname":"mqtt.bos.goog","port":8883,"client_id":"projects/bos-platform-dev/locations/us-central1/registries/grafnu~ZZ-TRI-FECTA_2/devices/AHU-1","generation":"2024-02-18T18:45:16Z"},"restart_count":1} +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z INFO device.log: Device AHU-1 config handler +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z INFO device.log: 2024-02-18T18:45:27Z received config 2024-02-18T18:45:27Z +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:27Z NOTICE system.config.apply: success +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:28Z INFO device.log: Update state 2024-02-18T18:45:28Z last_config 2024-02-18T18:45:27Z +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:32Z INFO device.log: Update state 2024-02-18T18:45:32Z last_config 2024-02-18T18:45:27Z +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:32Z INFO device.log: Device AHU-1 config handler +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:32Z INFO device.log: 2024-02-18T18:45:32Z received config 2024-02-18T18:45:31Z +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:32Z NOTICE system.config.apply: success +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:34Z INFO device.log: Update state 2024-02-18T18:45:34Z last_config 2024-02-18T18:45:31Z +2024-02-18T18:45:45Z DEBUG received event_system 2024-02-18T18:45:36Z INFO device.log: Update state 2024-02-18T18:45:36Z last_config 2024-02-18T18:45:31Z +2024-02-18T18:45:45Z DEBUG Handling device message event_system PS:10520231128699600 +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z TRACE received command AHU-1/config/update +2024-02-18T18:45:45Z DEBUG received config_update +2024-02-18T18:45:45Z DEBUG Handling update message config_update RC:1708281945803 +2024-02-18T18:45:45Z DEBUG Removed configTransaction RC:1708281945803 +2024-02-18T18:45:45Z DEBUG last_start changed false, last_start 1970-01-01T00:01:13Z +2024-02-18T18:45:45Z DEBUG Updated config 2024-02-18T18:45:45Z RC:1708281945803 +2024-02-18T18:45:45Z INFO Updated config #017: Changed 4 fields: +2024-02-18T18:45:45Z INFO Updated config #017: Set `system.testing.sequence_name` = `empty_enumeration` +2024-02-18T18:45:45Z INFO Updated config #017: Remove `pointset` +2024-02-18T18:45:45Z INFO Updated config #017: Remove `blobset` +2024-02-18T18:45:45Z INFO Updated config #017: Remove `localnet` +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z DEBUG Stage finished waiting for config sync at 9s after 0s +2024-02-18T18:45:45Z TRACE Stage resume waiting for starting test wrapper at 9s +2024-02-18T18:45:45Z DEBUG Configuration sync took 0s +2024-02-18T18:45:45Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:45Z DEBUG wait for config sync pending false +2024-02-18T18:45:45Z DEBUG Update config full reset: 2024-02-18T18:45:45Z +2024-02-18T18:45:45Z TRACE local local_update: { +2024-02-18T18:45:45Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:45Z", +2024-02-18T18:45:45Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:45Z TRACE local local_update: "system" : { +2024-02-18T18:45:45Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:45Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:45Z TRACE local local_update: "operation" : { +2024-02-18T18:45:45Z TRACE local local_update: "last_start" : "1970-01-01T00:01:13Z" +2024-02-18T18:45:45Z TRACE local local_update: }, +2024-02-18T18:45:45Z TRACE local local_update: "testing" : { +2024-02-18T18:45:45Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:45Z TRACE local local_update: } +2024-02-18T18:45:45Z TRACE local local_update: } +2024-02-18T18:45:45Z TRACE local local_update: } +2024-02-18T18:45:45Z TRACE Update config full reset: Add `timestamp` = `generated timestamp` +2024-02-18T18:45:45Z TRACE stage suspend waiting for starting test wrapper at 9s +2024-02-18T18:45:45Z INFO Stage start waiting for no applicable system status at 9s +2024-02-18T18:45:46Z DEBUG system config extra field reset_config +2024-02-18T18:45:46Z TRACE updated check config_system: true +2024-02-18T18:45:46Z DEBUG update config_system, configTransaction RC:1708281946985 +2024-02-18T18:45:46Z TRACE local local_system: { +2024-02-18T18:45:46Z TRACE local local_system: "min_loglevel" : 200, +2024-02-18T18:45:46Z TRACE local local_system: "metrics_rate_sec" : 10, +2024-02-18T18:45:46Z TRACE local local_system: "operation" : { +2024-02-18T18:45:46Z TRACE local local_system: "last_start" : "1970-01-01T00:01:13Z" +2024-02-18T18:45:46Z TRACE local local_system: }, +2024-02-18T18:45:46Z TRACE local local_system: "testing" : { +2024-02-18T18:45:46Z TRACE local local_system: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:46Z TRACE local local_system: }, +2024-02-18T18:45:46Z TRACE local local_system: "extra_field" : "reset_config" +2024-02-18T18:45:46Z TRACE local local_system: } +2024-02-18T18:45:46Z TRACE updated check config_pointset: false +2024-02-18T18:45:46Z TRACE updated check config_gateway: false +2024-02-18T18:45:46Z TRACE updated check config_localnet: false +2024-02-18T18:45:46Z TRACE updated check config_blobset: false +2024-02-18T18:45:46Z TRACE updated check config_discovery: false +2024-02-18T18:45:46Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:46Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:46Z DEBUG Update lastConfigUpdate 2024-02-18T18:45:46Z, because before no applicable system status +2024-02-18T18:45:46Z TRACE stage suspend waiting for no applicable system status at 10s +2024-02-18T18:45:46Z INFO Stage start waiting for config sync at 10s +2024-02-18T18:45:46Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "system" because "this.deviceState" is null +2024-02-18T18:45:46Z TRACE received command AHU-1/state/update +2024-02-18T18:45:46Z DEBUG received state_update +2024-02-18T18:45:46Z DEBUG Handling update message state_update PS:10520197075496863 +2024-02-18T18:45:46Z DEBUG Updated state after 1s 2024-02-18T18:45:45Z PS:10520197075496863 +2024-02-18T18:45:46Z INFO Updated state #018: Changed 4 fields: +2024-02-18T18:45:46Z INFO Updated state #018: Set `system.status.level` = `100` +2024-02-18T18:45:46Z INFO Updated state #018: Set `system.status.category` = `system.config.parse` +2024-02-18T18:45:46Z INFO Updated state #018: Set `system.status.timestamp` = `2024-02-18T18:45:45Z` +2024-02-18T18:45:46Z INFO Updated state #018: Set `timestamp` = `2024-02-18T18:45:45Z` +2024-02-18T18:45:46Z NOTICE Received serial number sequencer-24548 +2024-02-18T18:45:46Z DEBUG Updated state has last_config 2024-02-18T18:45:31Z (expecting 2024-02-18T18:45:45Z) +2024-02-18T18:45:46Z TRACE received command AHU-1/state/system +2024-02-18T18:45:46Z TRACE received state_system: { +2024-02-18T18:45:46Z TRACE received state_system: "hardware" : { +2024-02-18T18:45:46Z TRACE received state_system: "make" : "BOS", +2024-02-18T18:45:46Z TRACE received state_system: "model" : "pubber" +2024-02-18T18:45:46Z TRACE received state_system: }, +2024-02-18T18:45:46Z TRACE received state_system: "last_config" : "2024-02-18T18:45:31Z", +2024-02-18T18:45:46Z TRACE received state_system: "operation" : { +2024-02-18T18:45:46Z TRACE received state_system: "operational" : true, +2024-02-18T18:45:46Z TRACE received state_system: "last_start" : "2024-02-18T18:44:35Z", +2024-02-18T18:45:46Z TRACE received state_system: "restart_count" : 1, +2024-02-18T18:45:46Z TRACE received state_system: "mode" : "initial" +2024-02-18T18:45:46Z TRACE received state_system: }, +2024-02-18T18:45:46Z TRACE received state_system: "serial_no" : "sequencer-24548", +2024-02-18T18:45:46Z TRACE received state_system: "software" : { +2024-02-18T18:45:46Z TRACE received state_system: "firmware" : "v1" +2024-02-18T18:45:46Z TRACE received state_system: }, +2024-02-18T18:45:46Z TRACE received state_system: "status" : { +2024-02-18T18:45:46Z TRACE received state_system: "message" : "success", +2024-02-18T18:45:46Z TRACE received state_system: "category" : "system.config.parse", +2024-02-18T18:45:46Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:45Z", +2024-02-18T18:45:46Z TRACE received state_system: "level" : 100 +2024-02-18T18:45:46Z TRACE received state_system: }, +2024-02-18T18:45:46Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:45Z", +2024-02-18T18:45:46Z TRACE received state_system: "version" : "1.5.0" +2024-02-18T18:45:46Z TRACE received state_system: } +2024-02-18T18:45:46Z DEBUG Handling device message state_system PS:10520197075496863-0 +2024-02-18T18:45:46Z TRACE Ignoring partial state update +2024-02-18T18:45:46Z TRACE received command AHU-1/state/localnet +2024-02-18T18:45:46Z TRACE received state_localnet: { +2024-02-18T18:45:46Z TRACE received state_localnet: "families" : { +2024-02-18T18:45:46Z TRACE received state_localnet: "ether" : { +2024-02-18T18:45:46Z TRACE received state_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:46Z TRACE received state_localnet: }, +2024-02-18T18:45:46Z TRACE received state_localnet: "ipv4" : { +2024-02-18T18:45:46Z TRACE received state_localnet: "addr" : "10.1.0.187" +2024-02-18T18:45:46Z TRACE received state_localnet: }, +2024-02-18T18:45:46Z TRACE received state_localnet: "ipv6" : { +2024-02-18T18:45:46Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:46Z TRACE received state_localnet: } +2024-02-18T18:45:46Z TRACE received state_localnet: }, +2024-02-18T18:45:46Z TRACE received state_localnet: "timestamp" : "2024-02-18T18:45:45Z", +2024-02-18T18:45:46Z TRACE received state_localnet: "version" : "1.5.0" +2024-02-18T18:45:46Z TRACE received state_localnet: } +2024-02-18T18:45:46Z DEBUG Handling device message state_localnet PS:10520197075496863-1 +2024-02-18T18:45:46Z TRACE Ignoring partial state update +2024-02-18T18:45:46Z TRACE received command AHU-1/state/pointset +2024-02-18T18:45:46Z TRACE received state_pointset: { +2024-02-18T18:45:46Z TRACE received state_pointset: "points" : { +2024-02-18T18:45:46Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, +2024-02-18T18:45:46Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:46Z TRACE received state_pointset: "units" : "Bars", +2024-02-18T18:45:46Z TRACE received state_pointset: "value_state" : "applied" +2024-02-18T18:45:46Z TRACE received state_pointset: }, +2024-02-18T18:45:46Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:46Z TRACE received state_pointset: "units" : "Degrees-Celsius" +2024-02-18T18:45:46Z TRACE received state_pointset: } +2024-02-18T18:45:46Z TRACE received state_pointset: }, +2024-02-18T18:45:46Z TRACE received state_pointset: "timestamp" : "2024-02-18T18:45:45Z", +2024-02-18T18:45:46Z TRACE received state_pointset: "version" : "1.5.0" +2024-02-18T18:45:46Z TRACE received state_pointset: } +2024-02-18T18:45:46Z DEBUG Handling device message state_pointset PS:10520197075496863-2 +2024-02-18T18:45:46Z TRACE Ignoring partial state update +2024-02-18T18:45:46Z TRACE received command AHU-1/config/update +2024-02-18T18:45:46Z DEBUG received config_update +2024-02-18T18:45:46Z DEBUG Handling update message config_update PS:10520197075496863 +2024-02-18T18:45:46Z DEBUG last_start changed true, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:46Z DEBUG Updated config 2024-02-18T18:45:45Z PS:10520197075496863 +2024-02-18T18:45:46Z INFO Updated config #018: Changed 0 fields. +2024-02-18T18:45:47Z TRACE received command AHU-1/config/update +2024-02-18T18:45:47Z DEBUG received config_update +2024-02-18T18:45:47Z DEBUG Handling update message config_update RC:1708281946985 +2024-02-18T18:45:47Z DEBUG Removed configTransaction RC:1708281946985 +2024-02-18T18:45:47Z DEBUG last_start changed true, last_start 1970-01-01T00:01:13Z +2024-02-18T18:45:47Z DEBUG Updated config 2024-02-18T18:45:47Z RC:1708281946985 +2024-02-18T18:45:47Z INFO Updated config #019: Changed 0 fields. +2024-02-18T18:45:47Z TRACE received command AHU-1/event/system +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:45Z INFO device.log: Update state 2024-02-18T18:45:45Z last_config 2024-02-18T18:45:31Z +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:46Z INFO device.log: 2024-02-18T18:45:46Z received config 2024-02-18T18:45:45Z +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:46Z NOTICE system.config.apply: success +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:46Z INFO device.log: Device AHU-1 config handler +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:46Z INFO device.log: 2024-02-18T18:45:46Z received config 2024-02-18T18:45:45Z +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:46Z NOTICE system.config.apply: success +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:47Z INFO device.log: Device AHU-1 config handler +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:47Z INFO device.log: 2024-02-18T18:45:47Z received config 2024-02-18T18:45:47Z +2024-02-18T18:45:47Z DEBUG received event_system 2024-02-18T18:45:47Z NOTICE system.config.apply: success +2024-02-18T18:45:47Z DEBUG Handling device message event_system PS:10522296627786033 +2024-02-18T18:45:48Z TRACE received command AHU-1/state/update +2024-02-18T18:45:48Z DEBUG received state_update +2024-02-18T18:45:48Z DEBUG Handling update message state_update PS:10521759179359749 +2024-02-18T18:45:48Z DEBUG Updated state after 0s 2024-02-18T18:45:48Z PS:10521759179359749 +2024-02-18T18:45:48Z INFO Updated state #019: Changed 6 fields: +2024-02-18T18:45:48Z INFO Updated state #019: Set `system.last_config` = `2024-02-18T18:45:47Z` +2024-02-18T18:45:48Z INFO Updated state #019: Set `system.status.level` = `300` +2024-02-18T18:45:48Z INFO Updated state #019: Set `system.status.category` = `system.config.apply` +2024-02-18T18:45:48Z INFO Updated state #019: Set `system.status.timestamp` = `2024-02-18T18:45:47Z` +2024-02-18T18:45:48Z INFO Updated state #019: Set `timestamp` = `2024-02-18T18:45:48Z` +2024-02-18T18:45:48Z INFO Updated state #019: Remove `pointset` +2024-02-18T18:45:48Z DEBUG Updated state has last_config 2024-02-18T18:45:47Z (expecting 2024-02-18T18:45:47Z) +2024-02-18T18:45:48Z TRACE received command AHU-1/state/system +2024-02-18T18:45:48Z TRACE received state_system: { +2024-02-18T18:45:48Z TRACE received state_system: "hardware" : { +2024-02-18T18:45:48Z TRACE received state_system: "make" : "BOS", +2024-02-18T18:45:48Z TRACE received state_system: "model" : "pubber" +2024-02-18T18:45:48Z TRACE received state_system: }, +2024-02-18T18:45:48Z TRACE received state_system: "last_config" : "2024-02-18T18:45:47Z", +2024-02-18T18:45:48Z TRACE received state_system: "operation" : { +2024-02-18T18:45:48Z TRACE received state_system: "operational" : true, +2024-02-18T18:45:48Z TRACE received state_system: "last_start" : "2024-02-18T18:44:35Z", +2024-02-18T18:45:48Z TRACE received state_system: "restart_count" : 1, +2024-02-18T18:45:48Z TRACE received state_system: "mode" : "initial" +2024-02-18T18:45:48Z TRACE received state_system: }, +2024-02-18T18:45:48Z TRACE received state_system: "serial_no" : "sequencer-24548", +2024-02-18T18:45:48Z TRACE received state_system: "software" : { +2024-02-18T18:45:48Z TRACE received state_system: "firmware" : "v1" +2024-02-18T18:45:48Z TRACE received state_system: }, +2024-02-18T18:45:48Z TRACE received state_system: "status" : { +2024-02-18T18:45:48Z TRACE received state_system: "message" : "success", +2024-02-18T18:45:48Z TRACE received state_system: "category" : "system.config.apply", +2024-02-18T18:45:48Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:47Z", +2024-02-18T18:45:48Z TRACE received state_system: "level" : 300 +2024-02-18T18:45:48Z TRACE received state_system: }, +2024-02-18T18:45:48Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:48Z", +2024-02-18T18:45:48Z TRACE received state_system: "version" : "1.5.0" +2024-02-18T18:45:48Z TRACE received state_system: } +2024-02-18T18:45:48Z DEBUG Handling device message state_system PS:10521759179359749-0 +2024-02-18T18:45:48Z TRACE Ignoring partial state update +2024-02-18T18:45:48Z TRACE received command AHU-1/state/localnet +2024-02-18T18:45:48Z TRACE received state_localnet: { +2024-02-18T18:45:48Z TRACE received state_localnet: "families" : { +2024-02-18T18:45:48Z TRACE received state_localnet: "ether" : { +2024-02-18T18:45:48Z TRACE received state_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:48Z TRACE received state_localnet: }, +2024-02-18T18:45:48Z TRACE received state_localnet: "ipv4" : { +2024-02-18T18:45:48Z TRACE received state_localnet: "addr" : "10.1.0.187" +2024-02-18T18:45:48Z TRACE received state_localnet: }, +2024-02-18T18:45:48Z TRACE received state_localnet: "ipv6" : { +2024-02-18T18:45:48Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:48Z TRACE received state_localnet: } +2024-02-18T18:45:48Z TRACE received state_localnet: }, +2024-02-18T18:45:48Z TRACE received state_localnet: "timestamp" : "2024-02-18T18:45:48Z", +2024-02-18T18:45:48Z TRACE received state_localnet: "version" : "1.5.0" +2024-02-18T18:45:48Z TRACE received state_localnet: } +2024-02-18T18:45:48Z DEBUG Handling device message state_localnet PS:10521759179359749-1 +2024-02-18T18:45:48Z TRACE Ignoring partial state update +2024-02-18T18:45:48Z TRACE received command AHU-1/config/update +2024-02-18T18:45:48Z DEBUG received config_update +2024-02-18T18:45:48Z DEBUG Handling update message config_update PS:10521759179359749 +2024-02-18T18:45:48Z DEBUG last_start changed true, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:48Z DEBUG Updated config 2024-02-18T18:45:47Z PS:10521759179359749 +2024-02-18T18:45:48Z INFO Updated config #020: Changed 0 fields. +2024-02-18T18:45:48Z DEBUG Stage finished waiting for config sync at 11s after 1s +2024-02-18T18:45:48Z TRACE Stage resume waiting for no applicable system status at 11s +2024-02-18T18:45:48Z DEBUG Configuration sync took 2s +2024-02-18T18:45:48Z DEBUG wait for config sync pending false +2024-02-18T18:45:48Z DEBUG Update config before no applicable system status: 2024-02-18T18:45:47Z +2024-02-18T18:45:48Z TRACE local local_update: { +2024-02-18T18:45:48Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:47Z", +2024-02-18T18:45:48Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:48Z TRACE local local_update: "system" : { +2024-02-18T18:45:48Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:48Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:48Z TRACE local local_update: "operation" : { +2024-02-18T18:45:48Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:48Z TRACE local local_update: }, +2024-02-18T18:45:48Z TRACE local local_update: "testing" : { +2024-02-18T18:45:48Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:48Z TRACE local local_update: } +2024-02-18T18:45:48Z TRACE local local_update: } +2024-02-18T18:45:48Z TRACE local local_update: } +2024-02-18T18:45:48Z DEBUG Status level: 300 +2024-02-18T18:45:48Z DEBUG Stage finished waiting for no applicable system status at 11s after 2s +2024-02-18T18:45:48Z TRACE Stage resume waiting for starting test wrapper at 11s +2024-02-18T18:45:48Z DEBUG Status level: 300 +2024-02-18T18:45:48Z DEBUG Clear configTransactions and reset device config +2024-02-18T18:45:48Z DEBUG Configuring device last_start to be 2024-02-18T18:44:35Z +2024-02-18T18:45:48Z DEBUG last_start changed true, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:48Z DEBUG extraFieldChanged true because extra_field null +2024-02-18T18:45:49Z DEBUG system config extra field null +2024-02-18T18:45:49Z TRACE updated check config_system: true +2024-02-18T18:45:49Z DEBUG update config_system, configTransaction RC:1708281949401 +2024-02-18T18:45:49Z TRACE local local_system: { +2024-02-18T18:45:49Z TRACE local local_system: "min_loglevel" : 200, +2024-02-18T18:45:49Z TRACE local local_system: "metrics_rate_sec" : 10, +2024-02-18T18:45:49Z TRACE local local_system: "operation" : { +2024-02-18T18:45:49Z TRACE local local_system: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:49Z TRACE local local_system: }, +2024-02-18T18:45:49Z TRACE local local_system: "testing" : { +2024-02-18T18:45:49Z TRACE local local_system: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:49Z TRACE local local_system: } +2024-02-18T18:45:49Z TRACE local local_system: } +2024-02-18T18:45:49Z TRACE updated check config_pointset: true +2024-02-18T18:45:49Z DEBUG update config_pointset, configTransaction RC:1708281949402 +2024-02-18T18:45:49Z TRACE local local_pointset: { +2024-02-18T18:45:49Z TRACE local local_pointset: "points" : { +2024-02-18T18:45:49Z TRACE local local_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:49Z TRACE local local_pointset: "units" : "Bars", +2024-02-18T18:45:49Z TRACE local local_pointset: "set_value" : 98 +2024-02-18T18:45:49Z TRACE local local_pointset: }, +2024-02-18T18:45:49Z TRACE local local_pointset: "filter_alarm_pressure_status" : { +2024-02-18T18:45:49Z TRACE local local_pointset: "ref" : "BV11.present_value", +2024-02-18T18:45:49Z TRACE local local_pointset: "units" : "No-units" +2024-02-18T18:45:49Z TRACE local local_pointset: }, +2024-02-18T18:45:49Z TRACE local local_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:49Z TRACE local local_pointset: "ref" : "AV12.present_value", +2024-02-18T18:45:49Z TRACE local local_pointset: "units" : "Degrees-Celsius" +2024-02-18T18:45:49Z TRACE local local_pointset: } +2024-02-18T18:45:49Z TRACE local local_pointset: } +2024-02-18T18:45:49Z TRACE local local_pointset: } +2024-02-18T18:45:49Z TRACE updated check config_gateway: false +2024-02-18T18:45:49Z TRACE updated check config_localnet: true +2024-02-18T18:45:49Z DEBUG update config_localnet, configTransaction RC:1708281949403 +2024-02-18T18:45:49Z TRACE local local_localnet: { +2024-02-18T18:45:49Z TRACE local local_localnet: "families" : { +2024-02-18T18:45:49Z TRACE local local_localnet: "ether" : { +2024-02-18T18:45:49Z TRACE local local_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:49Z TRACE local local_localnet: }, +2024-02-18T18:45:49Z TRACE local local_localnet: "ipv4" : { +2024-02-18T18:45:49Z TRACE local local_localnet: "addr" : "10.1.0.187" +2024-02-18T18:45:49Z TRACE local local_localnet: }, +2024-02-18T18:45:49Z TRACE local local_localnet: "ipv6" : { +2024-02-18T18:45:49Z TRACE local local_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:49Z TRACE local local_localnet: } +2024-02-18T18:45:49Z TRACE local local_localnet: } +2024-02-18T18:45:49Z TRACE local local_localnet: } +2024-02-18T18:45:49Z TRACE updated check config_blobset: false +2024-02-18T18:45:49Z TRACE updated check config_discovery: false +2024-02-18T18:45:49Z DEBUG Update lastConfigUpdate 2024-02-18T18:45:49Z, because soft reset +2024-02-18T18:45:49Z TRACE stage suspend waiting for starting test wrapper at 12s +2024-02-18T18:45:49Z INFO Stage start waiting for config sync at 12s +2024-02-18T18:45:49Z TRACE received command AHU-1/config/update +2024-02-18T18:45:49Z DEBUG received config_update +2024-02-18T18:45:49Z DEBUG Handling update message config_update RC:1708281949401 +2024-02-18T18:45:49Z DEBUG Removed configTransaction RC:1708281949401 +2024-02-18T18:45:49Z DEBUG last_start changed false, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:49Z DEBUG Updated config 2024-02-18T18:45:49Z RC:1708281949401 +2024-02-18T18:45:49Z INFO Updated config #021: Changed 2 fields: +2024-02-18T18:45:49Z INFO Updated config #021: Add `pointset` = { "points": { "filter_differential_pressure_setpoint": { "set_value": `98`, "units": `Bars` }, "filter_alarm_pressure_status": { "ref": `BV11.present_value`, "units": `No-units` }, "filter_differential_pressure_sensor": { "ref": `AV12.present_value`, "units": `Degrees-Celsius` } } } +2024-02-18T18:45:49Z INFO Updated config #021: Add `localnet` = { "families": { "ether": { "addr": `00:0d:3a:5a:10:c7` }, "ipv4": { "addr": `10.1.0.187` }, "ipv6": { "addr": `fe80::20d:3aff:fe5a:10c7` } } } +2024-02-18T18:45:49Z TRACE received command AHU-1/config/update +2024-02-18T18:45:49Z DEBUG received config_update +2024-02-18T18:45:49Z DEBUG Handling update message config_update RC:1708281949403 +2024-02-18T18:45:49Z DEBUG Removed configTransaction RC:1708281949403 +2024-02-18T18:45:49Z DEBUG last_start changed false, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:49Z DEBUG Updated config 2024-02-18T18:45:49Z RC:1708281949403 +2024-02-18T18:45:49Z INFO Updated config #022: Changed 0 fields. +2024-02-18T18:45:49Z TRACE received command AHU-1/config/update +2024-02-18T18:45:49Z DEBUG received config_update +2024-02-18T18:45:49Z DEBUG Handling update message config_update RC:1708281949402 +2024-02-18T18:45:49Z DEBUG Removed configTransaction RC:1708281949402 +2024-02-18T18:45:49Z DEBUG last_start changed false, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:49Z DEBUG Updated config 2024-02-18T18:45:49Z RC:1708281949402 +2024-02-18T18:45:49Z INFO Updated config #023: Changed 0 fields. +2024-02-18T18:45:49Z DEBUG Status level: 300 +2024-02-18T18:45:49Z DEBUG Stage finished waiting for config sync at 12s after 0s +2024-02-18T18:45:49Z TRACE Stage resume waiting for starting test wrapper at 12s +2024-02-18T18:45:49Z DEBUG Configuration sync took 0s +2024-02-18T18:45:49Z DEBUG wait for config sync pending false +2024-02-18T18:45:49Z DEBUG Update config soft reset: 2024-02-18T18:45:49Z +2024-02-18T18:45:49Z TRACE local local_update: { +2024-02-18T18:45:49Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:49Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:49Z TRACE local local_update: "system" : { +2024-02-18T18:45:49Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:49Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:49Z TRACE local local_update: "operation" : { +2024-02-18T18:45:49Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:49Z TRACE local local_update: }, +2024-02-18T18:45:49Z TRACE local local_update: "testing" : { +2024-02-18T18:45:49Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:49Z TRACE local local_update: } +2024-02-18T18:45:49Z TRACE local local_update: }, +2024-02-18T18:45:49Z TRACE local local_update: "localnet" : { +2024-02-18T18:45:49Z TRACE local local_update: "families" : { +2024-02-18T18:45:49Z TRACE local local_update: "ether" : { +2024-02-18T18:45:49Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:49Z TRACE local local_update: }, +2024-02-18T18:45:49Z TRACE local local_update: "ipv4" : { +2024-02-18T18:45:49Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:45:49Z TRACE local local_update: }, +2024-02-18T18:45:49Z TRACE local local_update: "ipv6" : { +2024-02-18T18:45:49Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:49Z TRACE local local_update: } +2024-02-18T18:45:49Z TRACE local local_update: } +2024-02-18T18:45:49Z TRACE local local_update: }, +2024-02-18T18:45:49Z TRACE local local_update: "pointset" : { +2024-02-18T18:45:49Z TRACE local local_update: "points" : { +2024-02-18T18:45:49Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:49Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:45:49Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:45:49Z TRACE local local_update: }, +2024-02-18T18:45:49Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:45:49Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:45:49Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:45:49Z TRACE local local_update: }, +2024-02-18T18:45:49Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:49Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:45:49Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:45:49Z TRACE local local_update: } +2024-02-18T18:45:49Z TRACE local local_update: } +2024-02-18T18:45:49Z TRACE local local_update: } +2024-02-18T18:45:49Z TRACE local local_update: } +2024-02-18T18:45:49Z TRACE Update config soft reset: Add `pointset` = { "points": { "filter_differential_pressure_setpoint": { "set_value": `98`, "units": `Bars` }, "filter_alarm_pressure_status": { "ref": `BV11.present_value`, "units": `No-units` }, "filter_differential_pressure_sensor": { "ref": `AV12.present_value`, "units": `Degrees-Celsius` } } } +2024-02-18T18:45:49Z TRACE Update config soft reset: Add `localnet` = { "families": { "ether": { "addr": `00:0d:3a:5a:10:c7` }, "ipv4": { "addr": `10.1.0.187` }, "ipv6": { "addr": `fe80::20d:3aff:fe5a:10c7` } } } +2024-02-18T18:45:49Z DEBUG Done with reset_config +2024-02-18T18:45:49Z TRACE stage suspend waiting for starting test wrapper at 12s +2024-02-18T18:45:49Z INFO Stage start waiting for state last_config sync at 12s +2024-02-18T18:45:50Z DEBUG system config extra field null +2024-02-18T18:45:50Z TRACE updated check config_system: false +2024-02-18T18:45:50Z TRACE updated check config_pointset: false +2024-02-18T18:45:50Z TRACE updated check config_gateway: false +2024-02-18T18:45:50Z TRACE updated check config_localnet: false +2024-02-18T18:45:50Z TRACE updated check config_blobset: false +2024-02-18T18:45:50Z TRACE updated check config_discovery: false +2024-02-18T18:45:50Z DEBUG Update config Before state last_config sync: 2024-02-18T18:45:49Z +2024-02-18T18:45:50Z TRACE local local_update: { +2024-02-18T18:45:50Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:50Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:50Z TRACE local local_update: "system" : { +2024-02-18T18:45:50Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:50Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:50Z TRACE local local_update: "operation" : { +2024-02-18T18:45:50Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:50Z TRACE local local_update: }, +2024-02-18T18:45:50Z TRACE local local_update: "testing" : { +2024-02-18T18:45:50Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:50Z TRACE local local_update: } +2024-02-18T18:45:50Z TRACE local local_update: }, +2024-02-18T18:45:50Z TRACE local local_update: "localnet" : { +2024-02-18T18:45:50Z TRACE local local_update: "families" : { +2024-02-18T18:45:50Z TRACE local local_update: "ether" : { +2024-02-18T18:45:50Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:50Z TRACE local local_update: }, +2024-02-18T18:45:50Z TRACE local local_update: "ipv4" : { +2024-02-18T18:45:50Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:45:50Z TRACE local local_update: }, +2024-02-18T18:45:50Z TRACE local local_update: "ipv6" : { +2024-02-18T18:45:50Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:50Z TRACE local local_update: } +2024-02-18T18:45:50Z TRACE local local_update: } +2024-02-18T18:45:50Z TRACE local local_update: }, +2024-02-18T18:45:50Z TRACE local local_update: "pointset" : { +2024-02-18T18:45:50Z TRACE local local_update: "points" : { +2024-02-18T18:45:50Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:50Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:45:50Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:45:50Z TRACE local local_update: }, +2024-02-18T18:45:50Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:45:50Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:45:50Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:45:50Z TRACE local local_update: }, +2024-02-18T18:45:50Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:50Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:45:50Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:45:50Z TRACE local local_update: } +2024-02-18T18:45:50Z TRACE local local_update: } +2024-02-18T18:45:50Z TRACE local local_update: } +2024-02-18T18:45:50Z TRACE local local_update: } +2024-02-18T18:45:50Z TRACE received command AHU-1/state/update +2024-02-18T18:45:50Z DEBUG received state_update +2024-02-18T18:45:50Z DEBUG Handling update message state_update PS:10520950193058853 +2024-02-18T18:45:50Z DEBUG Updated state after 0s 2024-02-18T18:45:50Z PS:10520950193058853 +2024-02-18T18:45:50Z INFO Updated state #020: Changed 4 fields: +2024-02-18T18:45:50Z INFO Updated state #020: Set `system.last_config` = `2024-02-18T18:45:49Z` +2024-02-18T18:45:50Z INFO Updated state #020: Set `system.status.timestamp` = `2024-02-18T18:45:49Z` +2024-02-18T18:45:50Z INFO Updated state #020: Add `pointset` = { "points": { "filter_alarm_pressure_status": { }, "filter_differential_pressure_setpoint": { "value_state": `applied`, "units": `Bars` }, "filter_differential_pressure_sensor": { "units": `Degrees-Celsius` } } } +2024-02-18T18:45:50Z INFO Updated state #020: Set `timestamp` = `2024-02-18T18:45:50Z` +2024-02-18T18:45:50Z DEBUG Updated state has last_config 2024-02-18T18:45:49Z (expecting 2024-02-18T18:45:49Z) +2024-02-18T18:45:50Z DEBUG Status level: 300 +2024-02-18T18:45:50Z DEBUG Stage finished waiting for state last_config sync at 13s after 1s +2024-02-18T18:45:50Z TRACE Stage resume waiting for starting test wrapper at 13s +2024-02-18T18:45:50Z INFO Disallowing device state change +2024-02-18T18:45:51Z DEBUG system config extra field null +2024-02-18T18:45:51Z TRACE updated check config_system: false +2024-02-18T18:45:51Z TRACE updated check config_pointset: false +2024-02-18T18:45:51Z TRACE updated check config_gateway: false +2024-02-18T18:45:51Z TRACE updated check config_localnet: false +2024-02-18T18:45:51Z TRACE updated check config_blobset: false +2024-02-18T18:45:51Z TRACE updated check config_discovery: false +2024-02-18T18:45:51Z DEBUG Update config initial setup: 2024-02-18T18:45:49Z +2024-02-18T18:45:51Z TRACE local local_update: { +2024-02-18T18:45:51Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:51Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:51Z TRACE local local_update: "system" : { +2024-02-18T18:45:51Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:51Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:51Z TRACE local local_update: "operation" : { +2024-02-18T18:45:51Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:51Z TRACE local local_update: }, +2024-02-18T18:45:51Z TRACE local local_update: "testing" : { +2024-02-18T18:45:51Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:51Z TRACE local local_update: } +2024-02-18T18:45:51Z TRACE local local_update: }, +2024-02-18T18:45:51Z TRACE local local_update: "localnet" : { +2024-02-18T18:45:51Z TRACE local local_update: "families" : { +2024-02-18T18:45:51Z TRACE local local_update: "ether" : { +2024-02-18T18:45:51Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:51Z TRACE local local_update: }, +2024-02-18T18:45:51Z TRACE local local_update: "ipv4" : { +2024-02-18T18:45:51Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:45:51Z TRACE local local_update: }, +2024-02-18T18:45:51Z TRACE local local_update: "ipv6" : { +2024-02-18T18:45:51Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:51Z TRACE local local_update: } +2024-02-18T18:45:51Z TRACE local local_update: } +2024-02-18T18:45:51Z TRACE local local_update: }, +2024-02-18T18:45:51Z TRACE local local_update: "pointset" : { +2024-02-18T18:45:51Z TRACE local local_update: "points" : { +2024-02-18T18:45:51Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:51Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:45:51Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:45:51Z TRACE local local_update: }, +2024-02-18T18:45:51Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:45:51Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:45:51Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:45:51Z TRACE local local_update: }, +2024-02-18T18:45:51Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:51Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:45:51Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:45:51Z TRACE local local_update: } +2024-02-18T18:45:51Z TRACE local local_update: } +2024-02-18T18:45:51Z TRACE local local_update: } +2024-02-18T18:45:51Z TRACE local local_update: } +2024-02-18T18:45:51Z DEBUG Waiting for device stateTransaction RC:1708281951721 (was null) +2024-02-18T18:45:51Z TRACE stage suspend waiting for starting test wrapper at 14s +2024-02-18T18:45:51Z INFO Stage start waiting for state query at 14s +2024-02-18T18:45:51Z TRACE received command AHU-1/state/system +2024-02-18T18:45:51Z TRACE received state_system: { +2024-02-18T18:45:51Z TRACE received state_system: "hardware" : { +2024-02-18T18:45:51Z TRACE received state_system: "make" : "BOS", +2024-02-18T18:45:51Z TRACE received state_system: "model" : "pubber" +2024-02-18T18:45:51Z TRACE received state_system: }, +2024-02-18T18:45:51Z TRACE received state_system: "last_config" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:51Z TRACE received state_system: "operation" : { +2024-02-18T18:45:51Z TRACE received state_system: "operational" : true, +2024-02-18T18:45:51Z TRACE received state_system: "last_start" : "2024-02-18T18:44:35Z", +2024-02-18T18:45:51Z TRACE received state_system: "restart_count" : 1, +2024-02-18T18:45:51Z TRACE received state_system: "mode" : "initial" +2024-02-18T18:45:51Z TRACE received state_system: }, +2024-02-18T18:45:51Z TRACE received state_system: "serial_no" : "sequencer-24548", +2024-02-18T18:45:51Z TRACE received state_system: "software" : { +2024-02-18T18:45:51Z TRACE received state_system: "firmware" : "v1" +2024-02-18T18:45:51Z TRACE received state_system: }, +2024-02-18T18:45:51Z TRACE received state_system: "status" : { +2024-02-18T18:45:51Z TRACE received state_system: "message" : "success", +2024-02-18T18:45:51Z TRACE received state_system: "category" : "system.config.apply", +2024-02-18T18:45:51Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:51Z TRACE received state_system: "level" : 300 +2024-02-18T18:45:51Z TRACE received state_system: }, +2024-02-18T18:45:51Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:50Z", +2024-02-18T18:45:51Z TRACE received state_system: "version" : "1.5.0" +2024-02-18T18:45:51Z TRACE received state_system: } +2024-02-18T18:45:51Z DEBUG Handling device message state_system PS:10520950193058853-0 +2024-02-18T18:45:51Z TRACE Ignoring partial state update +2024-02-18T18:45:51Z TRACE received command AHU-1/state/localnet +2024-02-18T18:45:51Z TRACE received state_localnet: { +2024-02-18T18:45:51Z TRACE received state_localnet: "families" : { +2024-02-18T18:45:51Z TRACE received state_localnet: "ether" : { +2024-02-18T18:45:51Z TRACE received state_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:51Z TRACE received state_localnet: }, +2024-02-18T18:45:51Z TRACE received state_localnet: "ipv4" : { +2024-02-18T18:45:51Z TRACE received state_localnet: "addr" : "10.1.0.187" +2024-02-18T18:45:51Z TRACE received state_localnet: }, +2024-02-18T18:45:51Z TRACE received state_localnet: "ipv6" : { +2024-02-18T18:45:51Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:51Z TRACE received state_localnet: } +2024-02-18T18:45:51Z TRACE received state_localnet: }, +2024-02-18T18:45:51Z TRACE received state_localnet: "timestamp" : "2024-02-18T18:45:50Z", +2024-02-18T18:45:51Z TRACE received state_localnet: "version" : "1.5.0" +2024-02-18T18:45:51Z TRACE received state_localnet: } +2024-02-18T18:45:51Z DEBUG Handling device message state_localnet PS:10520950193058853-1 +2024-02-18T18:45:51Z TRACE Ignoring partial state update +2024-02-18T18:45:51Z TRACE received command AHU-1/state/pointset +2024-02-18T18:45:51Z TRACE received state_pointset: { +2024-02-18T18:45:51Z TRACE received state_pointset: "points" : { +2024-02-18T18:45:51Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, +2024-02-18T18:45:51Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:51Z TRACE received state_pointset: "units" : "Bars", +2024-02-18T18:45:51Z TRACE received state_pointset: "value_state" : "applied" +2024-02-18T18:45:51Z TRACE received state_pointset: }, +2024-02-18T18:45:51Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:51Z TRACE received state_pointset: "units" : "Degrees-Celsius" +2024-02-18T18:45:51Z TRACE received state_pointset: } +2024-02-18T18:45:51Z TRACE received state_pointset: }, +2024-02-18T18:45:51Z TRACE received state_pointset: "timestamp" : "2024-02-18T18:45:50Z", +2024-02-18T18:45:51Z TRACE received state_pointset: "version" : "1.5.0" +2024-02-18T18:45:51Z TRACE received state_pointset: } +2024-02-18T18:45:51Z DEBUG Handling device message state_pointset PS:10520950193058853-2 +2024-02-18T18:45:51Z TRACE Ignoring partial state update +2024-02-18T18:45:52Z TRACE received command AHU-1/state/update +2024-02-18T18:45:52Z DEBUG received state_update +2024-02-18T18:45:52Z DEBUG Handling update message state_update RC:1708281951721 +2024-02-18T18:45:52Z DEBUG Removed stateTransaction RC:1708281951721 +2024-02-18T18:45:52Z WARNING Ignoring out-of-order state update 2024-02-18T18:45:48Z RC:1708281951721 +2024-02-18T18:45:52Z DEBUG Status level: 300 +2024-02-18T18:45:52Z DEBUG Stage finished waiting for state query at 15s after 0s +2024-02-18T18:45:52Z TRACE Stage resume waiting for starting test wrapper at 15s +2024-02-18T18:45:52Z TRACE stage suspend waiting for starting test wrapper at 15s +2024-02-18T18:45:52Z INFO Stage start waiting for device state update at 15s +2024-02-18T18:45:53Z DEBUG system config extra field null +2024-02-18T18:45:53Z TRACE updated check config_system: false +2024-02-18T18:45:53Z TRACE updated check config_pointset: false +2024-02-18T18:45:53Z TRACE updated check config_gateway: false +2024-02-18T18:45:53Z TRACE updated check config_localnet: false +2024-02-18T18:45:53Z TRACE updated check config_blobset: false +2024-02-18T18:45:53Z TRACE updated check config_discovery: false +2024-02-18T18:45:53Z DEBUG Update config before device state update: 2024-02-18T18:45:49Z +2024-02-18T18:45:53Z TRACE local local_update: { +2024-02-18T18:45:53Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:53Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:53Z TRACE local local_update: "system" : { +2024-02-18T18:45:53Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:53Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:53Z TRACE local local_update: "operation" : { +2024-02-18T18:45:53Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:53Z TRACE local local_update: }, +2024-02-18T18:45:53Z TRACE local local_update: "testing" : { +2024-02-18T18:45:53Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:53Z TRACE local local_update: } +2024-02-18T18:45:53Z TRACE local local_update: }, +2024-02-18T18:45:53Z TRACE local local_update: "localnet" : { +2024-02-18T18:45:53Z TRACE local local_update: "families" : { +2024-02-18T18:45:53Z TRACE local local_update: "ether" : { +2024-02-18T18:45:53Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:53Z TRACE local local_update: }, +2024-02-18T18:45:53Z TRACE local local_update: "ipv4" : { +2024-02-18T18:45:53Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:45:53Z TRACE local local_update: }, +2024-02-18T18:45:53Z TRACE local local_update: "ipv6" : { +2024-02-18T18:45:53Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:53Z TRACE local local_update: } +2024-02-18T18:45:53Z TRACE local local_update: } +2024-02-18T18:45:53Z TRACE local local_update: }, +2024-02-18T18:45:53Z TRACE local local_update: "pointset" : { +2024-02-18T18:45:53Z TRACE local local_update: "points" : { +2024-02-18T18:45:53Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:53Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:45:53Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:45:53Z TRACE local local_update: }, +2024-02-18T18:45:53Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:45:53Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:45:53Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:45:53Z TRACE local local_update: }, +2024-02-18T18:45:53Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:53Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:45:53Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:45:53Z TRACE local local_update: } +2024-02-18T18:45:53Z TRACE local local_update: } +2024-02-18T18:45:53Z TRACE local local_update: } +2024-02-18T18:45:53Z TRACE local local_update: } +2024-02-18T18:45:53Z DEBUG Status level: 300 +2024-02-18T18:45:53Z DEBUG Stage finished waiting for device state update at 16s after 1s +2024-02-18T18:45:53Z TRACE Stage resume waiting for starting test wrapper at 16s +2024-02-18T18:45:53Z DEBUG Status level: 300 +2024-02-18T18:45:53Z TRACE stage suspend waiting for starting test wrapper at 16s +2024-02-18T18:45:53Z INFO Stage start waiting for state last_config sync at 16s +2024-02-18T18:45:54Z DEBUG system config extra field null +2024-02-18T18:45:54Z TRACE updated check config_system: false +2024-02-18T18:45:54Z TRACE updated check config_pointset: false +2024-02-18T18:45:54Z TRACE updated check config_gateway: false +2024-02-18T18:45:54Z TRACE updated check config_localnet: false +2024-02-18T18:45:54Z TRACE updated check config_blobset: false +2024-02-18T18:45:54Z TRACE updated check config_discovery: false +2024-02-18T18:45:54Z DEBUG Update config Before state last_config sync: 2024-02-18T18:45:49Z +2024-02-18T18:45:54Z TRACE local local_update: { +2024-02-18T18:45:54Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:54Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:54Z TRACE local local_update: "system" : { +2024-02-18T18:45:54Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:54Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:54Z TRACE local local_update: "operation" : { +2024-02-18T18:45:54Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:54Z TRACE local local_update: }, +2024-02-18T18:45:54Z TRACE local local_update: "testing" : { +2024-02-18T18:45:54Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:54Z TRACE local local_update: } +2024-02-18T18:45:54Z TRACE local local_update: }, +2024-02-18T18:45:54Z TRACE local local_update: "localnet" : { +2024-02-18T18:45:54Z TRACE local local_update: "families" : { +2024-02-18T18:45:54Z TRACE local local_update: "ether" : { +2024-02-18T18:45:54Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:54Z TRACE local local_update: }, +2024-02-18T18:45:54Z TRACE local local_update: "ipv4" : { +2024-02-18T18:45:54Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:45:54Z TRACE local local_update: }, +2024-02-18T18:45:54Z TRACE local local_update: "ipv6" : { +2024-02-18T18:45:54Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:54Z TRACE local local_update: } +2024-02-18T18:45:54Z TRACE local local_update: } +2024-02-18T18:45:54Z TRACE local local_update: }, +2024-02-18T18:45:54Z TRACE local local_update: "pointset" : { +2024-02-18T18:45:54Z TRACE local local_update: "points" : { +2024-02-18T18:45:54Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:54Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:45:54Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:45:54Z TRACE local local_update: }, +2024-02-18T18:45:54Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:45:54Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:45:54Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:45:54Z TRACE local local_update: }, +2024-02-18T18:45:54Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:54Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:45:54Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:45:54Z TRACE local local_update: } +2024-02-18T18:45:54Z TRACE local local_update: } +2024-02-18T18:45:54Z TRACE local local_update: } +2024-02-18T18:45:54Z TRACE local local_update: } +2024-02-18T18:45:54Z DEBUG Status level: 300 +2024-02-18T18:45:54Z DEBUG Stage finished waiting for state last_config sync at 17s after 1s +2024-02-18T18:45:54Z TRACE Stage resume waiting for starting test wrapper at 17s +2024-02-18T18:45:54Z TRACE stage suspend waiting for starting test wrapper at 17s +2024-02-18T18:45:54Z INFO Stage start waiting for executing test at 17s +2024-02-18T18:45:54Z DEBUG stage begin waiting for executing test at 17s +2024-02-18T18:45:54Z INFO Allowing device state change discovery +2024-02-18T18:45:54Z TRACE stage suspend waiting for executing test at 17s +2024-02-18T18:45:54Z INFO Stage start waiting for enumeration not active at 17s +2024-02-18T18:45:55Z DEBUG system config extra field null +2024-02-18T18:45:55Z TRACE updated check config_system: false +2024-02-18T18:45:55Z TRACE updated check config_pointset: false +2024-02-18T18:45:55Z TRACE updated check config_gateway: false +2024-02-18T18:45:55Z TRACE updated check config_localnet: false +2024-02-18T18:45:55Z TRACE updated check config_blobset: false +2024-02-18T18:45:55Z TRACE updated check config_discovery: true +2024-02-18T18:45:55Z DEBUG update config_discovery, configTransaction RC:1708281955014 +2024-02-18T18:45:55Z TRACE local local_discovery: { +2024-02-18T18:45:55Z TRACE local local_discovery: "enumerate" : { } +2024-02-18T18:45:55Z TRACE local local_discovery: } +2024-02-18T18:45:55Z DEBUG Update lastConfigUpdate 2024-02-18T18:45:55Z, because before enumeration not active +2024-02-18T18:45:55Z TRACE stage suspend waiting for enumeration not active at 18s +2024-02-18T18:45:55Z INFO Stage start waiting for config sync at 18s +2024-02-18T18:45:55Z TRACE received command AHU-1/reply/update +2024-02-18T18:45:55Z TRACE received command AHU-1/config/update +2024-02-18T18:45:55Z DEBUG received config_update +2024-02-18T18:45:55Z DEBUG Handling update message config_update RC:1708281955014 +2024-02-18T18:45:55Z DEBUG Removed configTransaction RC:1708281955014 +2024-02-18T18:45:55Z DEBUG last_start changed false, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:55Z DEBUG Updated config 2024-02-18T18:45:55Z RC:1708281955014 +2024-02-18T18:45:55Z INFO Updated config #024: Changed 1 fields: +2024-02-18T18:45:55Z INFO Updated config #024: Add `discovery` = { "enumerate": { } } +2024-02-18T18:45:55Z DEBUG Status level: 300 +2024-02-18T18:45:55Z DEBUG Stage finished waiting for config sync at 18s after 0s +2024-02-18T18:45:55Z TRACE Stage resume waiting for enumeration not active at 18s +2024-02-18T18:45:55Z DEBUG Configuration sync took 0s +2024-02-18T18:45:55Z DEBUG wait for config sync pending false +2024-02-18T18:45:55Z DEBUG Update config before enumeration not active: 2024-02-18T18:45:55Z +2024-02-18T18:45:55Z TRACE local local_update: { +2024-02-18T18:45:55Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:55Z", +2024-02-18T18:45:55Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:55Z TRACE local local_update: "system" : { +2024-02-18T18:45:55Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:55Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:55Z TRACE local local_update: "operation" : { +2024-02-18T18:45:55Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "testing" : { +2024-02-18T18:45:55Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:55Z TRACE local local_update: } +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "discovery" : { +2024-02-18T18:45:55Z TRACE local local_update: "enumerate" : { } +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "localnet" : { +2024-02-18T18:45:55Z TRACE local local_update: "families" : { +2024-02-18T18:45:55Z TRACE local local_update: "ether" : { +2024-02-18T18:45:55Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "ipv4" : { +2024-02-18T18:45:55Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "ipv6" : { +2024-02-18T18:45:55Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:55Z TRACE local local_update: } +2024-02-18T18:45:55Z TRACE local local_update: } +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "pointset" : { +2024-02-18T18:45:55Z TRACE local local_update: "points" : { +2024-02-18T18:45:55Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:55Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:45:55Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:45:55Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:45:55Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:45:55Z TRACE local local_update: }, +2024-02-18T18:45:55Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:55Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:45:55Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:45:55Z TRACE local local_update: } +2024-02-18T18:45:55Z TRACE local local_update: } +2024-02-18T18:45:55Z TRACE local local_update: } +2024-02-18T18:45:55Z TRACE local local_update: } +2024-02-18T18:45:55Z INFO Device config Add `discovery` = { "enumerate": { } } +2024-02-18T18:45:55Z TRACE Update config before enumeration not active: Add `discovery` = { "enumerate": { } } +2024-02-18T18:45:55Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "generation" because "this.deviceState.discovery" is null +2024-02-18T18:45:55Z TRACE received command AHU-1/state/update +2024-02-18T18:45:55Z DEBUG received state_update +2024-02-18T18:45:55Z DEBUG Handling update message state_update PS:10520323262681907 +2024-02-18T18:45:55Z DEBUG Updated state after 0s 2024-02-18T18:45:55Z PS:10520323262681907 +2024-02-18T18:45:55Z INFO Updated state #022: Changed 4 fields: +2024-02-18T18:45:55Z INFO Updated state #022: Set `system.status.level` = `100` +2024-02-18T18:45:55Z INFO Updated state #022: Set `system.status.category` = `system.config.parse` +2024-02-18T18:45:55Z INFO Updated state #022: Set `system.status.timestamp` = `2024-02-18T18:45:55Z` +2024-02-18T18:45:55Z INFO Updated state #022: Set `timestamp` = `2024-02-18T18:45:55Z` +2024-02-18T18:45:55Z DEBUG Updated state has last_config 2024-02-18T18:45:49Z (expecting 2024-02-18T18:45:55Z) +2024-02-18T18:45:55Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "generation" because "this.deviceState.discovery" is null +2024-02-18T18:45:55Z TRACE received command AHU-1/state/system +2024-02-18T18:45:55Z TRACE received state_system: { +2024-02-18T18:45:55Z TRACE received state_system: "hardware" : { +2024-02-18T18:45:55Z TRACE received state_system: "make" : "BOS", +2024-02-18T18:45:55Z TRACE received state_system: "model" : "pubber" +2024-02-18T18:45:55Z TRACE received state_system: }, +2024-02-18T18:45:55Z TRACE received state_system: "last_config" : "2024-02-18T18:45:49Z", +2024-02-18T18:45:55Z TRACE received state_system: "operation" : { +2024-02-18T18:45:55Z TRACE received state_system: "operational" : true, +2024-02-18T18:45:55Z TRACE received state_system: "last_start" : "2024-02-18T18:44:35Z", +2024-02-18T18:45:55Z TRACE received state_system: "restart_count" : 1, +2024-02-18T18:45:55Z TRACE received state_system: "mode" : "initial" +2024-02-18T18:45:55Z TRACE received state_system: }, +2024-02-18T18:45:55Z TRACE received state_system: "serial_no" : "sequencer-24548", +2024-02-18T18:45:55Z TRACE received state_system: "software" : { +2024-02-18T18:45:55Z TRACE received state_system: "firmware" : "v1" +2024-02-18T18:45:55Z TRACE received state_system: }, +2024-02-18T18:45:55Z TRACE received state_system: "status" : { +2024-02-18T18:45:55Z TRACE received state_system: "message" : "success", +2024-02-18T18:45:55Z TRACE received state_system: "category" : "system.config.parse", +2024-02-18T18:45:55Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:55Z", +2024-02-18T18:45:55Z TRACE received state_system: "level" : 100 +2024-02-18T18:45:55Z TRACE received state_system: }, +2024-02-18T18:45:55Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:55Z", +2024-02-18T18:45:55Z TRACE received state_system: "version" : "1.5.0" +2024-02-18T18:45:55Z TRACE received state_system: } +2024-02-18T18:45:55Z DEBUG Handling device message state_system PS:10520323262681907-0 +2024-02-18T18:45:55Z TRACE Ignoring partial state update +2024-02-18T18:45:55Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "generation" because "this.deviceState.discovery" is null +2024-02-18T18:45:55Z TRACE received command AHU-1/state/localnet +2024-02-18T18:45:55Z TRACE received state_localnet: { +2024-02-18T18:45:55Z TRACE received state_localnet: "families" : { +2024-02-18T18:45:55Z TRACE received state_localnet: "ether" : { +2024-02-18T18:45:55Z TRACE received state_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:55Z TRACE received state_localnet: }, +2024-02-18T18:45:55Z TRACE received state_localnet: "ipv4" : { +2024-02-18T18:45:55Z TRACE received state_localnet: "addr" : "10.1.0.187" +2024-02-18T18:45:55Z TRACE received state_localnet: }, +2024-02-18T18:45:55Z TRACE received state_localnet: "ipv6" : { +2024-02-18T18:45:55Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:55Z TRACE received state_localnet: } +2024-02-18T18:45:55Z TRACE received state_localnet: }, +2024-02-18T18:45:55Z TRACE received state_localnet: "timestamp" : "2024-02-18T18:45:55Z", +2024-02-18T18:45:55Z TRACE received state_localnet: "version" : "1.5.0" +2024-02-18T18:45:55Z TRACE received state_localnet: } +2024-02-18T18:45:55Z DEBUG Handling device message state_localnet PS:10520323262681907-1 +2024-02-18T18:45:55Z TRACE Ignoring partial state update +2024-02-18T18:45:55Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "generation" because "this.deviceState.discovery" is null +2024-02-18T18:45:55Z TRACE received command AHU-1/state/pointset +2024-02-18T18:45:55Z TRACE received state_pointset: { +2024-02-18T18:45:55Z TRACE received state_pointset: "points" : { +2024-02-18T18:45:55Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, +2024-02-18T18:45:55Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:55Z TRACE received state_pointset: "units" : "Bars", +2024-02-18T18:45:55Z TRACE received state_pointset: "value_state" : "applied" +2024-02-18T18:45:55Z TRACE received state_pointset: }, +2024-02-18T18:45:55Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:55Z TRACE received state_pointset: "units" : "Degrees-Celsius" +2024-02-18T18:45:55Z TRACE received state_pointset: } +2024-02-18T18:45:55Z TRACE received state_pointset: }, +2024-02-18T18:45:55Z TRACE received state_pointset: "timestamp" : "2024-02-18T18:45:55Z", +2024-02-18T18:45:55Z TRACE received state_pointset: "version" : "1.5.0" +2024-02-18T18:45:55Z TRACE received state_pointset: } +2024-02-18T18:45:55Z DEBUG Handling device message state_pointset PS:10520323262681907-2 +2024-02-18T18:45:55Z TRACE Ignoring partial state update +2024-02-18T18:45:55Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot read field "generation" because "this.deviceState.discovery" is null +2024-02-18T18:45:57Z TRACE received command AHU-1/state/update +2024-02-18T18:45:57Z DEBUG received state_update +2024-02-18T18:45:57Z DEBUG Handling update message state_update PS:10520989432937738 +2024-02-18T18:45:57Z DEBUG Updated state after 0s 2024-02-18T18:45:57Z PS:10520989432937738 +2024-02-18T18:45:57Z INFO Updated state #023: Changed 5 fields: +2024-02-18T18:45:57Z INFO Updated state #023: Set `system.last_config` = `2024-02-18T18:45:55Z` +2024-02-18T18:45:57Z INFO Updated state #023: Set `system.status.level` = `300` +2024-02-18T18:45:57Z INFO Updated state #023: Set `system.status.category` = `system.config.apply` +2024-02-18T18:45:57Z INFO Updated state #023: Add `discovery` = { } +2024-02-18T18:45:57Z INFO Updated state #023: Set `timestamp` = `2024-02-18T18:45:57Z` +2024-02-18T18:45:57Z DEBUG Updated state has last_config 2024-02-18T18:45:55Z (expecting 2024-02-18T18:45:55Z) +2024-02-18T18:45:57Z DEBUG Status level: 300 +2024-02-18T18:45:57Z DEBUG Stage finished waiting for enumeration not active at 20s after 3s +2024-02-18T18:45:57Z TRACE Stage resume waiting for executing test at 20s +2024-02-18T18:45:57Z INFO Starting empty enumeration at 2024-02-18T18:45:57Z +2024-02-18T18:45:57Z TRACE stage suspend waiting for executing test at 20s +2024-02-18T18:45:57Z INFO Stage start waiting for matching enumeration generation at 20s +2024-02-18T18:45:58Z DEBUG system config extra field null +2024-02-18T18:45:58Z TRACE updated check config_system: false +2024-02-18T18:45:58Z TRACE updated check config_pointset: false +2024-02-18T18:45:58Z TRACE updated check config_gateway: false +2024-02-18T18:45:58Z TRACE updated check config_localnet: false +2024-02-18T18:45:58Z TRACE updated check config_blobset: false +2024-02-18T18:45:58Z TRACE updated check config_discovery: true +2024-02-18T18:45:58Z DEBUG update config_discovery, configTransaction RC:1708281958334 +2024-02-18T18:45:58Z TRACE local local_discovery: { +2024-02-18T18:45:58Z TRACE local local_discovery: "generation" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE local local_discovery: "enumerate" : { } +2024-02-18T18:45:58Z TRACE local local_discovery: } +2024-02-18T18:45:58Z DEBUG Update lastConfigUpdate 2024-02-18T18:45:58Z, because before matching enumeration generation +2024-02-18T18:45:58Z TRACE stage suspend waiting for matching enumeration generation at 21s +2024-02-18T18:45:58Z INFO Stage start waiting for config sync at 21s +2024-02-18T18:45:58Z TRACE received command AHU-1/state/system +2024-02-18T18:45:58Z TRACE received state_system: { +2024-02-18T18:45:58Z TRACE received state_system: "hardware" : { +2024-02-18T18:45:58Z TRACE received state_system: "make" : "BOS", +2024-02-18T18:45:58Z TRACE received state_system: "model" : "pubber" +2024-02-18T18:45:58Z TRACE received state_system: }, +2024-02-18T18:45:58Z TRACE received state_system: "last_config" : "2024-02-18T18:45:55Z", +2024-02-18T18:45:58Z TRACE received state_system: "operation" : { +2024-02-18T18:45:58Z TRACE received state_system: "operational" : true, +2024-02-18T18:45:58Z TRACE received state_system: "last_start" : "2024-02-18T18:44:35Z", +2024-02-18T18:45:58Z TRACE received state_system: "restart_count" : 1, +2024-02-18T18:45:58Z TRACE received state_system: "mode" : "initial" +2024-02-18T18:45:58Z TRACE received state_system: }, +2024-02-18T18:45:58Z TRACE received state_system: "serial_no" : "sequencer-24548", +2024-02-18T18:45:58Z TRACE received state_system: "software" : { +2024-02-18T18:45:58Z TRACE received state_system: "firmware" : "v1" +2024-02-18T18:45:58Z TRACE received state_system: }, +2024-02-18T18:45:58Z TRACE received state_system: "status" : { +2024-02-18T18:45:58Z TRACE received state_system: "message" : "success", +2024-02-18T18:45:58Z TRACE received state_system: "category" : "system.config.apply", +2024-02-18T18:45:58Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:55Z", +2024-02-18T18:45:58Z TRACE received state_system: "level" : 300 +2024-02-18T18:45:58Z TRACE received state_system: }, +2024-02-18T18:45:58Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE received state_system: "version" : "1.5.0" +2024-02-18T18:45:58Z TRACE received state_system: } +2024-02-18T18:45:58Z DEBUG Handling device message state_system PS:10520989432937738-0 +2024-02-18T18:45:58Z TRACE Ignoring partial state update +2024-02-18T18:45:58Z TRACE received command AHU-1/event/pointset +2024-02-18T18:45:58Z TRACE received event_pointset: { +2024-02-18T18:45:58Z TRACE received event_pointset: "points" : { +2024-02-18T18:45:58Z TRACE received event_pointset: "filter_alarm_pressure_status" : { +2024-02-18T18:45:58Z TRACE received event_pointset: "present_value" : true +2024-02-18T18:45:58Z TRACE received event_pointset: }, +2024-02-18T18:45:58Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:58Z TRACE received event_pointset: "present_value" : 98 +2024-02-18T18:45:58Z TRACE received event_pointset: }, +2024-02-18T18:45:58Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:58Z TRACE received event_pointset: "present_value" : 11 +2024-02-18T18:45:58Z TRACE received event_pointset: } +2024-02-18T18:45:58Z TRACE received event_pointset: }, +2024-02-18T18:45:58Z TRACE received event_pointset: "timestamp" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE received event_pointset: "version" : "1.5.0" +2024-02-18T18:45:58Z TRACE received event_pointset: } +2024-02-18T18:45:58Z DEBUG Handling device message event_pointset PS:9341807147216051 +2024-02-18T18:45:58Z TRACE received command AHU-1/state/discovery +2024-02-18T18:45:58Z TRACE received state_discovery: { +2024-02-18T18:45:58Z TRACE received state_discovery: "timestamp" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE received state_discovery: "version" : "1.5.0" +2024-02-18T18:45:58Z TRACE received state_discovery: } +2024-02-18T18:45:58Z DEBUG Handling device message state_discovery PS:10520989432937738-1 +2024-02-18T18:45:58Z TRACE Ignoring partial state update +2024-02-18T18:45:58Z TRACE received command AHU-1/event/system +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:48Z INFO device.log: Update state 2024-02-18T18:45:48Z last_config 2024-02-18T18:45:47Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:48Z INFO device.log: Device AHU-1 config handler +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:48Z INFO device.log: 2024-02-18T18:45:48Z received config 2024-02-18T18:45:47Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:48Z NOTICE system.config.apply: success +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:49Z INFO device.log: Device AHU-1 config handler +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:49Z INFO device.log: 2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:49Z NOTICE system.config.apply: success +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:49Z INFO device.log: 2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:49Z NOTICE system.config.apply: success +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:49Z INFO device.log: 2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:49Z NOTICE system.config.apply: success +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:50Z INFO device.log: Update state 2024-02-18T18:45:50Z last_config 2024-02-18T18:45:49Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:55Z INFO device.log: Update state 2024-02-18T18:45:55Z last_config 2024-02-18T18:45:49Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:55Z INFO device.log: Device AHU-1 config handler +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:55Z INFO device.log: 2024-02-18T18:45:55Z received config 2024-02-18T18:45:55Z +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:55Z NOTICE system.config.apply: success +2024-02-18T18:45:58Z DEBUG received event_system 2024-02-18T18:45:57Z INFO device.log: Update state 2024-02-18T18:45:57Z last_config 2024-02-18T18:45:55Z +2024-02-18T18:45:58Z DEBUG Handling device message event_system PS:10521047605218912 +2024-02-18T18:45:58Z TRACE received command AHU-1/state/localnet +2024-02-18T18:45:58Z TRACE received state_localnet: { +2024-02-18T18:45:58Z TRACE received state_localnet: "families" : { +2024-02-18T18:45:58Z TRACE received state_localnet: "ether" : { +2024-02-18T18:45:58Z TRACE received state_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:58Z TRACE received state_localnet: }, +2024-02-18T18:45:58Z TRACE received state_localnet: "ipv4" : { +2024-02-18T18:45:58Z TRACE received state_localnet: "addr" : "10.1.0.187" +2024-02-18T18:45:58Z TRACE received state_localnet: }, +2024-02-18T18:45:58Z TRACE received state_localnet: "ipv6" : { +2024-02-18T18:45:58Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:58Z TRACE received state_localnet: } +2024-02-18T18:45:58Z TRACE received state_localnet: }, +2024-02-18T18:45:58Z TRACE received state_localnet: "timestamp" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE received state_localnet: "version" : "1.5.0" +2024-02-18T18:45:58Z TRACE received state_localnet: } +2024-02-18T18:45:58Z DEBUG Handling device message state_localnet PS:10520989432937738-2 +2024-02-18T18:45:58Z TRACE Ignoring partial state update +2024-02-18T18:45:58Z TRACE received command AHU-1/state/pointset +2024-02-18T18:45:58Z TRACE received state_pointset: { +2024-02-18T18:45:58Z TRACE received state_pointset: "points" : { +2024-02-18T18:45:58Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, +2024-02-18T18:45:58Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:58Z TRACE received state_pointset: "units" : "Bars", +2024-02-18T18:45:58Z TRACE received state_pointset: "value_state" : "applied" +2024-02-18T18:45:58Z TRACE received state_pointset: }, +2024-02-18T18:45:58Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:58Z TRACE received state_pointset: "units" : "Degrees-Celsius" +2024-02-18T18:45:58Z TRACE received state_pointset: } +2024-02-18T18:45:58Z TRACE received state_pointset: }, +2024-02-18T18:45:58Z TRACE received state_pointset: "timestamp" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE received state_pointset: "version" : "1.5.0" +2024-02-18T18:45:58Z TRACE received state_pointset: } +2024-02-18T18:45:58Z DEBUG Handling device message state_pointset PS:10520989432937738-3 +2024-02-18T18:45:58Z TRACE Ignoring partial state update +2024-02-18T18:45:58Z TRACE received command AHU-1/config/update +2024-02-18T18:45:58Z DEBUG received config_update +2024-02-18T18:45:58Z DEBUG Handling update message config_update RC:1708281958334 +2024-02-18T18:45:58Z DEBUG Removed configTransaction RC:1708281958334 +2024-02-18T18:45:58Z DEBUG last_start changed false, last_start 2024-02-18T18:44:35Z +2024-02-18T18:45:58Z DEBUG Updated config 2024-02-18T18:45:58Z RC:1708281958334 +2024-02-18T18:45:58Z INFO Updated config #025: Changed 1 fields: +2024-02-18T18:45:58Z INFO Updated config #025: Add `discovery.generation` = `generation start time` +2024-02-18T18:45:58Z DEBUG Status level: 300 +2024-02-18T18:45:58Z DEBUG Stage finished waiting for config sync at 21s after 0s +2024-02-18T18:45:58Z TRACE Stage resume waiting for matching enumeration generation at 21s +2024-02-18T18:45:58Z DEBUG Configuration sync took 0s +2024-02-18T18:45:58Z DEBUG wait for config sync pending false +2024-02-18T18:45:58Z DEBUG Update config before matching enumeration generation: 2024-02-18T18:45:58Z +2024-02-18T18:45:58Z TRACE local local_update: { +2024-02-18T18:45:58Z TRACE local local_update: "timestamp" : "2024-02-18T18:45:58Z", +2024-02-18T18:45:58Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:45:58Z TRACE local local_update: "system" : { +2024-02-18T18:45:58Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:45:58Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:45:58Z TRACE local local_update: "operation" : { +2024-02-18T18:45:58Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "testing" : { +2024-02-18T18:45:58Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:45:58Z TRACE local local_update: } +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "discovery" : { +2024-02-18T18:45:58Z TRACE local local_update: "generation" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE local local_update: "enumerate" : { } +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "localnet" : { +2024-02-18T18:45:58Z TRACE local local_update: "families" : { +2024-02-18T18:45:58Z TRACE local local_update: "ether" : { +2024-02-18T18:45:58Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "ipv4" : { +2024-02-18T18:45:58Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "ipv6" : { +2024-02-18T18:45:58Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:45:58Z TRACE local local_update: } +2024-02-18T18:45:58Z TRACE local local_update: } +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "pointset" : { +2024-02-18T18:45:58Z TRACE local local_update: "points" : { +2024-02-18T18:45:58Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:45:58Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:45:58Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:45:58Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:45:58Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:45:58Z TRACE local local_update: }, +2024-02-18T18:45:58Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:45:58Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:45:58Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:45:58Z TRACE local local_update: } +2024-02-18T18:45:58Z TRACE local local_update: } +2024-02-18T18:45:58Z TRACE local local_update: } +2024-02-18T18:45:58Z TRACE local local_update: } +2024-02-18T18:45:58Z INFO Device config Add `discovery.generation` = `generation start time` +2024-02-18T18:45:58Z TRACE Update config before matching enumeration generation: Add `discovery.generation` = `generation start time` +2024-02-18T18:45:58Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot invoke "java.util.Date.equals(Object)" because "this.deviceState.discovery.generation" is null +2024-02-18T18:45:58Z TRACE received command AHU-1/event/discovery +2024-02-18T18:45:58Z TRACE received event_discovery: { +2024-02-18T18:45:58Z TRACE received event_discovery: "generation" : "2024-02-18T18:45:57Z", +2024-02-18T18:45:58Z TRACE received event_discovery: "timestamp" : "2024-02-18T18:45:58Z", +2024-02-18T18:45:58Z TRACE received event_discovery: "version" : "1.5.0" +2024-02-18T18:45:58Z TRACE received event_discovery: } +2024-02-18T18:45:58Z DEBUG Handling device message event_discovery PS:10520052988714388 +2024-02-18T18:45:58Z DEBUG Suppressing exception: java.lang.NullPointerException: Cannot invoke "java.util.Date.equals(Object)" because "this.deviceState.discovery.generation" is null +2024-02-18T18:45:59Z TRACE received command AHU-1/state/update +2024-02-18T18:45:59Z DEBUG received state_update +2024-02-18T18:45:59Z DEBUG Handling update message state_update PS:10522094856557178 +2024-02-18T18:45:59Z DEBUG Updated state after 0s 2024-02-18T18:45:59Z PS:10522094856557178 +2024-02-18T18:45:59Z INFO Updated state #024: Changed 4 fields: +2024-02-18T18:45:59Z INFO Updated state #024: Set `system.last_config` = `2024-02-18T18:45:58Z` +2024-02-18T18:45:59Z INFO Updated state #024: Set `system.status.timestamp` = `2024-02-18T18:45:58Z` +2024-02-18T18:45:59Z INFO Updated state #024: Add `discovery.generation` = `2024-02-18T18:45:57Z` +2024-02-18T18:45:59Z INFO Updated state #024: Set `timestamp` = `2024-02-18T18:45:59Z` +2024-02-18T18:45:59Z DEBUG Updated state has last_config 2024-02-18T18:45:58Z (expecting 2024-02-18T18:45:58Z) +2024-02-18T18:45:59Z DEBUG Status level: 300 +2024-02-18T18:45:59Z DEBUG Stage finished waiting for matching enumeration generation at 22s after 2s +2024-02-18T18:45:59Z TRACE Stage resume waiting for executing test at 22s +2024-02-18T18:45:59Z TRACE stage suspend waiting for executing test at 22s +2024-02-18T18:45:59Z INFO Stage start waiting for cleared enumeration generation at 22s +2024-02-18T18:46:00Z DEBUG system config extra field null +2024-02-18T18:46:00Z TRACE updated check config_system: false +2024-02-18T18:46:00Z TRACE updated check config_pointset: false +2024-02-18T18:46:00Z TRACE updated check config_gateway: false +2024-02-18T18:46:00Z TRACE updated check config_localnet: false +2024-02-18T18:46:00Z TRACE updated check config_blobset: false +2024-02-18T18:46:00Z TRACE updated check config_discovery: true +2024-02-18T18:46:00Z DEBUG update config_discovery, configTransaction RC:1708281960401 +2024-02-18T18:46:00Z TRACE local local_discovery: { +2024-02-18T18:46:00Z TRACE local local_discovery: "enumerate" : { } +2024-02-18T18:46:00Z TRACE local local_discovery: } +2024-02-18T18:46:00Z DEBUG Update lastConfigUpdate 2024-02-18T18:46:00Z, because before cleared enumeration generation +2024-02-18T18:46:00Z TRACE stage suspend waiting for cleared enumeration generation at 23s +2024-02-18T18:46:00Z INFO Stage start waiting for config sync at 23s +2024-02-18T18:46:00Z TRACE received command AHU-1/state/system +2024-02-18T18:46:00Z TRACE received state_system: { +2024-02-18T18:46:00Z TRACE received state_system: "hardware" : { +2024-02-18T18:46:00Z TRACE received state_system: "make" : "BOS", +2024-02-18T18:46:00Z TRACE received state_system: "model" : "pubber" +2024-02-18T18:46:00Z TRACE received state_system: }, +2024-02-18T18:46:00Z TRACE received state_system: "last_config" : "2024-02-18T18:45:58Z", +2024-02-18T18:46:00Z TRACE received state_system: "operation" : { +2024-02-18T18:46:00Z TRACE received state_system: "operational" : true, +2024-02-18T18:46:00Z TRACE received state_system: "last_start" : "2024-02-18T18:44:35Z", +2024-02-18T18:46:00Z TRACE received state_system: "restart_count" : 1, +2024-02-18T18:46:00Z TRACE received state_system: "mode" : "initial" +2024-02-18T18:46:00Z TRACE received state_system: }, +2024-02-18T18:46:00Z TRACE received state_system: "serial_no" : "sequencer-24548", +2024-02-18T18:46:00Z TRACE received state_system: "software" : { +2024-02-18T18:46:00Z TRACE received state_system: "firmware" : "v1" +2024-02-18T18:46:00Z TRACE received state_system: }, +2024-02-18T18:46:00Z TRACE received state_system: "status" : { +2024-02-18T18:46:00Z TRACE received state_system: "message" : "success", +2024-02-18T18:46:00Z TRACE received state_system: "category" : "system.config.apply", +2024-02-18T18:46:00Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:58Z", +2024-02-18T18:46:00Z TRACE received state_system: "level" : 300 +2024-02-18T18:46:00Z TRACE received state_system: }, +2024-02-18T18:46:00Z TRACE received state_system: "timestamp" : "2024-02-18T18:45:59Z", +2024-02-18T18:46:00Z TRACE received state_system: "version" : "1.5.0" +2024-02-18T18:46:00Z TRACE received state_system: } +2024-02-18T18:46:00Z DEBUG Handling device message state_system PS:10522094856557178-0 +2024-02-18T18:46:00Z TRACE Ignoring partial state update +2024-02-18T18:46:00Z TRACE received command AHU-1/state/discovery +2024-02-18T18:46:00Z TRACE received state_discovery: { +2024-02-18T18:46:00Z TRACE received state_discovery: "generation" : "2024-02-18T18:45:57Z", +2024-02-18T18:46:00Z TRACE received state_discovery: "timestamp" : "2024-02-18T18:45:59Z", +2024-02-18T18:46:00Z TRACE received state_discovery: "version" : "1.5.0" +2024-02-18T18:46:00Z TRACE received state_discovery: } +2024-02-18T18:46:00Z DEBUG Handling device message state_discovery PS:10522094856557178-1 +2024-02-18T18:46:00Z TRACE Ignoring partial state update +2024-02-18T18:46:00Z TRACE received command AHU-1/state/localnet +2024-02-18T18:46:00Z TRACE received state_localnet: { +2024-02-18T18:46:00Z TRACE received state_localnet: "families" : { +2024-02-18T18:46:00Z TRACE received state_localnet: "ether" : { +2024-02-18T18:46:00Z TRACE received state_localnet: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:46:00Z TRACE received state_localnet: }, +2024-02-18T18:46:00Z TRACE received state_localnet: "ipv4" : { +2024-02-18T18:46:00Z TRACE received state_localnet: "addr" : "10.1.0.187" +2024-02-18T18:46:00Z TRACE received state_localnet: }, +2024-02-18T18:46:00Z TRACE received state_localnet: "ipv6" : { +2024-02-18T18:46:00Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:46:00Z TRACE received state_localnet: } +2024-02-18T18:46:00Z TRACE received state_localnet: }, +2024-02-18T18:46:00Z TRACE received state_localnet: "timestamp" : "2024-02-18T18:45:59Z", +2024-02-18T18:46:00Z TRACE received state_localnet: "version" : "1.5.0" +2024-02-18T18:46:00Z TRACE received state_localnet: } +2024-02-18T18:46:00Z DEBUG Handling device message state_localnet PS:10522094856557178-2 +2024-02-18T18:46:00Z TRACE Ignoring partial state update +2024-02-18T18:46:00Z TRACE received command AHU-1/state/pointset +2024-02-18T18:46:00Z TRACE received state_pointset: { +2024-02-18T18:46:00Z TRACE received state_pointset: "points" : { +2024-02-18T18:46:00Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, +2024-02-18T18:46:00Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { +2024-02-18T18:46:00Z TRACE received state_pointset: "units" : "Bars", +2024-02-18T18:46:00Z TRACE received state_pointset: "value_state" : "applied" +2024-02-18T18:46:00Z TRACE received state_pointset: }, +2024-02-18T18:46:00Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { +2024-02-18T18:46:00Z TRACE received state_pointset: "units" : "Degrees-Celsius" +2024-02-18T18:46:00Z TRACE received state_pointset: } +2024-02-18T18:46:00Z TRACE received state_pointset: }, +2024-02-18T18:46:00Z TRACE received state_pointset: "timestamp" : "2024-02-18T18:45:59Z", +2024-02-18T18:46:00Z TRACE received state_pointset: "version" : "1.5.0" +2024-02-18T18:46:00Z TRACE received state_pointset: } +2024-02-18T18:46:00Z DEBUG Handling device message state_pointset PS:10522094856557178-3 +2024-02-18T18:46:00Z TRACE Ignoring partial state update +2024-02-18T18:46:00Z TRACE received command AHU-1/config/update +2024-02-18T18:46:00Z DEBUG received config_update +2024-02-18T18:46:00Z DEBUG Handling update message config_update RC:1708281960401 +2024-02-18T18:46:00Z DEBUG Removed configTransaction RC:1708281960401 +2024-02-18T18:46:00Z DEBUG last_start changed false, last_start 2024-02-18T18:44:35Z +2024-02-18T18:46:00Z DEBUG Updated config 2024-02-18T18:46:00Z RC:1708281960401 +2024-02-18T18:46:00Z INFO Updated config #026: Changed 1 fields: +2024-02-18T18:46:00Z INFO Updated config #026: Remove `discovery.generation` +2024-02-18T18:46:00Z DEBUG Status level: 300 +2024-02-18T18:46:00Z DEBUG Stage finished waiting for config sync at 23s after 0s +2024-02-18T18:46:00Z TRACE Stage resume waiting for cleared enumeration generation at 23s +2024-02-18T18:46:00Z DEBUG Configuration sync took 0s +2024-02-18T18:46:00Z DEBUG wait for config sync pending false +2024-02-18T18:46:00Z DEBUG Update config before cleared enumeration generation: 2024-02-18T18:46:00Z +2024-02-18T18:46:00Z TRACE local local_update: { +2024-02-18T18:46:00Z TRACE local local_update: "timestamp" : "2024-02-18T18:46:00Z", +2024-02-18T18:46:00Z TRACE local local_update: "version" : "@@@cloud udmi version###1.5.0-16-g48397c75b", +2024-02-18T18:46:00Z TRACE local local_update: "system" : { +2024-02-18T18:46:00Z TRACE local local_update: "min_loglevel" : 200, +2024-02-18T18:46:00Z TRACE local local_update: "metrics_rate_sec" : 10, +2024-02-18T18:46:00Z TRACE local local_update: "operation" : { +2024-02-18T18:46:00Z TRACE local local_update: "last_start" : "2024-02-18T18:44:35Z" +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "testing" : { +2024-02-18T18:46:00Z TRACE local local_update: "sequence_name" : "empty_enumeration" +2024-02-18T18:46:00Z TRACE local local_update: } +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "discovery" : { +2024-02-18T18:46:00Z TRACE local local_update: "enumerate" : { } +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "localnet" : { +2024-02-18T18:46:00Z TRACE local local_update: "families" : { +2024-02-18T18:46:00Z TRACE local local_update: "ether" : { +2024-02-18T18:46:00Z TRACE local local_update: "addr" : "00:0d:3a:5a:10:c7" +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "ipv4" : { +2024-02-18T18:46:00Z TRACE local local_update: "addr" : "10.1.0.187" +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "ipv6" : { +2024-02-18T18:46:00Z TRACE local local_update: "addr" : "fe80::20d:3aff:fe5a:10c7" +2024-02-18T18:46:00Z TRACE local local_update: } +2024-02-18T18:46:00Z TRACE local local_update: } +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "pointset" : { +2024-02-18T18:46:00Z TRACE local local_update: "points" : { +2024-02-18T18:46:00Z TRACE local local_update: "filter_differential_pressure_setpoint" : { +2024-02-18T18:46:00Z TRACE local local_update: "units" : "Bars", +2024-02-18T18:46:00Z TRACE local local_update: "set_value" : 98 +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "filter_alarm_pressure_status" : { +2024-02-18T18:46:00Z TRACE local local_update: "ref" : "BV11.present_value", +2024-02-18T18:46:00Z TRACE local local_update: "units" : "No-units" +2024-02-18T18:46:00Z TRACE local local_update: }, +2024-02-18T18:46:00Z TRACE local local_update: "filter_differential_pressure_sensor" : { +2024-02-18T18:46:00Z TRACE local local_update: "ref" : "AV12.present_value", +2024-02-18T18:46:00Z TRACE local local_update: "units" : "Degrees-Celsius" +2024-02-18T18:46:00Z TRACE local local_update: } +2024-02-18T18:46:00Z TRACE local local_update: } +2024-02-18T18:46:00Z TRACE local local_update: } +2024-02-18T18:46:00Z TRACE local local_update: } +2024-02-18T18:46:00Z INFO Device config Remove `discovery.generation` +2024-02-18T18:46:00Z TRACE Update config before cleared enumeration generation: Remove `discovery.generation` +2024-02-18T18:46:01Z TRACE received command AHU-1/state/update +2024-02-18T18:46:01Z DEBUG received state_update +2024-02-18T18:46:01Z DEBUG Handling update message state_update PS:10519717475787986 +2024-02-18T18:46:01Z DEBUG Updated state after 0s 2024-02-18T18:46:01Z PS:10519717475787986 +2024-02-18T18:46:01Z INFO Updated state #025: Changed 4 fields: +2024-02-18T18:46:01Z INFO Updated state #025: Set `system.last_config` = `2024-02-18T18:46:00Z` +2024-02-18T18:46:01Z INFO Updated state #025: Set `system.status.timestamp` = `2024-02-18T18:46:00Z` +2024-02-18T18:46:01Z INFO Updated state #025: Remove `discovery.generation` +2024-02-18T18:46:01Z INFO Updated state #025: Set `timestamp` = `2024-02-18T18:46:01Z` +2024-02-18T18:46:01Z DEBUG Updated state has last_config 2024-02-18T18:46:00Z (expecting 2024-02-18T18:46:00Z) +2024-02-18T18:46:01Z DEBUG Status level: 300 +2024-02-18T18:46:01Z DEBUG Stage finished waiting for cleared enumeration generation at 25s after 2s +2024-02-18T18:46:01Z TRACE Stage resume waiting for executing test at 25s +2024-02-18T18:46:01Z INFO Received discovery generation 2024-02-18T18:45:57Z +2024-02-18T18:46:01Z DEBUG stage done waiting for executing test at 25s +2024-02-18T18:46:01Z DEBUG Removing implicit system capability LAST_CONFIG +2024-02-18T18:46:01Z NOTICE RESULT pass enumeration empty_enumeration PREVIEW 5/5 Sequence complete +2024-02-18T18:46:01Z NOTICE Sequence complete +2024-02-18T18:46:01Z NOTICE ending test empty_enumeration after 25s ################################ diff --git a/validator/sequences/empty_enumeration/state_discovery.attr b/validator/sequences/empty_enumeration/state_discovery.attr index 1fc31a8e7b..decaba5239 100644 --- a/validator/sequences/empty_enumeration/state_discovery.attr +++ b/validator/sequences/empty_enumeration/state_discovery.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585481241757153-1", - "publishTime" : "2023-11-07T14:29:13Z", + "transactionId" : "PS:10522094856557178-1", + "publishTime" : "2024-02-18T18:45:59Z", "subFolder" : "discovery", "subType" : "state" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_discovery.json b/validator/sequences/empty_enumeration/state_discovery.json index e12a3ed4bd..c557d33346 100644 --- a/validator/sequences/empty_enumeration/state_discovery.json +++ b/validator/sequences/empty_enumeration/state_discovery.json @@ -1,5 +1,5 @@ { - "generation" : "2023-11-07T14:29:11Z", - "timestamp" : "2023-11-07T14:29:12Z", - "version" : "1.4.2" + "generation" : "2024-02-18T18:45:57Z", + "timestamp" : "2024-02-18T18:45:59Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_localnet.attr b/validator/sequences/empty_enumeration/state_localnet.attr index 6bbe94672d..ddc91eb8fa 100644 --- a/validator/sequences/empty_enumeration/state_localnet.attr +++ b/validator/sequences/empty_enumeration/state_localnet.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585481241757153-2", - "publishTime" : "2023-11-07T14:29:13Z", + "transactionId" : "PS:10522094856557178-2", + "publishTime" : "2024-02-18T18:45:59Z", "subFolder" : "localnet", "subType" : "state" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_localnet.json b/validator/sequences/empty_enumeration/state_localnet.json index 515997703e..2cafd8cf6f 100644 --- a/validator/sequences/empty_enumeration/state_localnet.json +++ b/validator/sequences/empty_enumeration/state_localnet.json @@ -1,15 +1,15 @@ { "families" : { "ether" : { - "addr" : "00:0d:3a:96:2a:eb" + "addr" : "00:0d:3a:5a:10:c7" }, "ipv4" : { - "addr" : "10.1.68.4" + "addr" : "10.1.0.187" }, "ipv6" : { - "addr" : "fe80::20d:3aff:fe96:2aeb" + "addr" : "fe80::20d:3aff:fe5a:10c7" } }, - "timestamp" : "2023-11-07T14:29:12Z", - "version" : "1.4.2" + "timestamp" : "2024-02-18T18:45:59Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_pointset.attr b/validator/sequences/empty_enumeration/state_pointset.attr index 4ae4748fe5..b8673170a6 100644 --- a/validator/sequences/empty_enumeration/state_pointset.attr +++ b/validator/sequences/empty_enumeration/state_pointset.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585481241757153-3", - "publishTime" : "2023-11-07T14:29:13Z", + "transactionId" : "PS:10522094856557178-3", + "publishTime" : "2024-02-18T18:45:59Z", "subFolder" : "pointset", "subType" : "state" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_pointset.json b/validator/sequences/empty_enumeration/state_pointset.json index a416fa6af0..8dfa0a5ef4 100644 --- a/validator/sequences/empty_enumeration/state_pointset.json +++ b/validator/sequences/empty_enumeration/state_pointset.json @@ -9,6 +9,6 @@ "units" : "Degrees-Celsius" } }, - "timestamp" : "2023-11-07T14:29:12Z", - "version" : "1.4.2" + "timestamp" : "2024-02-18T18:45:59Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_system.attr b/validator/sequences/empty_enumeration/state_system.attr index 4ca7867eeb..a0f9b5b0ba 100644 --- a/validator/sequences/empty_enumeration/state_system.attr +++ b/validator/sequences/empty_enumeration/state_system.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585481241757153-0", - "publishTime" : "2023-11-07T14:29:13Z", + "transactionId" : "PS:10522094856557178-0", + "publishTime" : "2024-02-18T18:45:59Z", "subFolder" : "system", "subType" : "state" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_system.json b/validator/sequences/empty_enumeration/state_system.json index 7b39636cc2..83d6c8f8ad 100644 --- a/validator/sequences/empty_enumeration/state_system.json +++ b/validator/sequences/empty_enumeration/state_system.json @@ -3,23 +3,23 @@ "make" : "BOS", "model" : "pubber" }, - "last_config" : "2023-11-07T14:29:12Z", + "last_config" : "2024-02-18T18:45:58Z", "operation" : { "operational" : true, - "last_start" : "2023-11-07T14:28:48Z", + "last_start" : "2024-02-18T18:44:35Z", "restart_count" : 1, "mode" : "initial" }, - "serial_no" : "sequencer-7548", + "serial_no" : "sequencer-24548", "software" : { "firmware" : "v1" }, "status" : { "message" : "success", "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:29:12Z", + "timestamp" : "2024-02-18T18:45:58Z", "level" : 300 }, - "timestamp" : "2023-11-07T14:29:12Z", - "version" : "1.4.2" + "timestamp" : "2024-02-18T18:45:59Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_update.attr b/validator/sequences/empty_enumeration/state_update.attr index c416223f0e..135c532b65 100644 --- a/validator/sequences/empty_enumeration/state_update.attr +++ b/validator/sequences/empty_enumeration/state_update.attr @@ -1,10 +1,10 @@ { "deviceId" : "AHU-1", "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_4", + "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_2", "projectId" : "bos-platform-dev", - "transactionId" : "PS:9586572362853544", - "publishTime" : "2023-11-07T14:29:15Z", + "transactionId" : "PS:10519717475787986", + "publishTime" : "2024-02-18T18:46:01Z", "subFolder" : "update", "subType" : "state" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/state_update.json b/validator/sequences/empty_enumeration/state_update.json index 1089174fd4..ccea198e36 100644 --- a/validator/sequences/empty_enumeration/state_update.json +++ b/validator/sequences/empty_enumeration/state_update.json @@ -3,13 +3,13 @@ "localnet" : { "families" : { "ether" : { - "addr" : "00:0d:3a:96:2a:eb" + "addr" : "00:0d:3a:5a:10:c7" }, "ipv4" : { - "addr" : "10.1.68.4" + "addr" : "10.1.0.187" }, "ipv6" : { - "addr" : "fe80::20d:3aff:fe96:2aeb" + "addr" : "fe80::20d:3aff:fe5a:10c7" } } }, @@ -26,14 +26,14 @@ } }, "system" : { - "last_config" : "2023-11-07T14:29:14Z", + "last_config" : "2024-02-18T18:46:00Z", "operation" : { "operational" : true, - "last_start" : "2023-11-07T14:28:48Z", + "last_start" : "2024-02-18T18:44:35Z", "restart_count" : 1, "mode" : "initial" }, - "serial_no" : "sequencer-7548", + "serial_no" : "sequencer-24548", "hardware" : { "make" : "BOS", "model" : "pubber" @@ -44,10 +44,10 @@ "status" : { "message" : "success", "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:29:14Z", + "timestamp" : "2024-02-18T18:46:00Z", "level" : 300 } }, - "timestamp" : "2023-11-07T14:29:15Z", - "version" : "1.4.2" + "timestamp" : "2024-02-18T18:46:01Z", + "version" : "1.5.0" } \ No newline at end of file diff --git a/validator/sequences/empty_enumeration/system.log b/validator/sequences/empty_enumeration/system.log index 4d575fba47..e15c0b7f6c 100644 --- a/validator/sequences/empty_enumeration/system.log +++ b/validator/sequences/empty_enumeration/system.log @@ -1,21 +1,44 @@ -2023-11-07T14:28:49Z INFO Connection complete. -2023-11-07T14:28:50Z INFO Config handler -2023-11-07T14:28:50Z NOTICE success -2023-11-07T14:28:50Z NOTICE success -2023-11-07T14:29:04Z INFO 2023-11-07T14:29:04Z received config 2023-11-07T14:29:04Z -2023-11-07T14:29:04Z NOTICE success -2023-11-07T14:29:04Z INFO update state 2023-11-07T14:29:04Z last_config 2023-11-07T14:29:04Z -2023-11-07T14:29:05Z INFO 2023-11-07T14:29:05Z received config 2023-11-07T14:29:05Z -2023-11-07T14:29:05Z NOTICE success -2023-11-07T14:29:06Z INFO update state 2023-11-07T14:29:06Z last_config 2023-11-07T14:29:05Z -2023-11-07T14:29:07Z INFO Config handler -2023-11-07T14:29:07Z INFO 2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z -2023-11-07T14:29:07Z NOTICE success -2023-11-07T14:29:07Z INFO Config handler -2023-11-07T14:29:07Z INFO 2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z -2023-11-07T14:29:07Z NOTICE success -2023-11-07T14:29:07Z INFO Config handler -2023-11-07T14:29:07Z INFO 2023-11-07T14:29:07Z received config 2023-11-07T14:29:07Z -2023-11-07T14:29:07Z NOTICE success -2023-11-07T14:29:08Z INFO update state 2023-11-07T14:29:08Z last_config 2023-11-07T14:29:07Z -2023-11-07T14:29:15Z NOTICE Sequence complete +2024-02-18T18:45:27Z WARNING Received config for config latch AHU-1 +2024-02-18T18:45:27Z NOTICE success +2024-02-18T18:45:27Z INFO Connection complete. +2024-02-18T18:45:27Z WARNING Start waiting 10s for config latch for AHU-1 +2024-02-18T18:45:27Z WARNING Ending connection 1708281926714 with 9 +2024-02-18T18:45:27Z NOTICE Persisting connection endpoint +2024-02-18T18:45:27Z WARNING Updating persistent store: {"endpoint":{"protocol":"mqtt","hostname":"mqtt.bos.goog","port":8883,"client_id":"projects/bos-platform-dev/locations/us-central1/registries/grafnu~ZZ-TRI-FECTA_2/devices/AHU-1","generation":"2024-02-18T18:45:16Z"},"restart_count":1} +2024-02-18T18:45:27Z INFO Device AHU-1 config handler +2024-02-18T18:45:27Z INFO 2024-02-18T18:45:27Z received config 2024-02-18T18:45:27Z +2024-02-18T18:45:27Z NOTICE success +2024-02-18T18:45:28Z INFO Update state 2024-02-18T18:45:28Z last_config 2024-02-18T18:45:27Z +2024-02-18T18:45:32Z INFO Update state 2024-02-18T18:45:32Z last_config 2024-02-18T18:45:27Z +2024-02-18T18:45:32Z INFO Device AHU-1 config handler +2024-02-18T18:45:32Z INFO 2024-02-18T18:45:32Z received config 2024-02-18T18:45:31Z +2024-02-18T18:45:32Z NOTICE success +2024-02-18T18:45:34Z INFO Update state 2024-02-18T18:45:34Z last_config 2024-02-18T18:45:31Z +2024-02-18T18:45:36Z INFO Update state 2024-02-18T18:45:36Z last_config 2024-02-18T18:45:31Z +2024-02-18T18:45:45Z INFO Update state 2024-02-18T18:45:45Z last_config 2024-02-18T18:45:31Z +2024-02-18T18:45:46Z INFO 2024-02-18T18:45:46Z received config 2024-02-18T18:45:45Z +2024-02-18T18:45:46Z NOTICE success +2024-02-18T18:45:46Z INFO Device AHU-1 config handler +2024-02-18T18:45:46Z INFO 2024-02-18T18:45:46Z received config 2024-02-18T18:45:45Z +2024-02-18T18:45:46Z NOTICE success +2024-02-18T18:45:47Z INFO Device AHU-1 config handler +2024-02-18T18:45:47Z INFO 2024-02-18T18:45:47Z received config 2024-02-18T18:45:47Z +2024-02-18T18:45:47Z NOTICE success +2024-02-18T18:45:48Z INFO Update state 2024-02-18T18:45:48Z last_config 2024-02-18T18:45:47Z +2024-02-18T18:45:48Z INFO Device AHU-1 config handler +2024-02-18T18:45:48Z INFO 2024-02-18T18:45:48Z received config 2024-02-18T18:45:47Z +2024-02-18T18:45:48Z NOTICE success +2024-02-18T18:45:49Z INFO Device AHU-1 config handler +2024-02-18T18:45:49Z INFO 2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z +2024-02-18T18:45:49Z NOTICE success +2024-02-18T18:45:49Z INFO 2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z +2024-02-18T18:45:49Z NOTICE success +2024-02-18T18:45:49Z INFO 2024-02-18T18:45:49Z received config 2024-02-18T18:45:49Z +2024-02-18T18:45:49Z NOTICE success +2024-02-18T18:45:50Z INFO Update state 2024-02-18T18:45:50Z last_config 2024-02-18T18:45:49Z +2024-02-18T18:45:55Z INFO Update state 2024-02-18T18:45:55Z last_config 2024-02-18T18:45:49Z +2024-02-18T18:45:55Z INFO Device AHU-1 config handler +2024-02-18T18:45:55Z INFO 2024-02-18T18:45:55Z received config 2024-02-18T18:45:55Z +2024-02-18T18:45:55Z NOTICE success +2024-02-18T18:45:57Z INFO Update state 2024-02-18T18:45:57Z last_config 2024-02-18T18:45:55Z +2024-02-18T18:46:01Z NOTICE Sequence complete diff --git a/validator/sequences/multi_enumeration/local_discovery.json b/validator/sequences/multi_enumeration/local_discovery.json index 5a6d2cb95b..8414f775d8 100644 --- a/validator/sequences/multi_enumeration/local_discovery.json +++ b/validator/sequences/multi_enumeration/local_discovery.json @@ -1,7 +1,7 @@ { "enumerate" : { "families" : true, - "uniqs" : true, + "points" : true, "features" : true } } \ No newline at end of file diff --git a/validator/sequences/multi_enumeration/local_localnet.json b/validator/sequences/multi_enumeration/local_localnet.json new file mode 100644 index 0000000000..b1d533c33d --- /dev/null +++ b/validator/sequences/multi_enumeration/local_localnet.json @@ -0,0 +1,13 @@ +{ + "families" : { + "ether" : { + "addr" : "00:22:48:23:8c:c5" + }, + "ipv4" : { + "addr" : "10.1.0.152" + }, + "ipv6" : { + "addr" : "fe80::222:48ff:fe23:8cc5" + } + } +} \ No newline at end of file diff --git a/validator/sequences/multi_enumeration/sequence.md b/validator/sequences/multi_enumeration/sequence.md index 7aa558f301..443fa982be 100644 --- a/validator/sequences/multi_enumeration/sequence.md +++ b/validator/sequences/multi_enumeration/sequence.md @@ -4,7 +4,7 @@ Check enumeration of multiple categories 1. Update config before enumeration not active: - * Add `discovery` = { "enumerate": { "features": `true`, "uniqs": `true`, "families": `true` } } + * Add `discovery` = { "enumerate": { "features": `true`, "families": `true`, "points": `true` } } 1. Wait for enumeration not active 1. Update config before matching enumeration generation: * Add `discovery.generation` = `generation start time` diff --git a/validator/sequences/pointset_enumeration/local_discovery.json b/validator/sequences/pointset_enumeration/local_discovery.json index d249baf45b..2a27f5b407 100644 --- a/validator/sequences/pointset_enumeration/local_discovery.json +++ b/validator/sequences/pointset_enumeration/local_discovery.json @@ -1,5 +1,5 @@ { "enumerate" : { - "uniqs" : true + "points" : true } } \ No newline at end of file diff --git a/validator/sequences/pointset_enumeration/local_localnet.json b/validator/sequences/pointset_enumeration/local_localnet.json new file mode 100644 index 0000000000..0bfd74e7b5 --- /dev/null +++ b/validator/sequences/pointset_enumeration/local_localnet.json @@ -0,0 +1,13 @@ +{ + "families" : { + "ether" : { + "addr" : "00:0d:3a:9b:79:58" + }, + "ipv4" : { + "addr" : "10.1.0.80" + }, + "ipv6" : { + "addr" : "fe80::20d:3aff:fe9b:7958" + } + } +} \ No newline at end of file diff --git a/validator/sequences/pointset_enumeration/sequence.md b/validator/sequences/pointset_enumeration/sequence.md index 26be9d3761..f7f913d931 100644 --- a/validator/sequences/pointset_enumeration/sequence.md +++ b/validator/sequences/pointset_enumeration/sequence.md @@ -4,7 +4,7 @@ Check enumeration of device points 1. Update config before enumeration not active: - * Add `discovery` = { "enumerate": { "uniqs": `true` } } + * Add `discovery` = { "enumerate": { "points": `true` } } 1. Wait for enumeration not active 1. Update config before matching enumeration generation: * Add `discovery.generation` = `generation start time` diff --git a/validator/sequences/pointset_publish_interval/sequence.md b/validator/sequences/pointset_publish_interval/sequence.md index 8b44342ec0..b2d192d874 100644 --- a/validator/sequences/pointset_publish_interval/sequence.md +++ b/validator/sequences/pointset_publish_interval/sequence.md @@ -1,7 +1,7 @@ ## pointset_publish_interval (BETA) -Check handling of sample rate and sample limit sec +Check handling of sample_rate_sec and sample_limit_sec 1. Update config before receive at least 4 pointset events: * Add `pointset.sample_rate_sec` = `8` diff --git a/validator/sequences/pointset_remove_point/local_localnet.json b/validator/sequences/pointset_remove_point/local_localnet.json new file mode 100644 index 0000000000..1b68b640f8 --- /dev/null +++ b/validator/sequences/pointset_remove_point/local_localnet.json @@ -0,0 +1,13 @@ +{ + "families" : { + "ether" : { + "addr" : "00:22:48:09:9b:0f" + }, + "ipv4" : { + "addr" : "10.1.0.48" + }, + "ipv6" : { + "addr" : "fe80::222:48ff:fe09:9b0f" + } + } +} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/config_update.attr b/validator/sequences/pointset_sample_rate/config_update.attr deleted file mode 100644 index f19321c7a2..0000000000 --- a/validator/sequences/pointset_sample_rate/config_update.attr +++ /dev/null @@ -1,10 +0,0 @@ -{ - "deviceId" : "AHU-1", - "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_0", - "projectId" : "bos-platform-dev", - "transactionId" : "RC:1699367301030", - "publishTime" : "2023-11-07T14:28:21Z", - "subFolder" : "update", - "subType" : "config" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/config_update.json b/validator/sequences/pointset_sample_rate/config_update.json deleted file mode 100644 index e9815ba217..0000000000 --- a/validator/sequences/pointset_sample_rate/config_update.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "localnet" : { - "families" : { - "ether" : { - "addr" : "00:50:b6:ed:5f:77" - }, - "ipv4" : { - "addr" : "192.168.2.1" - } - } - }, - "pointset" : { - "points" : { - "filter_alarm_pressure_status" : { - "ref" : "BV11.present_value", - "units" : "No-units" - }, - "filter_differential_pressure_sensor" : { - "ref" : "AV12.present_value", - "units" : "Degrees-Celsius" - }, - "filter_differential_pressure_setpoint" : { - "set_value" : 98, - "units" : "Bars" - } - }, - "sample_limit_sec" : 1, - "sample_rate_sec" : 5 - }, - "system" : { - "metrics_rate_sec" : 600, - "min_loglevel" : 200, - "operation" : { - "last_start" : "2023-11-07T14:27:28Z" - }, - "testing" : { - "sequence_name" : "pointset_sample_rate" - } - }, - "timestamp" : "2023-11-07T14:28:21Z", - "version" : "1.4.2-40-gdeae740b" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/event_pointset.attr b/validator/sequences/pointset_sample_rate/event_pointset.attr deleted file mode 100644 index 050a7e3000..0000000000 --- a/validator/sequences/pointset_sample_rate/event_pointset.attr +++ /dev/null @@ -1,10 +0,0 @@ -{ - "deviceId" : "AHU-1", - "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_0", - "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585191664029622", - "publishTime" : "2023-11-07T14:28:51Z", - "subFolder" : "pointset", - "subType" : "event" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/event_pointset.json b/validator/sequences/pointset_sample_rate/event_pointset.json deleted file mode 100644 index eae29ee1ad..0000000000 --- a/validator/sequences/pointset_sample_rate/event_pointset.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "points" : { - "filter_alarm_pressure_status" : { - "present_value" : true - }, - "filter_differential_pressure_setpoint" : { - "present_value" : 98 - }, - "filter_differential_pressure_sensor" : { - "present_value" : 10 - } - }, - "timestamp" : "2023-11-07T14:28:51Z", - "version" : "1.4.2" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/event_system.attr b/validator/sequences/pointset_sample_rate/event_system.attr deleted file mode 100644 index da333e1af4..0000000000 --- a/validator/sequences/pointset_sample_rate/event_system.attr +++ /dev/null @@ -1,10 +0,0 @@ -{ - "deviceId" : "AHU-1", - "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_0", - "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585207703457115", - "publishTime" : "2023-11-07T14:28:46Z", - "subFolder" : "system", - "subType" : "event" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/event_system.json b/validator/sequences/pointset_sample_rate/event_system.json deleted file mode 100644 index 685d084c0c..0000000000 --- a/validator/sequences/pointset_sample_rate/event_system.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "event_count" : 9, - "last_config" : "2023-11-07T14:28:21Z", - "logentries" : [ ], - "metrics" : { - "mem_total_mb" : 254.0, - "mem_free_mb" : 222.8085479736328 - }, - "timestamp" : "2023-11-07T14:28:46Z", - "version" : "1.4.2" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/local_pointset.json b/validator/sequences/pointset_sample_rate/local_pointset.json deleted file mode 100644 index 1f772a3920..0000000000 --- a/validator/sequences/pointset_sample_rate/local_pointset.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "sample_limit_sec" : 1, - "sample_rate_sec" : 5, - "points" : { - "filter_alarm_pressure_status" : { - "ref" : "BV11.present_value", - "units" : "No-units" - }, - "filter_differential_pressure_setpoint" : { - "units" : "Bars", - "set_value" : 98 - }, - "filter_differential_pressure_sensor" : { - "ref" : "AV12.present_value", - "units" : "Degrees-Celsius" - } - } -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/local_system.json b/validator/sequences/pointset_sample_rate/local_system.json deleted file mode 100644 index 7374ddf74d..0000000000 --- a/validator/sequences/pointset_sample_rate/local_system.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "min_loglevel" : 200, - "metrics_rate_sec" : 600, - "operation" : { - "last_start" : "2023-11-07T14:27:28Z" - }, - "testing" : { - "sequence_name" : "pointset_sample_rate" - } -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/local_update.json b/validator/sequences/pointset_sample_rate/local_update.json deleted file mode 100644 index a77c47d0f6..0000000000 --- a/validator/sequences/pointset_sample_rate/local_update.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "timestamp" : "2023-11-07T14:28:21Z", - "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", - "system" : { - "min_loglevel" : 200, - "metrics_rate_sec" : 600, - "operation" : { - "last_start" : "2023-11-07T14:27:28Z" - }, - "testing" : { - "sequence_name" : "pointset_sample_rate" - } - }, - "localnet" : { - "families" : { - "ether" : { - "addr" : "00:50:b6:ed:5f:77" - }, - "ipv4" : { - "addr" : "192.168.2.1" - } - } - }, - "pointset" : { - "sample_limit_sec" : 1, - "sample_rate_sec" : 5, - "points" : { - "filter_alarm_pressure_status" : { - "ref" : "BV11.present_value", - "units" : "No-units" - }, - "filter_differential_pressure_setpoint" : { - "units" : "Bars", - "set_value" : 98 - }, - "filter_differential_pressure_sensor" : { - "ref" : "AV12.present_value", - "units" : "Degrees-Celsius" - } - } - } -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/sequence.md b/validator/sequences/pointset_sample_rate/sequence.md deleted file mode 100644 index eb647a7b34..0000000000 --- a/validator/sequences/pointset_sample_rate/sequence.md +++ /dev/null @@ -1,11 +0,0 @@ - -## pointset_sample_rate (BETA) - -Check that a device publishes pointset events not faster than config sample_rate_sec - -1. Wait for measure initial sample rate -1. Update config before receive at least 5 pointset events: - * Add `pointset.sample_rate_sec` = `5` - * Add `pointset.sample_limit_sec` = `1` -1. Wait for receive at least 5 pointset events -1. Check that time period between successive pointset events is between 1 and 5 seconds diff --git a/validator/sequences/pointset_sample_rate/sequencer.log b/validator/sequences/pointset_sample_rate/sequencer.log deleted file mode 100644 index fe9692975c..0000000000 --- a/validator/sequences/pointset_sample_rate/sequencer.log +++ /dev/null @@ -1,913 +0,0 @@ -2023-11-07T14:27:52Z NOTICE starting test pointset_sample_rate ################################ -2023-11-07T14:27:52Z INFO stage start waiting for starting test wrapper at 0s -2023-11-07T14:28:00Z DEBUG Waiting for device stateTransaction RC:1699367280769 (was null) -2023-11-07T14:28:00Z TRACE stage suspend waiting for starting test wrapper at 8s -2023-11-07T14:28:00Z INFO stage start waiting for state query at 8s -2023-11-07T14:28:00Z TRACE received command AHU-1/state/update -2023-11-07T14:28:00Z DEBUG received state_update -2023-11-07T14:28:00Z DEBUG Handling update message state_update PS:9585598099671506 -2023-11-07T14:28:00Z DEBUG Updated state after 10s 2023-11-07T14:27:50Z PS:9585598099671506 -2023-11-07T14:28:00Z INFO Updated state #007: Changed 3 fields: -2023-11-07T14:28:00Z INFO Updated state #007: Set `system.last_config` = `2023-11-07T14:27:49Z` -2023-11-07T14:28:00Z INFO Updated state #007: Set `system.status.timestamp` = `2023-11-07T14:27:49Z` -2023-11-07T14:28:00Z INFO Updated state #007: Set `timestamp` = `2023-11-07T14:27:50Z` -2023-11-07T14:28:00Z NOTICE Received serial number sequencer-23964 -2023-11-07T14:28:00Z DEBUG Updated state has last_config 2023-11-07T14:27:49Z (expecting 2023-11-07T14:27:49Z) -2023-11-07T14:28:00Z TRACE received command AHU-1/state/system -2023-11-07T14:28:00Z TRACE received state_system: { -2023-11-07T14:28:00Z TRACE received state_system: "hardware" : { -2023-11-07T14:28:00Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:28:00Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:28:00Z TRACE received state_system: }, -2023-11-07T14:28:00Z TRACE received state_system: "last_config" : "2023-11-07T14:27:49Z", -2023-11-07T14:28:00Z TRACE received state_system: "operation" : { -2023-11-07T14:28:00Z TRACE received state_system: "operational" : true, -2023-11-07T14:28:00Z TRACE received state_system: "last_start" : "2023-11-07T14:27:28Z", -2023-11-07T14:28:00Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:28:00Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:28:00Z TRACE received state_system: }, -2023-11-07T14:28:00Z TRACE received state_system: "serial_no" : "sequencer-23964", -2023-11-07T14:28:00Z TRACE received state_system: "software" : { -2023-11-07T14:28:00Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:28:00Z TRACE received state_system: }, -2023-11-07T14:28:00Z TRACE received state_system: "status" : { -2023-11-07T14:28:00Z TRACE received state_system: "message" : "success", -2023-11-07T14:28:00Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:28:00Z TRACE received state_system: "timestamp" : "2023-11-07T14:27:49Z", -2023-11-07T14:28:00Z TRACE received state_system: "level" : 300 -2023-11-07T14:28:00Z TRACE received state_system: }, -2023-11-07T14:28:00Z TRACE received state_system: "timestamp" : "2023-11-07T14:27:50Z", -2023-11-07T14:28:00Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:28:00Z TRACE received state_system: } -2023-11-07T14:28:00Z DEBUG Handling device message state_system PS:9585598099671506-0 -2023-11-07T14:28:00Z TRACE Ignoring partial state update -2023-11-07T14:28:00Z TRACE received command AHU-1/state/localnet -2023-11-07T14:28:00Z TRACE received state_localnet: { -2023-11-07T14:28:00Z TRACE received state_localnet: "families" : { -2023-11-07T14:28:00Z TRACE received state_localnet: "ether" : { -2023-11-07T14:28:00Z TRACE received state_localnet: "addr" : "00:0d:3a:e2:70:2e" -2023-11-07T14:28:00Z TRACE received state_localnet: }, -2023-11-07T14:28:00Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:28:00Z TRACE received state_localnet: "addr" : "10.1.0.69" -2023-11-07T14:28:00Z TRACE received state_localnet: }, -2023-11-07T14:28:00Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:28:00Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fee2:702e" -2023-11-07T14:28:00Z TRACE received state_localnet: } -2023-11-07T14:28:00Z TRACE received state_localnet: }, -2023-11-07T14:28:00Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:27:50Z", -2023-11-07T14:28:00Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:28:00Z TRACE received state_localnet: } -2023-11-07T14:28:00Z DEBUG Handling device message state_localnet PS:9585598099671506-1 -2023-11-07T14:28:00Z TRACE Ignoring partial state update -2023-11-07T14:28:00Z TRACE received command AHU-1/state/pointset -2023-11-07T14:28:00Z TRACE received state_pointset: { -2023-11-07T14:28:00Z TRACE received state_pointset: "points" : { -2023-11-07T14:28:00Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:28:00Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:00Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:28:00Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:28:00Z TRACE received state_pointset: }, -2023-11-07T14:28:00Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:00Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:28:00Z TRACE received state_pointset: } -2023-11-07T14:28:00Z TRACE received state_pointset: }, -2023-11-07T14:28:00Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:27:50Z", -2023-11-07T14:28:00Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:28:00Z TRACE received state_pointset: } -2023-11-07T14:28:00Z DEBUG Handling device message state_pointset PS:9585598099671506-2 -2023-11-07T14:28:00Z TRACE Ignoring partial state update -2023-11-07T14:28:00Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:00Z TRACE received event_pointset: { -2023-11-07T14:28:00Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:00Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:00Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:28:00Z TRACE received event_pointset: }, -2023-11-07T14:28:00Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:00Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:00Z TRACE received event_pointset: }, -2023-11-07T14:28:00Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:00Z TRACE received event_pointset: "present_value" : 12 -2023-11-07T14:28:00Z TRACE received event_pointset: } -2023-11-07T14:28:00Z TRACE received event_pointset: }, -2023-11-07T14:28:00Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:27:59Z", -2023-11-07T14:28:00Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:00Z TRACE received event_pointset: } -2023-11-07T14:28:00Z DEBUG Handling device message event_pointset PS:9585463157589905 -2023-11-07T14:28:00Z TRACE received command AHU-1/event/system -2023-11-07T14:28:00Z DEBUG received event_system 2023-11-07T14:27:49Z DEBUG device.log: State update defer 689ms -2023-11-07T14:28:00Z DEBUG received event_system 2023-11-07T14:27:50Z DEBUG device.log: State update defer 0ms -2023-11-07T14:28:00Z DEBUG received event_system 2023-11-07T14:27:50Z INFO device.log: update state 2023-11-07T14:27:50Z last_config 2023-11-07T14:27:49Z -2023-11-07T14:28:00Z DEBUG received event_system 2023-11-07T14:27:50Z DEBUG device.log: State update (config_logging) -2023-11-07T14:28:00Z DEBUG Handling device message event_system PS:9585780027908990 -2023-11-07T14:28:01Z TRACE received command AHU-1/state/update -2023-11-07T14:28:01Z DEBUG received state_update -2023-11-07T14:28:01Z INFO Received device configAcked -2023-11-07T14:28:01Z DEBUG Handling update message state_update RC:1699367280769 -2023-11-07T14:28:01Z DEBUG Removed stateTransaction RC:1699367280769 -2023-11-07T14:28:01Z DEBUG Updated state after 11s 2023-11-07T14:27:50Z RC:1699367280769 -2023-11-07T14:28:01Z INFO Updated state #008: Changed 0 fields. -2023-11-07T14:28:01Z DEBUG Updated state has last_config 2023-11-07T14:27:49Z (expecting 2023-11-07T14:27:49Z) -2023-11-07T14:28:01Z DEBUG stage finished waiting for state query at 8s after 0s -2023-11-07T14:28:01Z TRACE stage resume waiting for starting test wrapper at 8s -2023-11-07T14:28:01Z DEBUG Starting reset_config full reset false -2023-11-07T14:28:01Z DEBUG Reading generated config file /home/runner/work/udmi/udmi/sites/udmi_site_model/devices/AHU-1/out/generated_config.json -2023-11-07T14:28:01Z DEBUG Configuring device last_start to be 2023-11-07T14:27:28Z -2023-11-07T14:28:01Z DEBUG last_start changed true, last_start 2023-11-07T14:27:28Z -2023-11-07T14:28:01Z DEBUG extraFieldChanged false because extra_field null -2023-11-07T14:28:02Z DEBUG system config extra field null -2023-11-07T14:28:02Z TRACE updated check config_system: true -2023-11-07T14:28:02Z DEBUG update config_system, configTransaction RC:1699367282037 -2023-11-07T14:28:02Z TRACE local local_system: { -2023-11-07T14:28:02Z TRACE local local_system: "min_loglevel" : 200, -2023-11-07T14:28:02Z TRACE local local_system: "metrics_rate_sec" : 600, -2023-11-07T14:28:02Z TRACE local local_system: "operation" : { -2023-11-07T14:28:02Z TRACE local local_system: "last_start" : "2023-11-07T14:27:28Z" -2023-11-07T14:28:02Z TRACE local local_system: }, -2023-11-07T14:28:02Z TRACE local local_system: "testing" : { -2023-11-07T14:28:02Z TRACE local local_system: "sequence_name" : "pointset_sample_rate" -2023-11-07T14:28:02Z TRACE local local_system: } -2023-11-07T14:28:02Z TRACE local local_system: } -2023-11-07T14:28:02Z TRACE updated check config_pointset: false -2023-11-07T14:28:02Z TRACE updated check config_gateway: false -2023-11-07T14:28:02Z TRACE updated check config_localnet: false -2023-11-07T14:28:02Z TRACE updated check config_blobset: false -2023-11-07T14:28:02Z TRACE updated check config_discovery: false -2023-11-07T14:28:02Z DEBUG Update lastConfigUpdate 2023-11-07T14:28:02Z, because soft reset -2023-11-07T14:28:02Z TRACE stage suspend waiting for starting test wrapper at 9s -2023-11-07T14:28:02Z INFO stage start waiting for config sync at 9s -2023-11-07T14:28:02Z TRACE received command AHU-1/reply/update -2023-11-07T14:28:02Z TRACE received command AHU-1/config/update -2023-11-07T14:28:02Z DEBUG received config_update -2023-11-07T14:28:02Z DEBUG Handling update message config_update RC:1699367282037 -2023-11-07T14:28:02Z DEBUG Removed configTransaction RC:1699367282037 -2023-11-07T14:28:02Z DEBUG last_start changed false, last_start 2023-11-07T14:27:28Z -2023-11-07T14:28:02Z DEBUG Updated config 2023-11-07T14:28:02Z RC:1699367282037 -2023-11-07T14:28:02Z INFO Updated config #008: Changed 2 fields: -2023-11-07T14:28:02Z INFO Updated config #008: Set `system.min_loglevel` = `200` -2023-11-07T14:28:02Z INFO Updated config #008: Set `system.testing.sequence_name` = `pointset_sample_rate` -2023-11-07T14:28:02Z DEBUG stage finished waiting for config sync at 9s after 0s -2023-11-07T14:28:02Z TRACE stage resume waiting for starting test wrapper at 9s -2023-11-07T14:28:02Z DEBUG Configuration sync took 0s -2023-11-07T14:28:02Z DEBUG wait for config sync pending false -2023-11-07T14:28:02Z DEBUG Update config soft reset: 2023-11-07T14:28:02Z -2023-11-07T14:28:02Z TRACE local local_update: { -2023-11-07T14:28:02Z TRACE local local_update: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:02Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:28:02Z TRACE local local_update: "system" : { -2023-11-07T14:28:02Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:28:02Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:28:02Z TRACE local local_update: "operation" : { -2023-11-07T14:28:02Z TRACE local local_update: "last_start" : "2023-11-07T14:27:28Z" -2023-11-07T14:28:02Z TRACE local local_update: }, -2023-11-07T14:28:02Z TRACE local local_update: "testing" : { -2023-11-07T14:28:02Z TRACE local local_update: "sequence_name" : "pointset_sample_rate" -2023-11-07T14:28:02Z TRACE local local_update: } -2023-11-07T14:28:02Z TRACE local local_update: }, -2023-11-07T14:28:02Z TRACE local local_update: "localnet" : { -2023-11-07T14:28:02Z TRACE local local_update: "families" : { -2023-11-07T14:28:02Z TRACE local local_update: "ether" : { -2023-11-07T14:28:02Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:28:02Z TRACE local local_update: }, -2023-11-07T14:28:02Z TRACE local local_update: "ipv4" : { -2023-11-07T14:28:02Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:28:02Z TRACE local local_update: } -2023-11-07T14:28:02Z TRACE local local_update: } -2023-11-07T14:28:02Z TRACE local local_update: }, -2023-11-07T14:28:02Z TRACE local local_update: "pointset" : { -2023-11-07T14:28:02Z TRACE local local_update: "points" : { -2023-11-07T14:28:02Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:28:02Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:28:02Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:28:02Z TRACE local local_update: }, -2023-11-07T14:28:02Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:02Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:28:02Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:28:02Z TRACE local local_update: }, -2023-11-07T14:28:02Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:02Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:28:02Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:28:02Z TRACE local local_update: } -2023-11-07T14:28:02Z TRACE local local_update: } -2023-11-07T14:28:02Z TRACE local local_update: } -2023-11-07T14:28:02Z TRACE local local_update: } -2023-11-07T14:28:02Z TRACE Update config soft reset: Set `system.min_loglevel` = `200` -2023-11-07T14:28:02Z DEBUG Done with reset_config -2023-11-07T14:28:03Z DEBUG system config extra field null -2023-11-07T14:28:03Z TRACE updated check config_system: false -2023-11-07T14:28:03Z TRACE updated check config_pointset: false -2023-11-07T14:28:03Z TRACE updated check config_gateway: false -2023-11-07T14:28:03Z TRACE updated check config_localnet: false -2023-11-07T14:28:03Z TRACE updated check config_blobset: false -2023-11-07T14:28:03Z TRACE updated check config_discovery: false -2023-11-07T14:28:03Z DEBUG Update config initial setup: 2023-11-07T14:28:02Z -2023-11-07T14:28:03Z TRACE local local_update: { -2023-11-07T14:28:03Z TRACE local local_update: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:03Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:28:03Z TRACE local local_update: "system" : { -2023-11-07T14:28:03Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:28:03Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:28:03Z TRACE local local_update: "operation" : { -2023-11-07T14:28:03Z TRACE local local_update: "last_start" : "2023-11-07T14:27:28Z" -2023-11-07T14:28:03Z TRACE local local_update: }, -2023-11-07T14:28:03Z TRACE local local_update: "testing" : { -2023-11-07T14:28:03Z TRACE local local_update: "sequence_name" : "pointset_sample_rate" -2023-11-07T14:28:03Z TRACE local local_update: } -2023-11-07T14:28:03Z TRACE local local_update: }, -2023-11-07T14:28:03Z TRACE local local_update: "localnet" : { -2023-11-07T14:28:03Z TRACE local local_update: "families" : { -2023-11-07T14:28:03Z TRACE local local_update: "ether" : { -2023-11-07T14:28:03Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:28:03Z TRACE local local_update: }, -2023-11-07T14:28:03Z TRACE local local_update: "ipv4" : { -2023-11-07T14:28:03Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:28:03Z TRACE local local_update: } -2023-11-07T14:28:03Z TRACE local local_update: } -2023-11-07T14:28:03Z TRACE local local_update: }, -2023-11-07T14:28:03Z TRACE local local_update: "pointset" : { -2023-11-07T14:28:03Z TRACE local local_update: "points" : { -2023-11-07T14:28:03Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:28:03Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:28:03Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:28:03Z TRACE local local_update: }, -2023-11-07T14:28:03Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:03Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:28:03Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:28:03Z TRACE local local_update: }, -2023-11-07T14:28:03Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:03Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:28:03Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:28:03Z TRACE local local_update: } -2023-11-07T14:28:03Z TRACE local local_update: } -2023-11-07T14:28:03Z TRACE local local_update: } -2023-11-07T14:28:03Z TRACE local local_update: } -2023-11-07T14:28:03Z TRACE stage suspend waiting for starting test wrapper at 10s -2023-11-07T14:28:03Z INFO stage start waiting for device state update at 10s -2023-11-07T14:28:04Z DEBUG system config extra field null -2023-11-07T14:28:04Z TRACE updated check config_system: false -2023-11-07T14:28:04Z TRACE updated check config_pointset: false -2023-11-07T14:28:04Z TRACE updated check config_gateway: false -2023-11-07T14:28:04Z TRACE updated check config_localnet: false -2023-11-07T14:28:04Z TRACE updated check config_blobset: false -2023-11-07T14:28:04Z TRACE updated check config_discovery: false -2023-11-07T14:28:04Z DEBUG Update config before device state update: 2023-11-07T14:28:02Z -2023-11-07T14:28:04Z TRACE local local_update: { -2023-11-07T14:28:04Z TRACE local local_update: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:04Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:28:04Z TRACE local local_update: "system" : { -2023-11-07T14:28:04Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:28:04Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:28:04Z TRACE local local_update: "operation" : { -2023-11-07T14:28:04Z TRACE local local_update: "last_start" : "2023-11-07T14:27:28Z" -2023-11-07T14:28:04Z TRACE local local_update: }, -2023-11-07T14:28:04Z TRACE local local_update: "testing" : { -2023-11-07T14:28:04Z TRACE local local_update: "sequence_name" : "pointset_sample_rate" -2023-11-07T14:28:04Z TRACE local local_update: } -2023-11-07T14:28:04Z TRACE local local_update: }, -2023-11-07T14:28:04Z TRACE local local_update: "localnet" : { -2023-11-07T14:28:04Z TRACE local local_update: "families" : { -2023-11-07T14:28:04Z TRACE local local_update: "ether" : { -2023-11-07T14:28:04Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:28:04Z TRACE local local_update: }, -2023-11-07T14:28:04Z TRACE local local_update: "ipv4" : { -2023-11-07T14:28:04Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:28:04Z TRACE local local_update: } -2023-11-07T14:28:04Z TRACE local local_update: } -2023-11-07T14:28:04Z TRACE local local_update: }, -2023-11-07T14:28:04Z TRACE local local_update: "pointset" : { -2023-11-07T14:28:04Z TRACE local local_update: "points" : { -2023-11-07T14:28:04Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:28:04Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:28:04Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:28:04Z TRACE local local_update: }, -2023-11-07T14:28:04Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:04Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:28:04Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:28:04Z TRACE local local_update: }, -2023-11-07T14:28:04Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:04Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:28:04Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:28:04Z TRACE local local_update: } -2023-11-07T14:28:04Z TRACE local local_update: } -2023-11-07T14:28:04Z TRACE local local_update: } -2023-11-07T14:28:04Z TRACE local local_update: } -2023-11-07T14:28:04Z DEBUG stage finished waiting for device state update at 11s after 1s -2023-11-07T14:28:04Z TRACE stage resume waiting for starting test wrapper at 11s -2023-11-07T14:28:04Z DEBUG Status level: 300 -2023-11-07T14:28:04Z TRACE stage suspend waiting for starting test wrapper at 11s -2023-11-07T14:28:04Z INFO stage start waiting for executing test at 11s -2023-11-07T14:28:04Z DEBUG stage begin waiting for executing test at 11s -2023-11-07T14:28:04Z TRACE stage suspend waiting for executing test at 11s -2023-11-07T14:28:04Z INFO stage start waiting for measure initial sample rate at 11s -2023-11-07T14:28:05Z DEBUG system config extra field null -2023-11-07T14:28:05Z TRACE updated check config_system: false -2023-11-07T14:28:05Z TRACE updated check config_pointset: false -2023-11-07T14:28:05Z TRACE updated check config_gateway: false -2023-11-07T14:28:05Z TRACE updated check config_localnet: false -2023-11-07T14:28:05Z TRACE updated check config_blobset: false -2023-11-07T14:28:05Z TRACE updated check config_discovery: false -2023-11-07T14:28:05Z DEBUG Update config before measure initial sample rate: 2023-11-07T14:28:02Z -2023-11-07T14:28:05Z TRACE local local_update: { -2023-11-07T14:28:05Z TRACE local local_update: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:28:05Z TRACE local local_update: "system" : { -2023-11-07T14:28:05Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:28:05Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:28:05Z TRACE local local_update: "operation" : { -2023-11-07T14:28:05Z TRACE local local_update: "last_start" : "2023-11-07T14:27:28Z" -2023-11-07T14:28:05Z TRACE local local_update: }, -2023-11-07T14:28:05Z TRACE local local_update: "testing" : { -2023-11-07T14:28:05Z TRACE local local_update: "sequence_name" : "pointset_sample_rate" -2023-11-07T14:28:05Z TRACE local local_update: } -2023-11-07T14:28:05Z TRACE local local_update: }, -2023-11-07T14:28:05Z TRACE local local_update: "localnet" : { -2023-11-07T14:28:05Z TRACE local local_update: "families" : { -2023-11-07T14:28:05Z TRACE local local_update: "ether" : { -2023-11-07T14:28:05Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:28:05Z TRACE local local_update: }, -2023-11-07T14:28:05Z TRACE local local_update: "ipv4" : { -2023-11-07T14:28:05Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:28:05Z TRACE local local_update: } -2023-11-07T14:28:05Z TRACE local local_update: } -2023-11-07T14:28:05Z TRACE local local_update: }, -2023-11-07T14:28:05Z TRACE local local_update: "pointset" : { -2023-11-07T14:28:05Z TRACE local local_update: "points" : { -2023-11-07T14:28:05Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:28:05Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:28:05Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:28:05Z TRACE local local_update: }, -2023-11-07T14:28:05Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:05Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:28:05Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:28:05Z TRACE local local_update: }, -2023-11-07T14:28:05Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:05Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:28:05Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:28:05Z TRACE local local_update: } -2023-11-07T14:28:05Z TRACE local local_update: } -2023-11-07T14:28:05Z TRACE local local_update: } -2023-11-07T14:28:05Z TRACE local local_update: } -2023-11-07T14:28:05Z TRACE received command AHU-1/state/update -2023-11-07T14:28:05Z DEBUG received state_update -2023-11-07T14:28:05Z DEBUG Handling update message state_update PS:9586036197982883 -2023-11-07T14:28:05Z DEBUG Updated state after 3s 2023-11-07T14:28:02Z PS:9586036197982883 -2023-11-07T14:28:05Z INFO Updated state #009: Changed 5 fields: -2023-11-07T14:28:05Z INFO Updated state #009: Set `system.last_config` = `2023-11-07T14:28:02Z` -2023-11-07T14:28:05Z INFO Updated state #009: Set `system.status.level` = `100` -2023-11-07T14:28:05Z INFO Updated state #009: Set `system.status.category` = `system.config.parse` -2023-11-07T14:28:05Z INFO Updated state #009: Set `system.status.timestamp` = `2023-11-07T14:28:02Z` -2023-11-07T14:28:05Z INFO Updated state #009: Set `timestamp` = `2023-11-07T14:28:02Z` -2023-11-07T14:28:05Z DEBUG Updated state has last_config 2023-11-07T14:28:02Z (expecting 2023-11-07T14:28:02Z) -2023-11-07T14:28:05Z TRACE received command AHU-1/state/system -2023-11-07T14:28:05Z TRACE received state_system: { -2023-11-07T14:28:05Z TRACE received state_system: "hardware" : { -2023-11-07T14:28:05Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:28:05Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "last_config" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE received state_system: "operation" : { -2023-11-07T14:28:05Z TRACE received state_system: "operational" : true, -2023-11-07T14:28:05Z TRACE received state_system: "last_start" : "2023-11-07T14:27:28Z", -2023-11-07T14:28:05Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:28:05Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "serial_no" : "sequencer-23964", -2023-11-07T14:28:05Z TRACE received state_system: "software" : { -2023-11-07T14:28:05Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "status" : { -2023-11-07T14:28:05Z TRACE received state_system: "message" : "success", -2023-11-07T14:28:05Z TRACE received state_system: "category" : "system.config.parse", -2023-11-07T14:28:05Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE received state_system: "level" : 100 -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:28:05Z TRACE received state_system: } -2023-11-07T14:28:05Z DEBUG Handling device message state_system PS:9586036197982883-0 -2023-11-07T14:28:05Z TRACE Ignoring partial state update -2023-11-07T14:28:05Z TRACE received command AHU-1/state/localnet -2023-11-07T14:28:05Z TRACE received state_localnet: { -2023-11-07T14:28:05Z TRACE received state_localnet: "families" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "ether" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "addr" : "00:0d:3a:e2:70:2e" -2023-11-07T14:28:05Z TRACE received state_localnet: }, -2023-11-07T14:28:05Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "addr" : "10.1.0.69" -2023-11-07T14:28:05Z TRACE received state_localnet: }, -2023-11-07T14:28:05Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fee2:702e" -2023-11-07T14:28:05Z TRACE received state_localnet: } -2023-11-07T14:28:05Z TRACE received state_localnet: }, -2023-11-07T14:28:05Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:28:05Z TRACE received state_localnet: } -2023-11-07T14:28:05Z DEBUG Handling device message state_localnet PS:9586036197982883-1 -2023-11-07T14:28:05Z TRACE Ignoring partial state update -2023-11-07T14:28:05Z TRACE received command AHU-1/state/pointset -2023-11-07T14:28:05Z TRACE received state_pointset: { -2023-11-07T14:28:05Z TRACE received state_pointset: "points" : { -2023-11-07T14:28:05Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:28:05Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:05Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:28:05Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:28:05Z TRACE received state_pointset: }, -2023-11-07T14:28:05Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:05Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:28:05Z TRACE received state_pointset: } -2023-11-07T14:28:05Z TRACE received state_pointset: }, -2023-11-07T14:28:05Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:28:05Z TRACE received state_pointset: } -2023-11-07T14:28:05Z DEBUG Handling device message state_pointset PS:9586036197982883-2 -2023-11-07T14:28:05Z TRACE Ignoring partial state update -2023-11-07T14:28:05Z TRACE received command AHU-1/state/update -2023-11-07T14:28:05Z DEBUG received state_update -2023-11-07T14:28:05Z DEBUG Handling update message state_update PS:9585797166849562 -2023-11-07T14:28:05Z DEBUG Updated state after 1s 2023-11-07T14:28:04Z PS:9585797166849562 -2023-11-07T14:28:05Z INFO Updated state #010: Changed 3 fields: -2023-11-07T14:28:05Z INFO Updated state #010: Set `system.status.level` = `300` -2023-11-07T14:28:05Z INFO Updated state #010: Set `system.status.category` = `system.config.apply` -2023-11-07T14:28:05Z INFO Updated state #010: Set `timestamp` = `2023-11-07T14:28:04Z` -2023-11-07T14:28:05Z DEBUG Updated state has last_config 2023-11-07T14:28:02Z (expecting 2023-11-07T14:28:02Z) -2023-11-07T14:28:05Z TRACE received command AHU-1/state/system -2023-11-07T14:28:05Z TRACE received state_system: { -2023-11-07T14:28:05Z TRACE received state_system: "hardware" : { -2023-11-07T14:28:05Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:28:05Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "last_config" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE received state_system: "operation" : { -2023-11-07T14:28:05Z TRACE received state_system: "operational" : true, -2023-11-07T14:28:05Z TRACE received state_system: "last_start" : "2023-11-07T14:27:28Z", -2023-11-07T14:28:05Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:28:05Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "serial_no" : "sequencer-23964", -2023-11-07T14:28:05Z TRACE received state_system: "software" : { -2023-11-07T14:28:05Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "status" : { -2023-11-07T14:28:05Z TRACE received state_system: "message" : "success", -2023-11-07T14:28:05Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:28:05Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:05Z TRACE received state_system: "level" : 300 -2023-11-07T14:28:05Z TRACE received state_system: }, -2023-11-07T14:28:05Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:04Z", -2023-11-07T14:28:05Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:28:05Z TRACE received state_system: } -2023-11-07T14:28:05Z DEBUG Handling device message state_system PS:9585797166849562-0 -2023-11-07T14:28:05Z TRACE Ignoring partial state update -2023-11-07T14:28:05Z TRACE received command AHU-1/state/localnet -2023-11-07T14:28:05Z TRACE received state_localnet: { -2023-11-07T14:28:05Z TRACE received state_localnet: "families" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "ether" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "addr" : "00:0d:3a:e2:70:2e" -2023-11-07T14:28:05Z TRACE received state_localnet: }, -2023-11-07T14:28:05Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "addr" : "10.1.0.69" -2023-11-07T14:28:05Z TRACE received state_localnet: }, -2023-11-07T14:28:05Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:28:05Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fee2:702e" -2023-11-07T14:28:05Z TRACE received state_localnet: } -2023-11-07T14:28:05Z TRACE received state_localnet: }, -2023-11-07T14:28:05Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:28:04Z", -2023-11-07T14:28:05Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:28:05Z TRACE received state_localnet: } -2023-11-07T14:28:05Z DEBUG Handling device message state_localnet PS:9585797166849562-1 -2023-11-07T14:28:05Z TRACE Ignoring partial state update -2023-11-07T14:28:05Z TRACE received command AHU-1/state/pointset -2023-11-07T14:28:05Z TRACE received state_pointset: { -2023-11-07T14:28:05Z TRACE received state_pointset: "points" : { -2023-11-07T14:28:05Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:28:05Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:05Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:28:05Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:28:05Z TRACE received state_pointset: }, -2023-11-07T14:28:05Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:05Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:28:05Z TRACE received state_pointset: } -2023-11-07T14:28:05Z TRACE received state_pointset: }, -2023-11-07T14:28:05Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:28:04Z", -2023-11-07T14:28:05Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:28:05Z TRACE received state_pointset: } -2023-11-07T14:28:05Z DEBUG Handling device message state_pointset PS:9585797166849562-2 -2023-11-07T14:28:05Z TRACE Ignoring partial state update -2023-11-07T14:28:10Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:10Z TRACE received event_pointset: { -2023-11-07T14:28:10Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:10Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:10Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:28:10Z TRACE received event_pointset: }, -2023-11-07T14:28:10Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:10Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:10Z TRACE received event_pointset: }, -2023-11-07T14:28:10Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:10Z TRACE received event_pointset: "present_value" : 11 -2023-11-07T14:28:10Z TRACE received event_pointset: } -2023-11-07T14:28:10Z TRACE received event_pointset: }, -2023-11-07T14:28:10Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:09Z", -2023-11-07T14:28:10Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:10Z TRACE received event_pointset: } -2023-11-07T14:28:10Z DEBUG Handling device message event_pointset PS:9586064658081289 -2023-11-07T14:28:10Z TRACE received command AHU-1/event/system -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z DEBUG system.config.receive: success -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z DEBUG device.log: State update defer -9525ms -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z INFO device.log: update state 2023-11-07T14:28:02Z last_config 2023-11-07T14:27:49Z -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z DEBUG system.config.parse: success -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z INFO device.log: Config handler -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z DEBUG device.log: State update (config_logging) -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z DEBUG device.log: Config update (pointset_sample_rate) -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z INFO device.log: 2023-11-07T14:28:02Z received config 2023-11-07T14:28:02Z -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:02Z NOTICE system.config.apply: success -2023-11-07T14:28:10Z DEBUG received event_system 2023-11-07T14:28:04Z INFO device.log: update state 2023-11-07T14:28:04Z last_config 2023-11-07T14:28:02Z -2023-11-07T14:28:10Z DEBUG Handling device message event_system PS:9585846170934683 -2023-11-07T14:28:20Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:20Z TRACE received event_pointset: { -2023-11-07T14:28:20Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:20Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:20Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:28:20Z TRACE received event_pointset: }, -2023-11-07T14:28:20Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:20Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:20Z TRACE received event_pointset: }, -2023-11-07T14:28:20Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:20Z TRACE received event_pointset: "present_value" : 8 -2023-11-07T14:28:20Z TRACE received event_pointset: } -2023-11-07T14:28:20Z TRACE received event_pointset: }, -2023-11-07T14:28:20Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:19Z", -2023-11-07T14:28:20Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:20Z TRACE received event_pointset: } -2023-11-07T14:28:20Z DEBUG Handling device message event_pointset PS:9585667544770095 -2023-11-07T14:28:20Z DEBUG stage finished waiting for measure initial sample rate at 27s after 15s -2023-11-07T14:28:20Z TRACE stage resume waiting for executing test at 27s -2023-11-07T14:28:20Z INFO initial sample rate is 10 seconds -2023-11-07T14:28:20Z INFO setting sample rate to 5 seconds -2023-11-07T14:28:20Z TRACE stage suspend waiting for executing test at 27s -2023-11-07T14:28:20Z INFO stage start waiting for receive at least 5 pointset events at 27s -2023-11-07T14:28:21Z DEBUG system config extra field null -2023-11-07T14:28:21Z TRACE updated check config_system: false -2023-11-07T14:28:21Z TRACE updated check config_pointset: true -2023-11-07T14:28:21Z DEBUG update config_pointset, configTransaction RC:1699367301030 -2023-11-07T14:28:21Z TRACE local local_pointset: { -2023-11-07T14:28:21Z TRACE local local_pointset: "sample_limit_sec" : 1, -2023-11-07T14:28:21Z TRACE local local_pointset: "sample_rate_sec" : 5, -2023-11-07T14:28:21Z TRACE local local_pointset: "points" : { -2023-11-07T14:28:21Z TRACE local local_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:21Z TRACE local local_pointset: "ref" : "BV11.present_value", -2023-11-07T14:28:21Z TRACE local local_pointset: "units" : "No-units" -2023-11-07T14:28:21Z TRACE local local_pointset: }, -2023-11-07T14:28:21Z TRACE local local_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:21Z TRACE local local_pointset: "units" : "Bars", -2023-11-07T14:28:21Z TRACE local local_pointset: "set_value" : 98 -2023-11-07T14:28:21Z TRACE local local_pointset: }, -2023-11-07T14:28:21Z TRACE local local_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:21Z TRACE local local_pointset: "ref" : "AV12.present_value", -2023-11-07T14:28:21Z TRACE local local_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:28:21Z TRACE local local_pointset: } -2023-11-07T14:28:21Z TRACE local local_pointset: } -2023-11-07T14:28:21Z TRACE local local_pointset: } -2023-11-07T14:28:21Z TRACE updated check config_gateway: false -2023-11-07T14:28:21Z TRACE updated check config_localnet: false -2023-11-07T14:28:21Z TRACE updated check config_blobset: false -2023-11-07T14:28:21Z TRACE updated check config_discovery: false -2023-11-07T14:28:21Z DEBUG Update lastConfigUpdate 2023-11-07T14:28:21Z, because before receive at least 5 pointset events -2023-11-07T14:28:21Z TRACE stage suspend waiting for receive at least 5 pointset events at 28s -2023-11-07T14:28:21Z INFO stage start waiting for config sync at 28s -2023-11-07T14:28:21Z TRACE received command AHU-1/event/system -2023-11-07T14:28:21Z DEBUG received event_system (no logs) -2023-11-07T14:28:21Z DEBUG Handling device message event_system PS:9001888627791350 -2023-11-07T14:28:21Z TRACE received command AHU-1/config/update -2023-11-07T14:28:21Z DEBUG received config_update -2023-11-07T14:28:21Z DEBUG Handling update message config_update RC:1699367301030 -2023-11-07T14:28:21Z DEBUG Removed configTransaction RC:1699367301030 -2023-11-07T14:28:21Z DEBUG last_start changed false, last_start 2023-11-07T14:27:28Z -2023-11-07T14:28:21Z DEBUG Updated config 2023-11-07T14:28:21Z RC:1699367301030 -2023-11-07T14:28:21Z INFO Updated config #009: Changed 2 fields: -2023-11-07T14:28:21Z INFO Updated config #009: Add `pointset.sample_rate_sec` = `5` -2023-11-07T14:28:21Z INFO Updated config #009: Add `pointset.sample_limit_sec` = `1` -2023-11-07T14:28:21Z DEBUG stage finished waiting for config sync at 28s after 0s -2023-11-07T14:28:21Z TRACE stage resume waiting for receive at least 5 pointset events at 28s -2023-11-07T14:28:21Z DEBUG Configuration sync took 0s -2023-11-07T14:28:21Z DEBUG wait for config sync pending false -2023-11-07T14:28:21Z DEBUG Update config before receive at least 5 pointset events: 2023-11-07T14:28:21Z -2023-11-07T14:28:21Z TRACE local local_update: { -2023-11-07T14:28:21Z TRACE local local_update: "timestamp" : "2023-11-07T14:28:21Z", -2023-11-07T14:28:21Z TRACE local local_update: "version" : "@@@cloud udmi version###1.4.2-40-gdeae740b", -2023-11-07T14:28:21Z TRACE local local_update: "system" : { -2023-11-07T14:28:21Z TRACE local local_update: "min_loglevel" : 200, -2023-11-07T14:28:21Z TRACE local local_update: "metrics_rate_sec" : 600, -2023-11-07T14:28:21Z TRACE local local_update: "operation" : { -2023-11-07T14:28:21Z TRACE local local_update: "last_start" : "2023-11-07T14:27:28Z" -2023-11-07T14:28:21Z TRACE local local_update: }, -2023-11-07T14:28:21Z TRACE local local_update: "testing" : { -2023-11-07T14:28:21Z TRACE local local_update: "sequence_name" : "pointset_sample_rate" -2023-11-07T14:28:21Z TRACE local local_update: } -2023-11-07T14:28:21Z TRACE local local_update: }, -2023-11-07T14:28:21Z TRACE local local_update: "localnet" : { -2023-11-07T14:28:21Z TRACE local local_update: "families" : { -2023-11-07T14:28:21Z TRACE local local_update: "ether" : { -2023-11-07T14:28:21Z TRACE local local_update: "addr" : "00:50:b6:ed:5f:77" -2023-11-07T14:28:21Z TRACE local local_update: }, -2023-11-07T14:28:21Z TRACE local local_update: "ipv4" : { -2023-11-07T14:28:21Z TRACE local local_update: "addr" : "192.168.2.1" -2023-11-07T14:28:21Z TRACE local local_update: } -2023-11-07T14:28:21Z TRACE local local_update: } -2023-11-07T14:28:21Z TRACE local local_update: }, -2023-11-07T14:28:21Z TRACE local local_update: "pointset" : { -2023-11-07T14:28:21Z TRACE local local_update: "sample_limit_sec" : 1, -2023-11-07T14:28:21Z TRACE local local_update: "sample_rate_sec" : 5, -2023-11-07T14:28:21Z TRACE local local_update: "points" : { -2023-11-07T14:28:21Z TRACE local local_update: "filter_alarm_pressure_status" : { -2023-11-07T14:28:21Z TRACE local local_update: "ref" : "BV11.present_value", -2023-11-07T14:28:21Z TRACE local local_update: "units" : "No-units" -2023-11-07T14:28:21Z TRACE local local_update: }, -2023-11-07T14:28:21Z TRACE local local_update: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:21Z TRACE local local_update: "units" : "Bars", -2023-11-07T14:28:21Z TRACE local local_update: "set_value" : 98 -2023-11-07T14:28:21Z TRACE local local_update: }, -2023-11-07T14:28:21Z TRACE local local_update: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:21Z TRACE local local_update: "ref" : "AV12.present_value", -2023-11-07T14:28:21Z TRACE local local_update: "units" : "Degrees-Celsius" -2023-11-07T14:28:21Z TRACE local local_update: } -2023-11-07T14:28:21Z TRACE local local_update: } -2023-11-07T14:28:21Z TRACE local local_update: } -2023-11-07T14:28:21Z TRACE local local_update: } -2023-11-07T14:28:21Z INFO Device config Add `pointset.sample_rate_sec` = `5` -2023-11-07T14:28:21Z INFO Device config Add `pointset.sample_limit_sec` = `1` -2023-11-07T14:28:21Z TRACE Update config before receive at least 5 pointset events: Add `pointset.sample_rate_sec` = `5` -2023-11-07T14:28:21Z TRACE Update config before receive at least 5 pointset events: Add `pointset.sample_limit_sec` = `1` -2023-11-07T14:28:21Z TRACE received command AHU-1/state/update -2023-11-07T14:28:21Z DEBUG received state_update -2023-11-07T14:28:21Z DEBUG Handling update message state_update PS:9586010977067798 -2023-11-07T14:28:21Z DEBUG Updated state after 0s 2023-11-07T14:28:21Z PS:9586010977067798 -2023-11-07T14:28:21Z INFO Updated state #011: Changed 4 fields: -2023-11-07T14:28:21Z INFO Updated state #011: Set `system.status.level` = `100` -2023-11-07T14:28:21Z INFO Updated state #011: Set `system.status.category` = `system.config.parse` -2023-11-07T14:28:21Z INFO Updated state #011: Set `system.status.timestamp` = `2023-11-07T14:28:21Z` -2023-11-07T14:28:21Z INFO Updated state #011: Set `timestamp` = `2023-11-07T14:28:21Z` -2023-11-07T14:28:21Z DEBUG Updated state has last_config 2023-11-07T14:28:02Z (expecting 2023-11-07T14:28:21Z) -2023-11-07T14:28:21Z TRACE received command AHU-1/state/system -2023-11-07T14:28:21Z TRACE received state_system: { -2023-11-07T14:28:21Z TRACE received state_system: "hardware" : { -2023-11-07T14:28:21Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:28:21Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:28:21Z TRACE received state_system: }, -2023-11-07T14:28:21Z TRACE received state_system: "last_config" : "2023-11-07T14:28:02Z", -2023-11-07T14:28:21Z TRACE received state_system: "operation" : { -2023-11-07T14:28:21Z TRACE received state_system: "operational" : true, -2023-11-07T14:28:21Z TRACE received state_system: "last_start" : "2023-11-07T14:27:28Z", -2023-11-07T14:28:21Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:28:21Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:28:21Z TRACE received state_system: }, -2023-11-07T14:28:21Z TRACE received state_system: "serial_no" : "sequencer-23964", -2023-11-07T14:28:21Z TRACE received state_system: "software" : { -2023-11-07T14:28:21Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:28:21Z TRACE received state_system: }, -2023-11-07T14:28:21Z TRACE received state_system: "status" : { -2023-11-07T14:28:21Z TRACE received state_system: "message" : "success", -2023-11-07T14:28:21Z TRACE received state_system: "category" : "system.config.parse", -2023-11-07T14:28:21Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:21Z", -2023-11-07T14:28:21Z TRACE received state_system: "level" : 100 -2023-11-07T14:28:21Z TRACE received state_system: }, -2023-11-07T14:28:21Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:21Z", -2023-11-07T14:28:21Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:28:21Z TRACE received state_system: } -2023-11-07T14:28:21Z DEBUG Handling device message state_system PS:9586010977067798-0 -2023-11-07T14:28:21Z TRACE Ignoring partial state update -2023-11-07T14:28:21Z TRACE received command AHU-1/state/localnet -2023-11-07T14:28:21Z TRACE received state_localnet: { -2023-11-07T14:28:21Z TRACE received state_localnet: "families" : { -2023-11-07T14:28:21Z TRACE received state_localnet: "ether" : { -2023-11-07T14:28:21Z TRACE received state_localnet: "addr" : "00:0d:3a:e2:70:2e" -2023-11-07T14:28:21Z TRACE received state_localnet: }, -2023-11-07T14:28:21Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:28:21Z TRACE received state_localnet: "addr" : "10.1.0.69" -2023-11-07T14:28:21Z TRACE received state_localnet: }, -2023-11-07T14:28:21Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:28:21Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fee2:702e" -2023-11-07T14:28:21Z TRACE received state_localnet: } -2023-11-07T14:28:21Z TRACE received state_localnet: }, -2023-11-07T14:28:21Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:28:21Z", -2023-11-07T14:28:21Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:28:21Z TRACE received state_localnet: } -2023-11-07T14:28:21Z DEBUG Handling device message state_localnet PS:9586010977067798-1 -2023-11-07T14:28:21Z TRACE Ignoring partial state update -2023-11-07T14:28:21Z TRACE received command AHU-1/state/pointset -2023-11-07T14:28:21Z TRACE received state_pointset: { -2023-11-07T14:28:21Z TRACE received state_pointset: "points" : { -2023-11-07T14:28:21Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:28:21Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:21Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:28:21Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:28:21Z TRACE received state_pointset: }, -2023-11-07T14:28:21Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:21Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:28:21Z TRACE received state_pointset: } -2023-11-07T14:28:21Z TRACE received state_pointset: }, -2023-11-07T14:28:21Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:28:21Z", -2023-11-07T14:28:21Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:28:21Z TRACE received state_pointset: } -2023-11-07T14:28:21Z DEBUG Handling device message state_pointset PS:9586010977067798-2 -2023-11-07T14:28:21Z TRACE Ignoring partial state update -2023-11-07T14:28:23Z TRACE received command AHU-1/state/update -2023-11-07T14:28:23Z DEBUG received state_update -2023-11-07T14:28:23Z DEBUG Handling update message state_update PS:9585329687906250 -2023-11-07T14:28:23Z DEBUG Updated state after 0s 2023-11-07T14:28:23Z PS:9585329687906250 -2023-11-07T14:28:23Z INFO Updated state #012: Changed 4 fields: -2023-11-07T14:28:23Z INFO Updated state #012: Set `system.last_config` = `2023-11-07T14:28:21Z` -2023-11-07T14:28:23Z INFO Updated state #012: Set `system.status.level` = `300` -2023-11-07T14:28:23Z INFO Updated state #012: Set `system.status.category` = `system.config.apply` -2023-11-07T14:28:23Z INFO Updated state #012: Set `timestamp` = `2023-11-07T14:28:23Z` -2023-11-07T14:28:23Z DEBUG Updated state has last_config 2023-11-07T14:28:21Z (expecting 2023-11-07T14:28:21Z) -2023-11-07T14:28:23Z TRACE received command AHU-1/state/system -2023-11-07T14:28:23Z TRACE received state_system: { -2023-11-07T14:28:23Z TRACE received state_system: "hardware" : { -2023-11-07T14:28:23Z TRACE received state_system: "make" : "BOS", -2023-11-07T14:28:23Z TRACE received state_system: "model" : "pubber" -2023-11-07T14:28:23Z TRACE received state_system: }, -2023-11-07T14:28:23Z TRACE received state_system: "last_config" : "2023-11-07T14:28:21Z", -2023-11-07T14:28:23Z TRACE received state_system: "operation" : { -2023-11-07T14:28:23Z TRACE received state_system: "operational" : true, -2023-11-07T14:28:23Z TRACE received state_system: "last_start" : "2023-11-07T14:27:28Z", -2023-11-07T14:28:23Z TRACE received state_system: "restart_count" : 1, -2023-11-07T14:28:23Z TRACE received state_system: "mode" : "initial" -2023-11-07T14:28:23Z TRACE received state_system: }, -2023-11-07T14:28:23Z TRACE received state_system: "serial_no" : "sequencer-23964", -2023-11-07T14:28:23Z TRACE received state_system: "software" : { -2023-11-07T14:28:23Z TRACE received state_system: "firmware" : "v1" -2023-11-07T14:28:23Z TRACE received state_system: }, -2023-11-07T14:28:23Z TRACE received state_system: "status" : { -2023-11-07T14:28:23Z TRACE received state_system: "message" : "success", -2023-11-07T14:28:23Z TRACE received state_system: "category" : "system.config.apply", -2023-11-07T14:28:23Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:21Z", -2023-11-07T14:28:23Z TRACE received state_system: "level" : 300 -2023-11-07T14:28:23Z TRACE received state_system: }, -2023-11-07T14:28:23Z TRACE received state_system: "timestamp" : "2023-11-07T14:28:23Z", -2023-11-07T14:28:23Z TRACE received state_system: "version" : "1.4.2" -2023-11-07T14:28:23Z TRACE received state_system: } -2023-11-07T14:28:23Z DEBUG Handling device message state_system PS:9585329687906250-0 -2023-11-07T14:28:23Z TRACE Ignoring partial state update -2023-11-07T14:28:23Z TRACE received command AHU-1/state/localnet -2023-11-07T14:28:23Z TRACE received state_localnet: { -2023-11-07T14:28:23Z TRACE received state_localnet: "families" : { -2023-11-07T14:28:23Z TRACE received state_localnet: "ether" : { -2023-11-07T14:28:23Z TRACE received state_localnet: "addr" : "00:0d:3a:e2:70:2e" -2023-11-07T14:28:23Z TRACE received state_localnet: }, -2023-11-07T14:28:23Z TRACE received state_localnet: "ipv4" : { -2023-11-07T14:28:23Z TRACE received state_localnet: "addr" : "10.1.0.69" -2023-11-07T14:28:23Z TRACE received state_localnet: }, -2023-11-07T14:28:23Z TRACE received state_localnet: "ipv6" : { -2023-11-07T14:28:23Z TRACE received state_localnet: "addr" : "fe80::20d:3aff:fee2:702e" -2023-11-07T14:28:23Z TRACE received state_localnet: } -2023-11-07T14:28:23Z TRACE received state_localnet: }, -2023-11-07T14:28:23Z TRACE received state_localnet: "timestamp" : "2023-11-07T14:28:23Z", -2023-11-07T14:28:23Z TRACE received state_localnet: "version" : "1.4.2" -2023-11-07T14:28:23Z TRACE received state_localnet: } -2023-11-07T14:28:23Z DEBUG Handling device message state_localnet PS:9585329687906250-1 -2023-11-07T14:28:23Z TRACE Ignoring partial state update -2023-11-07T14:28:23Z TRACE received command AHU-1/state/pointset -2023-11-07T14:28:23Z TRACE received state_pointset: { -2023-11-07T14:28:23Z TRACE received state_pointset: "points" : { -2023-11-07T14:28:23Z TRACE received state_pointset: "filter_alarm_pressure_status" : { }, -2023-11-07T14:28:23Z TRACE received state_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:23Z TRACE received state_pointset: "units" : "Bars", -2023-11-07T14:28:23Z TRACE received state_pointset: "value_state" : "applied" -2023-11-07T14:28:23Z TRACE received state_pointset: }, -2023-11-07T14:28:23Z TRACE received state_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:23Z TRACE received state_pointset: "units" : "Degrees-Celsius" -2023-11-07T14:28:23Z TRACE received state_pointset: } -2023-11-07T14:28:23Z TRACE received state_pointset: }, -2023-11-07T14:28:23Z TRACE received state_pointset: "timestamp" : "2023-11-07T14:28:23Z", -2023-11-07T14:28:23Z TRACE received state_pointset: "version" : "1.4.2" -2023-11-07T14:28:23Z TRACE received state_pointset: } -2023-11-07T14:28:23Z DEBUG Handling device message state_pointset PS:9585329687906250-2 -2023-11-07T14:28:23Z TRACE Ignoring partial state update -2023-11-07T14:28:26Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:26Z TRACE received event_pointset: { -2023-11-07T14:28:26Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:26Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:26Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:28:26Z TRACE received event_pointset: }, -2023-11-07T14:28:26Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:26Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:26Z TRACE received event_pointset: }, -2023-11-07T14:28:26Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:26Z TRACE received event_pointset: "present_value" : 10 -2023-11-07T14:28:26Z TRACE received event_pointset: } -2023-11-07T14:28:26Z TRACE received event_pointset: }, -2023-11-07T14:28:26Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:26Z", -2023-11-07T14:28:26Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:26Z TRACE received event_pointset: } -2023-11-07T14:28:26Z DEBUG Handling device message event_pointset PS:9001296492732807 -2023-11-07T14:28:26Z TRACE received command AHU-1/event/system -2023-11-07T14:28:26Z DEBUG received event_system 2023-11-07T14:28:21Z INFO device.log: update state 2023-11-07T14:28:21Z last_config 2023-11-07T14:28:02Z -2023-11-07T14:28:26Z DEBUG received event_system 2023-11-07T14:28:21Z INFO device.log: Config handler -2023-11-07T14:28:26Z DEBUG received event_system 2023-11-07T14:28:21Z INFO device.log: 2023-11-07T14:28:21Z received config 2023-11-07T14:28:21Z -2023-11-07T14:28:26Z DEBUG received event_system 2023-11-07T14:28:21Z INFO device.log: Starting executor with send message delay 5000 -2023-11-07T14:28:26Z DEBUG received event_system 2023-11-07T14:28:21Z NOTICE system.config.apply: success -2023-11-07T14:28:26Z DEBUG received event_system 2023-11-07T14:28:23Z INFO device.log: update state 2023-11-07T14:28:23Z last_config 2023-11-07T14:28:21Z -2023-11-07T14:28:26Z DEBUG Handling device message event_system PS:9585584060307558 -2023-11-07T14:28:31Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:31Z TRACE received event_pointset: { -2023-11-07T14:28:31Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:31Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:31Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:28:31Z TRACE received event_pointset: }, -2023-11-07T14:28:31Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:31Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:31Z TRACE received event_pointset: }, -2023-11-07T14:28:31Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:31Z TRACE received event_pointset: "present_value" : 11 -2023-11-07T14:28:31Z TRACE received event_pointset: } -2023-11-07T14:28:31Z TRACE received event_pointset: }, -2023-11-07T14:28:31Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:31Z", -2023-11-07T14:28:31Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:31Z TRACE received event_pointset: } -2023-11-07T14:28:31Z DEBUG Handling device message event_pointset PS:9586572291475391 -2023-11-07T14:28:31Z TRACE received command AHU-1/event/system -2023-11-07T14:28:31Z DEBUG received event_system (no logs) -2023-11-07T14:28:31Z DEBUG Handling device message event_system PS:9585754211391151 -2023-11-07T14:28:36Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:36Z TRACE received event_pointset: { -2023-11-07T14:28:36Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:36Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:36Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:28:36Z TRACE received event_pointset: }, -2023-11-07T14:28:36Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:36Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:36Z TRACE received event_pointset: }, -2023-11-07T14:28:36Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:36Z TRACE received event_pointset: "present_value" : 9 -2023-11-07T14:28:36Z TRACE received event_pointset: } -2023-11-07T14:28:36Z TRACE received event_pointset: }, -2023-11-07T14:28:36Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:36Z", -2023-11-07T14:28:36Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:36Z TRACE received event_pointset: } -2023-11-07T14:28:36Z DEBUG Handling device message event_pointset PS:9000420558546719 -2023-11-07T14:28:36Z TRACE received command AHU-1/event/system -2023-11-07T14:28:36Z DEBUG received event_system (no logs) -2023-11-07T14:28:36Z DEBUG Handling device message event_system PS:9585524865808912 -2023-11-07T14:28:41Z TRACE received command AHU-1/event/system -2023-11-07T14:28:41Z DEBUG received event_system (no logs) -2023-11-07T14:28:41Z DEBUG Handling device message event_system PS:9585366115421218 -2023-11-07T14:28:41Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:41Z TRACE received event_pointset: { -2023-11-07T14:28:41Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:41Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:41Z TRACE received event_pointset: "present_value" : true -2023-11-07T14:28:41Z TRACE received event_pointset: }, -2023-11-07T14:28:41Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:41Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:41Z TRACE received event_pointset: }, -2023-11-07T14:28:41Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:41Z TRACE received event_pointset: "present_value" : 9 -2023-11-07T14:28:41Z TRACE received event_pointset: } -2023-11-07T14:28:41Z TRACE received event_pointset: }, -2023-11-07T14:28:41Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:41Z", -2023-11-07T14:28:41Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:41Z TRACE received event_pointset: } -2023-11-07T14:28:41Z DEBUG Handling device message event_pointset PS:9585155454802238 -2023-11-07T14:28:46Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:46Z TRACE received event_pointset: { -2023-11-07T14:28:46Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:46Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:46Z TRACE received event_pointset: "present_value" : false -2023-11-07T14:28:46Z TRACE received event_pointset: }, -2023-11-07T14:28:46Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:46Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:46Z TRACE received event_pointset: }, -2023-11-07T14:28:46Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:46Z TRACE received event_pointset: "present_value" : 10 -2023-11-07T14:28:46Z TRACE received event_pointset: } -2023-11-07T14:28:46Z TRACE received event_pointset: }, -2023-11-07T14:28:46Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:46Z", -2023-11-07T14:28:46Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:46Z TRACE received event_pointset: } -2023-11-07T14:28:46Z DEBUG Handling device message event_pointset PS:9585376595331578 -2023-11-07T14:28:46Z TRACE received command AHU-1/event/system -2023-11-07T14:28:46Z DEBUG received event_system (no logs) -2023-11-07T14:28:46Z DEBUG Handling device message event_system PS:9585207703457115 -2023-11-07T14:28:51Z TRACE received command AHU-1/event/pointset -2023-11-07T14:28:51Z TRACE received event_pointset: { -2023-11-07T14:28:51Z TRACE received event_pointset: "points" : { -2023-11-07T14:28:51Z TRACE received event_pointset: "filter_alarm_pressure_status" : { -2023-11-07T14:28:51Z TRACE received event_pointset: "present_value" : true -2023-11-07T14:28:51Z TRACE received event_pointset: }, -2023-11-07T14:28:51Z TRACE received event_pointset: "filter_differential_pressure_setpoint" : { -2023-11-07T14:28:51Z TRACE received event_pointset: "present_value" : 98 -2023-11-07T14:28:51Z TRACE received event_pointset: }, -2023-11-07T14:28:51Z TRACE received event_pointset: "filter_differential_pressure_sensor" : { -2023-11-07T14:28:51Z TRACE received event_pointset: "present_value" : 10 -2023-11-07T14:28:51Z TRACE received event_pointset: } -2023-11-07T14:28:51Z TRACE received event_pointset: }, -2023-11-07T14:28:51Z TRACE received event_pointset: "timestamp" : "2023-11-07T14:28:51Z", -2023-11-07T14:28:51Z TRACE received event_pointset: "version" : "1.4.2" -2023-11-07T14:28:51Z TRACE received event_pointset: } -2023-11-07T14:28:51Z DEBUG Handling device message event_pointset PS:9585191664029622 -2023-11-07T14:28:51Z DEBUG stage finished waiting for receive at least 5 pointset events at 58s after 31s -2023-11-07T14:28:51Z TRACE stage resume waiting for executing test at 58s -2023-11-07T14:28:51Z DEBUG stage done waiting for executing test at 58s -2023-11-07T14:28:51Z DEBUG Status level: 300 -2023-11-07T14:28:51Z NOTICE RESULT pass pointset pointset_sample_rate BETA 5 Sequence complete -2023-11-07T14:28:51Z NOTICE Sequence complete -2023-11-07T14:28:51Z NOTICE ending test pointset_sample_rate after 58s ################################ diff --git a/validator/sequences/pointset_sample_rate/state_localnet.attr b/validator/sequences/pointset_sample_rate/state_localnet.attr deleted file mode 100644 index 5c54e8fb29..0000000000 --- a/validator/sequences/pointset_sample_rate/state_localnet.attr +++ /dev/null @@ -1,10 +0,0 @@ -{ - "deviceId" : "AHU-1", - "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_0", - "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585329687906250-1", - "publishTime" : "2023-11-07T14:28:23Z", - "subFolder" : "localnet", - "subType" : "state" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/state_localnet.json b/validator/sequences/pointset_sample_rate/state_localnet.json deleted file mode 100644 index e9c2796e13..0000000000 --- a/validator/sequences/pointset_sample_rate/state_localnet.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "families" : { - "ether" : { - "addr" : "00:0d:3a:e2:70:2e" - }, - "ipv4" : { - "addr" : "10.1.0.69" - }, - "ipv6" : { - "addr" : "fe80::20d:3aff:fee2:702e" - } - }, - "timestamp" : "2023-11-07T14:28:23Z", - "version" : "1.4.2" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/state_pointset.attr b/validator/sequences/pointset_sample_rate/state_pointset.attr deleted file mode 100644 index ae135e7d8a..0000000000 --- a/validator/sequences/pointset_sample_rate/state_pointset.attr +++ /dev/null @@ -1,10 +0,0 @@ -{ - "deviceId" : "AHU-1", - "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_0", - "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585329687906250-2", - "publishTime" : "2023-11-07T14:28:23Z", - "subFolder" : "pointset", - "subType" : "state" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/state_pointset.json b/validator/sequences/pointset_sample_rate/state_pointset.json deleted file mode 100644 index 6380645b3b..0000000000 --- a/validator/sequences/pointset_sample_rate/state_pointset.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "points" : { - "filter_alarm_pressure_status" : { }, - "filter_differential_pressure_setpoint" : { - "units" : "Bars", - "value_state" : "applied" - }, - "filter_differential_pressure_sensor" : { - "units" : "Degrees-Celsius" - } - }, - "timestamp" : "2023-11-07T14:28:23Z", - "version" : "1.4.2" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/state_system.attr b/validator/sequences/pointset_sample_rate/state_system.attr deleted file mode 100644 index 180cadb899..0000000000 --- a/validator/sequences/pointset_sample_rate/state_system.attr +++ /dev/null @@ -1,10 +0,0 @@ -{ - "deviceId" : "AHU-1", - "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_0", - "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585329687906250-0", - "publishTime" : "2023-11-07T14:28:23Z", - "subFolder" : "system", - "subType" : "state" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/state_system.json b/validator/sequences/pointset_sample_rate/state_system.json deleted file mode 100644 index f0d7846664..0000000000 --- a/validator/sequences/pointset_sample_rate/state_system.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "hardware" : { - "make" : "BOS", - "model" : "pubber" - }, - "last_config" : "2023-11-07T14:28:21Z", - "operation" : { - "operational" : true, - "last_start" : "2023-11-07T14:27:28Z", - "restart_count" : 1, - "mode" : "initial" - }, - "serial_no" : "sequencer-23964", - "software" : { - "firmware" : "v1" - }, - "status" : { - "message" : "success", - "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:28:21Z", - "level" : 300 - }, - "timestamp" : "2023-11-07T14:28:23Z", - "version" : "1.4.2" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/state_update.attr b/validator/sequences/pointset_sample_rate/state_update.attr deleted file mode 100644 index dcf248b863..0000000000 --- a/validator/sequences/pointset_sample_rate/state_update.attr +++ /dev/null @@ -1,10 +0,0 @@ -{ - "deviceId" : "AHU-1", - "deviceNumId" : "123456789101112", - "deviceRegistryId" : "grafnu~ZZ-TRI-FECTA_0", - "projectId" : "bos-platform-dev", - "transactionId" : "PS:9585329687906250", - "publishTime" : "2023-11-07T14:28:23Z", - "subFolder" : "update", - "subType" : "state" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/state_update.json b/validator/sequences/pointset_sample_rate/state_update.json deleted file mode 100644 index e9b081d9f5..0000000000 --- a/validator/sequences/pointset_sample_rate/state_update.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "localnet" : { - "families" : { - "ether" : { - "addr" : "00:0d:3a:e2:70:2e" - }, - "ipv4" : { - "addr" : "10.1.0.69" - }, - "ipv6" : { - "addr" : "fe80::20d:3aff:fee2:702e" - } - } - }, - "pointset" : { - "points" : { - "filter_alarm_pressure_status" : { }, - "filter_differential_pressure_setpoint" : { - "units" : "Bars", - "value_state" : "applied" - }, - "filter_differential_pressure_sensor" : { - "units" : "Degrees-Celsius" - } - } - }, - "system" : { - "last_config" : "2023-11-07T14:28:21Z", - "operation" : { - "operational" : true, - "last_start" : "2023-11-07T14:27:28Z", - "restart_count" : 1, - "mode" : "initial" - }, - "serial_no" : "sequencer-23964", - "hardware" : { - "make" : "BOS", - "model" : "pubber" - }, - "software" : { - "firmware" : "v1" - }, - "status" : { - "message" : "success", - "category" : "system.config.apply", - "timestamp" : "2023-11-07T14:28:21Z", - "level" : 300 - } - }, - "timestamp" : "2023-11-07T14:28:23Z", - "version" : "1.4.2" -} \ No newline at end of file diff --git a/validator/sequences/pointset_sample_rate/system.log b/validator/sequences/pointset_sample_rate/system.log deleted file mode 100644 index 88caddc593..0000000000 --- a/validator/sequences/pointset_sample_rate/system.log +++ /dev/null @@ -1,21 +0,0 @@ -2023-11-07T14:27:49Z DEBUG State update defer 689ms -2023-11-07T14:27:50Z DEBUG State update defer 0ms -2023-11-07T14:27:50Z INFO update state 2023-11-07T14:27:50Z last_config 2023-11-07T14:27:49Z -2023-11-07T14:27:50Z DEBUG State update (config_logging) -2023-11-07T14:28:02Z DEBUG success -2023-11-07T14:28:02Z DEBUG State update defer -9525ms -2023-11-07T14:28:02Z INFO update state 2023-11-07T14:28:02Z last_config 2023-11-07T14:27:49Z -2023-11-07T14:28:02Z DEBUG success -2023-11-07T14:28:02Z INFO Config handler -2023-11-07T14:28:02Z DEBUG State update (config_logging) -2023-11-07T14:28:02Z DEBUG Config update (pointset_sample_rate) -2023-11-07T14:28:02Z INFO 2023-11-07T14:28:02Z received config 2023-11-07T14:28:02Z -2023-11-07T14:28:02Z NOTICE success -2023-11-07T14:28:04Z INFO update state 2023-11-07T14:28:04Z last_config 2023-11-07T14:28:02Z -2023-11-07T14:28:21Z INFO update state 2023-11-07T14:28:21Z last_config 2023-11-07T14:28:02Z -2023-11-07T14:28:21Z INFO Config handler -2023-11-07T14:28:21Z INFO 2023-11-07T14:28:21Z received config 2023-11-07T14:28:21Z -2023-11-07T14:28:21Z INFO Starting executor with send message delay 5000 -2023-11-07T14:28:21Z NOTICE success -2023-11-07T14:28:23Z INFO update state 2023-11-07T14:28:23Z last_config 2023-11-07T14:28:21Z -2023-11-07T14:28:51Z NOTICE Sequence complete diff --git a/validator/src/main/java/com/google/daq/mqtt/mapping/MappingEngine.java b/validator/src/main/java/com/google/daq/mqtt/mapping/MappingEngine.java index 235f1c7ad0..ec1dd4a5e1 100644 --- a/validator/src/main/java/com/google/daq/mqtt/mapping/MappingEngine.java +++ b/validator/src/main/java/com/google/daq/mqtt/mapping/MappingEngine.java @@ -22,7 +22,7 @@ import udmi.schema.MappingEvent; import udmi.schema.MappingEventEntity; import udmi.schema.MappingState; -import udmi.schema.PointEnumerationEvent; +import udmi.schema.PointDiscovery; /** * Engine for mapping discovery results to point names. @@ -64,7 +64,7 @@ private void discoveryEventHandler(Envelope envelope, DiscoveryEvent message) { isoConvert(message.generation)); getDeviceState(deviceId).discovered = message.timestamp; - updateTranslation(deviceId, message.uniqs); + updateTranslation(deviceId, message.points); publishEngineState(); } @@ -75,11 +75,11 @@ private DeviceMappingState getDeviceState(String deviceId) { return state; } - private void updateTranslation(String deviceId, Map uniqs) { + private void updateTranslation(String deviceId, Map points) { MappingEvent result = new MappingEvent(); result.entities = new HashMap<>(); final MappingEventEntity entity = new MappingEventEntity(); - entity.translation = uniqs.entrySet() + entity.translation = points.entrySet() .stream().map(this::makeTranslation).collect(Collectors.toMap(SimpleEntry::getKey, SimpleEntry::getValue, (existing, replacement) -> replacement, HashMap::new)); result.entities.put(deviceGuid(deviceId), entity); @@ -89,9 +89,9 @@ private void updateTranslation(String deviceId, Map makeTranslation( - Entry entry) { + Entry entry) { BuildingTranslation buildingTranslation = new BuildingTranslation(); - PointEnumerationEvent value = entry.getValue(); + PointDiscovery value = entry.getValue(); buildingTranslation.present_value = value.name; buildingTranslation.units = value.units; return new SimpleEntry<>(entry.getKey(), buildingTranslation); diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/Capability.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/Capability.java index de8f3f0d86..a1b6e9d820 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/Capability.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/Capability.java @@ -6,7 +6,7 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery.FeatureStage; /** * Singular annotation for a sequence test capability. diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/Feature.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/Feature.java index bbdad2932c..1e72299557 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/Feature.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/Feature.java @@ -7,7 +7,7 @@ import java.lang.reflect.Method; import java.util.function.Supplier; import udmi.schema.Bucket; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery.FeatureStage; /** * Feature designation for line-item tests. diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceBase.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceBase.java index 4cfd90aac4..e1b94b7fe0 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceBase.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceBase.java @@ -45,9 +45,9 @@ import static udmi.schema.Category.VALIDATION_FEATURE_CAPABILITY; import static udmi.schema.Category.VALIDATION_FEATURE_SCHEMA; import static udmi.schema.Category.VALIDATION_FEATURE_SEQUENCE; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.PREVIEW; -import static udmi.schema.FeatureEnumeration.FeatureStage.STABLE; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.PREVIEW; +import static udmi.schema.FeatureDiscovery.FeatureStage.STABLE; import static udmi.schema.Level.ERROR; import static udmi.schema.Level.NOTICE; import static udmi.schema.Level.WARNING; @@ -130,8 +130,8 @@ import udmi.schema.Envelope.SubFolder; import udmi.schema.Envelope.SubType; import udmi.schema.ExecutionConfiguration; -import udmi.schema.FeatureEnumeration; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery; +import udmi.schema.FeatureDiscovery.FeatureStage; import udmi.schema.FeatureValidationState; import udmi.schema.Level; import udmi.schema.Metadata; @@ -761,7 +761,7 @@ protected boolean isBucketEnabled(Bucket bucket) { if (bucket == SYSTEM || enableAllTargets || deviceMetadata.features == null) { return true; } - FeatureEnumeration metadata = deviceMetadata.features.get(bucket.value()); + FeatureDiscovery metadata = deviceMetadata.features.get(bucket.value()); if (metadata == null) { return false; } diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceRunner.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceRunner.java index 1130c66b00..0c2ba93975 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceRunner.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/SequenceRunner.java @@ -6,8 +6,8 @@ import static com.google.udmi.util.GeneralUtils.friendlyStackTrace; import static java.lang.String.format; import static java.util.Optional.ofNullable; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.BETA; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.BETA; import com.google.common.base.Joiner; import com.google.daq.mqtt.WebServerRunner; @@ -36,7 +36,7 @@ import org.junit.runner.Request; import org.junit.runner.Result; import udmi.schema.ExecutionConfiguration; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery.FeatureStage; import udmi.schema.Level; import udmi.schema.Metadata; import udmi.schema.SequenceValidationState.SequenceResult; diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/BlobsetSequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/BlobsetSequences.java index bc9a8161af..8ecb1becae 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/BlobsetSequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/BlobsetSequences.java @@ -11,8 +11,8 @@ import static udmi.schema.Bucket.ENDPOINT_CONFIG; import static udmi.schema.Bucket.SYSTEM_MODE; import static udmi.schema.Category.BLOBSET_BLOB_APPLY; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.PREVIEW; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.PREVIEW; import com.google.daq.mqtt.sequencer.Feature; import com.google.daq.mqtt.sequencer.SequenceBase; diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ConfigSequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ConfigSequences.java index d19596ce29..2b1ce35123 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ConfigSequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ConfigSequences.java @@ -20,9 +20,9 @@ import static udmi.schema.Category.SYSTEM_CONFIG_PARSE_LEVEL; import static udmi.schema.Category.SYSTEM_CONFIG_RECEIVE; import static udmi.schema.Category.SYSTEM_CONFIG_RECEIVE_LEVEL; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.BETA; -import static udmi.schema.FeatureEnumeration.FeatureStage.STABLE; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.BETA; +import static udmi.schema.FeatureDiscovery.FeatureStage.STABLE; import com.google.daq.mqtt.sequencer.Capability; import com.google.daq.mqtt.sequencer.Feature; diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/DiscoverySequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/DiscoverySequences.java index 0f467268c0..73d7e0ccd8 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/DiscoverySequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/DiscoverySequences.java @@ -15,10 +15,10 @@ import static udmi.schema.Bucket.ENUMERATION_FAMILIES; import static udmi.schema.Bucket.ENUMERATION_FEATURES; import static udmi.schema.Bucket.ENUMERATION_POINTSET; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.BETA; -import static udmi.schema.FeatureEnumeration.FeatureStage.PREVIEW; -import static udmi.schema.FeatureEnumeration.FeatureStage.STABLE; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.BETA; +import static udmi.schema.FeatureDiscovery.FeatureStage.PREVIEW; +import static udmi.schema.FeatureDiscovery.FeatureStage.STABLE; import com.google.common.collect.Sets; import com.google.common.collect.Sets.SetView; @@ -46,7 +46,7 @@ import udmi.schema.Enumerate; import udmi.schema.FamilyDiscoveryConfig; import udmi.schema.FamilyDiscoveryState; -import udmi.schema.FeatureEnumeration; +import udmi.schema.FeatureDiscovery; /** * Validation tests for discovery scan and enumeration capabilities. @@ -63,7 +63,7 @@ public void setupExpectedParameters() { allowDeviceStateChange("discovery"); } - private static boolean isActive(Entry entry) { + private static boolean isActive(Entry entry) { return Optional.ofNullable(entry.getValue().stage).orElse(STABLE).compareTo(BETA) >= 0; } @@ -103,21 +103,21 @@ private void checkSelfEnumeration(DiscoveryEvent event, Enumerate enumerate) { } if (isTrue(enumerate.features)) { - checkFeatureEnumeration(event.features); + checkFeatureDiscovery(event.features); } else { checkThat("no feature enumeration", () -> event.features == null); } - if (isTrue(enumerate.uniqs)) { + if (isTrue(enumerate.points)) { int expectedSize = Optional.ofNullable(deviceMetadata.pointset.points).map(HashMap::size) .orElse(0); - checkThat("enumerated point count matches", () -> event.uniqs.size() == expectedSize); + checkThat("enumerated point count matches", () -> event.points.size() == expectedSize); } else { - checkThat("no point enumeration", () -> event.uniqs == null); + checkThat("no point enumeration", () -> event.points == null); } } - private void checkFeatureEnumeration(Map features) { + private void checkFeatureDiscovery(Map features) { Set enumeratedFeatures = features.entrySet().stream() .filter(DiscoverySequences::isActive).map(Entry::getKey).collect(Collectors.toSet()); requireNonNull(deviceMetadata.features, "device metadata features missing"); @@ -156,7 +156,7 @@ public void pointset_enumeration() { skipTest("No metadata pointset points defined"); } Enumerate enumerate = new Enumerate(); - enumerate.uniqs = true; + enumerate.points = true; DiscoveryEvent event = runEnumeration(enumerate); checkSelfEnumeration(event, enumerate); } @@ -188,7 +188,7 @@ public void multi_enumeration() { Enumerate enumerate = new Enumerate(); enumerate.families = isBucketEnabled(ENUMERATION_FAMILIES); enumerate.features = isBucketEnabled(ENUMERATION_FEATURES); - enumerate.uniqs = isBucketEnabled(ENUMERATION_POINTSET); + enumerate.points = isBucketEnabled(ENUMERATION_POINTSET); DiscoveryEvent event = runEnumeration(enumerate); checkSelfEnumeration(event, enumerate); } @@ -226,8 +226,8 @@ public void single_scan() { } private void checkEnumeration(List receivedEvents, boolean shouldEnumerate) { - Predicate hasPoints = event -> event.uniqs != null - && !event.uniqs.isEmpty(); + Predicate hasPoints = event -> event.points != null + && !event.points.isEmpty(); if (shouldEnumerate) { assertTrue("with enumeration", receivedEvents.stream().allMatch(hasPoints)); } else { diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/GatewaySequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/GatewaySequences.java index c51312c296..359dd79531 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/GatewaySequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/GatewaySequences.java @@ -17,7 +17,7 @@ import org.junit.Before; import org.junit.Test; import udmi.schema.Bucket; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery.FeatureStage; /** * Specific tests for logical gateway devices. This is not the same as proxied diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/LocalnetSequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/LocalnetSequences.java index 79aed5349d..df326fd45a 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/LocalnetSequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/LocalnetSequences.java @@ -3,7 +3,7 @@ import static com.google.daq.mqtt.util.TimePeriodConstants.ONE_MINUTE_MS; import static java.lang.String.format; import static udmi.schema.Bucket.SYSTEM; -import static udmi.schema.FeatureEnumeration.FeatureStage.PREVIEW; +import static udmi.schema.FeatureDiscovery.FeatureStage.PREVIEW; import com.google.daq.mqtt.sequencer.Feature; import com.google.daq.mqtt.sequencer.SequenceBase; diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/PointsetSequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/PointsetSequences.java index 750ebc8cb9..66b78d4a97 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/PointsetSequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/PointsetSequences.java @@ -10,14 +10,13 @@ import static udmi.schema.Bucket.POINTSET; import static udmi.schema.Category.POINTSET_POINT_INVALID; import static udmi.schema.Category.POINTSET_POINT_INVALID_VALUE; -import static udmi.schema.FeatureEnumeration.FeatureStage.BETA; +import static udmi.schema.FeatureDiscovery.FeatureStage.BETA; import com.google.daq.mqtt.sequencer.Feature; import com.google.daq.mqtt.sequencer.PointsetBase; import com.google.daq.mqtt.sequencer.Summary; import com.google.daq.mqtt.sequencer.ValidateSchema; import com.google.daq.mqtt.util.SamplingRange; -import java.time.Instant; import java.util.ArrayList; import java.util.Collections; import java.util.Date; @@ -140,62 +139,8 @@ public void pointset_publish() { () -> (countReceivedEvents(PointsetEvent.class) > 1)); } - /** - * Tests sample_rate_min by measuring the initial interval between the last two messages received, - * then setting the config.pointset.sample_rate_min to match half the initial interval and - * measuring the final interval between several messages and ensuring it is less than the new - * interval (with a tolerance of 1.5s). - * - *

Pass if: final interval < new sample_rate_min + tolerance - * Fail if: final interval > new sample_rate_min + tolerance Skip if: initial interval < 5s (too - * fast for automated test) - */ - @Test(timeout = THREE_MINUTES_MS) - @Feature(stage = BETA, bucket = POINTSET) - @Summary("Check that a device publishes pointset events not faster than config sample_rate_sec") - public void pointset_sample_rate() { - ifNullSkipTest(deviceConfig.pointset, "no pointset found in config"); - - // Clear received events because this could contain messages from a previous sample rate test - popReceivedEvents(PointsetEvent.class); - - Instant endTime = Instant.now().plusSeconds(DEFAULT_SAMPLE_RATE_SEC * 3); - // To pick the test sample rate, either measure the devices - // given sampling rate from its last 2 messages and half it or use - // a value if long - untilTrue("measure initial sample rate", - () -> (countReceivedEvents(PointsetEvent.class) > 1 - || Instant.now().isAfter(endTime)) - ); - - final int testSampleRate; - if (countReceivedEvents(PointsetEvent.class) < 2) { - // 2 messages not seen, assume interval is longer than wait period, pick a small number - testSampleRate = DEFAULT_SAMPLE_RATE_SEC; - } else { - List receivedEvents = popReceivedEvents(PointsetEvent.class); - List telemetryDelta = intervalFromEvents(receivedEvents); - int nominalInterval = telemetryDelta.get(0).intValue(); - info(format("initial sample rate is %d seconds", nominalInterval)); - - ifTrueThen(nominalInterval < 5, - () -> skipTest("measured sample rate is too low for automated test")); - - // Use an interval smaller than the devices last interval - testSampleRate = Math.floorDiv(nominalInterval, 2); - } - - info(format("setting sample rate to %d seconds", testSampleRate)); - SamplingRange testSampleRange = new SamplingRange(1, testSampleRate, 1.5); - - testPointsetWithSamplingRange(testSampleRange, 5, 2); - } - /** * Generates message for checking the time periods are within the sampling range. - * - * @param samplingRange sampling range to produce message for - * @return message */ private String samplingMessagesCheckMessage(SamplingRange samplingRange) { return format("time period between successive pointset events is %s", @@ -207,7 +152,7 @@ private String samplingMessagesCheckMessage(SamplingRange samplingRange) { * of both parameters, and ensuring telemetry is within this range. */ @Test(timeout = THREE_MINUTES_MS) - @Summary("Check handling of sample rate and sample limit sec") + @Summary("Check handling of sample_rate_sec and sample_limit_sec") @Feature(stage = BETA, bucket = POINTSET, nostate = true) @ValidateSchema(SubFolder.POINTSET) public void pointset_publish_interval() { @@ -224,9 +169,6 @@ public void pointset_publish_interval() { /** * Given a list of events, sorts these in timestamp order and returns a list of the the intervals * between each pair of successive messages based on the in-payload timestamp. - * - * @param receivedEvents list of PointsetEvents - * @return list of the intervals between successive messages */ private List intervalFromEvents(List receivedEvents) { ArrayList intervals = new ArrayList<>(); @@ -247,10 +189,6 @@ private List intervalFromEvents(List receivedEvents) { /** * Updating the sample_limit_sec and sample_rate_sec according to provided SamplingRange and * checks if the interval between subsequent pointset events are within this range. - * - * @param sampleRange sample range to test with - * @param messagesToSample number of messages to sample (must be greater than 2) - * @param intervalsToIgnore number of intervals to ignore at start (to allow system to settle) */ private void testPointsetWithSamplingRange(SamplingRange sampleRange, Integer messagesToSample, Integer intervalsToIgnore) { diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ProxiedSequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ProxiedSequences.java index 3ae7998a7f..8fcbfac139 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ProxiedSequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/ProxiedSequences.java @@ -13,7 +13,7 @@ import org.junit.Test; import udmi.schema.Bucket; import udmi.schema.FamilyLocalnetModel; -import udmi.schema.FeatureEnumeration.FeatureStage; +import udmi.schema.FeatureDiscovery.FeatureStage; import udmi.schema.GatewayConfig; import udmi.schema.Level; diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/SystemSequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/SystemSequences.java index 4539186bbe..a848529cdd 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/SystemSequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/SystemSequences.java @@ -5,8 +5,8 @@ import static com.google.udmi.util.JsonUtil.safeSleep; import static java.lang.String.format; import static udmi.schema.Bucket.SYSTEM; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.BETA; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.BETA; import com.google.daq.mqtt.sequencer.Feature; import com.google.daq.mqtt.sequencer.SequenceBase; diff --git a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/WritebackSequences.java b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/WritebackSequences.java index 548f1a8fba..c649c86e07 100644 --- a/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/WritebackSequences.java +++ b/validator/src/main/java/com/google/daq/mqtt/sequencer/sequences/WritebackSequences.java @@ -2,7 +2,7 @@ import static com.google.daq.mqtt.util.TimePeriodConstants.NINETY_SECONDS_MS; import static udmi.schema.Bucket.WRITEBACK; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; import com.google.daq.mqtt.sequencer.Feature; import com.google.daq.mqtt.sequencer.PointsetBase; diff --git a/validator/src/test/java/com/google/daq/mqtt/sequencer/FeatureTest.java b/validator/src/test/java/com/google/daq/mqtt/sequencer/FeatureTest.java index f9b233a741..03a2dbcb97 100644 --- a/validator/src/test/java/com/google/daq/mqtt/sequencer/FeatureTest.java +++ b/validator/src/test/java/com/google/daq/mqtt/sequencer/FeatureTest.java @@ -3,11 +3,11 @@ import static com.google.daq.mqtt.sequencer.SequenceRunner.processStage; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -import static udmi.schema.FeatureEnumeration.FeatureStage.ALPHA; -import static udmi.schema.FeatureEnumeration.FeatureStage.BETA; -import static udmi.schema.FeatureEnumeration.FeatureStage.DISABLED; -import static udmi.schema.FeatureEnumeration.FeatureStage.PREVIEW; -import static udmi.schema.FeatureEnumeration.FeatureStage.STABLE; +import static udmi.schema.FeatureDiscovery.FeatureStage.ALPHA; +import static udmi.schema.FeatureDiscovery.FeatureStage.BETA; +import static udmi.schema.FeatureDiscovery.FeatureStage.DISABLED; +import static udmi.schema.FeatureDiscovery.FeatureStage.PREVIEW; +import static udmi.schema.FeatureDiscovery.FeatureStage.STABLE; import org.junit.Test;