Data Sheets in Digital Sensor Twins
The LegalLab repository contains an example smart contract for creating digital sensor twins. This template, together with the LegalLab utility, has been updated to support uploading and presentation of data sheets for the underlying sensors being mirrored digitally.
The process of attaching such data sheets is straight-forward:
Publish the new digital sensor template to your Neuron®, and get it approved.
Create a smart contract based on this template, pointing to the sensor you want to mirror.
Before signing the contract, upload any number of data-sheets appropriate for the digital twin. If these attachments are in the following formats, they will be presented together with sensor data from the sensor:
- Plain text file (
*.txt
) - Markdown text file (
*.md
) - Image files (
*.jpg
,*.png
,*.webp
, and other supported formats) - Microsoft Word files, in the interoperable OpenXML format (
*.docx
) - Microsoft Excel files, in the interoperable OpenXML format (
*.xlsx
)
- Plain text file (
- Once data sheets have been uploaded, sign the contract accordingly.
- Once the token has been created, create a Present Report to view sensor data, together with associated data sheets.
Note: For performance reasons, it might be less resource-intensive and quicker to pre-convert MS Word files to Markdown, and upload the Markdown file.
Note 2: For security reasons, only files (actually Internet Content-Types) recognized by both LegalLab and the Neuron® will be accepted.
Note 3: To be able to upload and process Microsoft Word documents and Excel spreadsheets, you need to install the Microsoft Interoperability package. You can also check microsoft for more information related to Microsoft interoperability.
Stockholm weather station for testing and development purposes
There’s a harmonized weather station of the Stockholm Weather available for anyone who needs to test or develop services that include sensor communication. The sensor is a bridge to the OpenWeatherMap API, and bridges incoming requests on XMPP to requests to the API, and back, live.
You can connect to it here:
Capabilities
Following is a brief list of some of the capabilities of the sensor:
- It contains momentary, identity, status, peak, computed and historical values, so it is suitable for testing different categories of data.
- It maintains a historical log of sensor data, so it can be used to test historical plots.
- It reports a variety of physical units: Speed, Time, Temperature, Distance, Angles, Pressure, Percentage.
- It reports a variety of field types: Numerical, physical quantities (i.e. numerical with precision and physical units), date and time, strings, links.
Authorization
The sensor will accept all connection requests, and all sensor data readout request, but will reject, by default, configuration requests. The owner of the node will receive notifications when someone wants to configure it, and may approve such requests on demand.
Setting up your own weather station sensor
You can setup your own OpenWeatherMap sensor, publishing weather station information for your location. Just follow the steps in the article Creating a harmonized and provisioned sensor for test.
Posts tagged #sensor
No more posts with the given tag could be found. You can go back to the main view by selecting Home in the menu above.