Lora Gateway on Rasberry Pi and OpenHab2

  • Platform information:
    • Hardware: Raspberry Pi 2B
    • OS: Raspbian (debian) version 6
    • Java Runtime Environment: Java SE Runtime Enviroment Version 1.8.0_65
    • openHAB version: 2.4.0
  • Issue of the topic:
    I have a Raspberry Pi and a iC880a running a modified version of the pkt_logger from the Gateway repository of Lora-Net.
    I just changed the output file and turned off the file rotation, so there is only one file generated.
    That part just works fine. Now i want to get the temperature from the payload, once the file is modified.
    In the end i want to have a text field on the webpage just to see the temperature value.
    Is there any preconfigured Binding for those file operations? When not how do i get an item to show up on the Webpage.

Can the Exec Binding do that, when i have a shell script that checks if the fiile was modified?

The Log Reader Binding might be usable here. If not, yes, you can perform a grep/sed/awk through the text file using the Exec binding periodically.