User's Manual
-50-
Services
Click on “Edit output” to display all the information available about the selected output option.Click on “Change”
button in the detailed window to change the data output, select one of the multiple choices from the list.
Figure : Selecting the output application
“Websocket” is the method recommended to deliver the end-device data.
• ΖWȇVFORXGIULHQGO\H[LVWLQJ+773WUDɝFRSWLPL]DWLRQFDQEHXVHG
• It’s bi-directional, real-time interface
• It’s easy to implement
• It’s lower overhead compared to REST
• It’s already supported in all major web browsers
• It’s already supported in many programming languages
12.2.2. 6HUYHUFRQȴJXUDWLRQ
ΖQWKHFDOOEDFNVHUYHUSUHYLRXVO\LQVWDOOHGVRPHSDUDPHWHUVPXVWEHFRQȴJXUHGWRHQDEOHWKHFRPPXQLFDWLRQ
with the node.
The
services.iniȴOH ORFDWHG LQdata folder, has to be updated with the following information in the loriot
section.
[loriot]
ORJBOHYHO ߙ$//ߚ
ORJBࢱOH ߙORJVORULRWORJߚ
ZHEVRFNHWBXUO ߙZVVHXORULRWLRDSS"LG [[[[[[[WRNHQ [[[[[[[ߚ
VHUYLFHBXUO ߙKWWSP\VHUYHUFRPVHUYLFHVORULRWߚ
• log_level: This level is the minimum level to save logs in the system. Select among these levels:
- OFF: This option deactivate the log.
- ERROR : It only reports ERROR messages.
- INFO: It reports ERROR + INFO messages.
- DEBUG: it reports ERROR + INFO + DEBUG messages.
- ALL: It reports everything happened in the process.
• ORJBȴOH The relative path where the log messages will be saved.
• websocket_url: The URL of the websocket listed in the Loriot dashboard. In the last window shown “Application
output”, in the second section “Current output setup” there are the target URL and the Authentication Token
to access to the API interface.