I get two errors in the logs

In the Log-Files I am getting two errors:

2021-01-17 17:13:23.529 [vent.ItemStateChangedEvent] - temperature_out changed from NULL to sh: 1: /etc/openhab2/scripts/wetterstation.py: not found
sh: 1: /etc/openhab2/scripts/wetterstation.py: not found

2021-01-17 17:13:23.533 [vent.ItemStateChangedEvent] - humidity_out changed from NULL to sh: 1: /etc/openhab2/scripts/wetterstation.py: not found
sh: 1: /etc/openhab2/scripts/wetterstation.py: not found

But that Script is there:

[17:18:03] openhabian@openhab:~$ python3 /etc/openhab2/scripts/wetterstation.py temperature
20.7

And the script is working, how you see

I just found the reason:

in the wetterstation.py and there in the first line, I wrote:
#!/usr/bin/python3
but if I change it into
#!/usr/bin/python3.7
it is working

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.