Search found 3 matches

by siebke
Wednesday 31 August 2016 14:30
Forum: Bash / PowerShell / Batch etc.
Topic: Ultimate Wifi and Bluetooth Presence Detection
Replies: 84
Views: 50247

Re: Ultimate Wifi and Bluetooth Presence Detection

Thanks!! @bizziebis

That was indeed the problem. Seems that wen't something wrong while saving the file in Unix Encoding with Notepad++.
by siebke
Wednesday 31 August 2016 13:13
Forum: Bash / PowerShell / Batch etc.
Topic: Ultimate Wifi and Bluetooth Presence Detection
Replies: 84
Views: 50247

Re: Ultimate Wifi and Bluetooth Presence Detection

I was using the correct syntax indeed “sudo ./iphone_roger.sh” so that’s not likely the problem.

Running the sudo/bin/bash command doesn’t seem to give any output…..?
root@raspberrypi:/home/pi/domoticz/scripts# sudo /bin/bash
root@raspberrypi:/home/pi/domoticz/scripts#



I also added de Domoticz ...
by siebke
Wednesday 31 August 2016 12:35
Forum: Bash / PowerShell / Batch etc.
Topic: Ultimate Wifi and Bluetooth Presence Detection
Replies: 84
Views: 50247

Re: Ultimate Wifi and Bluetooth Presence Detection

Hi,

Really liked the presence detection script but somehow it doesn’t seems to work the right way. The output I’m getting is:

pi@raspberrypi:~/domoticz/scripts$ sudo ./iphone_roger.sh
./iphone_roger.sh: 1: ./iphone_roger.sh: #!/bin/bash: not found
./iphone_roger.sh: 25: ./iphone_roger.sh ...