A sensing device comprising: a sensing unit for sensing at least a given phenomenon; a storage medium for storing digital data; a communication unit for receiving and transmitting digital data and/or signals; a time-keeping unit for providing a timestamp, and an electronic circuit being operationally connected to the storage medium, the sensing unit, the communication unit, and to the time-keeping unit; wherein the sensing device is configured to selectively operate in: - a manufacturing mode, wherein the electronic circuit is configured to permanently store an unique code in the storage medium; - an unprovisioned mode wherein the electronic circuit is configured to wait for receiving a provisioning code from a provisioning device, and, in response of a provisioning code matching the unique code of the sensing device, to: generate a private key for signing data, and deduct a public key for verifying data being signed by said private key; - a provisioned mode, wherein the electronic circuit is configured to collect data provided by the sensing unit and to: sign, by said private key, the collected data and a timestamp provided by the time-keeping unit so as to provide a digital signature being verifiable by said public key, and transmit a packed data to a gateway device and/or to a server, the packed data comprising the collected data, the timestamp,the digital signature and the public key; and - an end-of-life mode, wherein the electronic circuit is configured to permanently erase the private key. a sensing unit for sensing at least a given phenomenon; a storage medium for storing digital data; a communication unit for receiving and transmitting digital data and/or signals; a time-keeping unit for providing a timestamp, and an electronic circuit being operationally connected to the storage medium, the sensing unit, the communication unit, and to the time-keeping unit; - a manufacturing mode, wherein the electronic circuit is configured to permanently store an unique code in the storage medium; - an unprovisioned mode wherein the electronic circuit is configured to wait for receiving a provisioning code from a provisioning device, and, in response of a provisioning code matching the unique code of the sensing device, to: generate a private key for signing data, and deduct a public key for verifying data being signed by said private key; generate a private key for signing data, and deduct a public key for verifying data being signed by said private key; - a provisioned mode, wherein the electronic circuit is configured to collect data provided by the sensing unit and to: sign, by said private key, the collected data and a timestamp provided by the time-keeping unit so as to provide a digital signature being verifiable by said public key, and transmit a packed data to a gateway device and/or to a server, the packed data comprising the collected data, the timestamp,the digital signature and the public key; and sign, by said private key, the collected data and a timestamp provided by the time-keeping unit so as to provide a digital signature being verifiable by said public key, and transmit a packed data to a gateway device and/or to a server, the packed data comprising the collected data, the timestamp,the digital signature and the public key; and - an end-of-life mode, wherein the electronic circuit is configured to permanently erase the private key.