No, I use Designer to edit any OpenHAB files since it will show line errors in the file, but I did have to create this one using Notepad. I do have Notepad++, so I’ll use it in the future. I recreated the script in Nano and can view it in Designer with no errors. When I run
-bash: /etc/openhab/configurations/scripts/iPhoneDetect.sh: Permission denied
I tried running it as “sudo /etc/openhab/configurations/scripts/iPhoneDetect.sh”
and I get the error “command not found”. I went to the exact directory to verify the script is there and still get the same error:
pi@raspberrypi:/etc/openhab/configurations/scripts $ ls demo.script iPhoneDetect.original iPhoneDetect.sh README pi@raspberrypi:/etc/openhab/configurations/scripts $ iphoneDetect.sh -bash: iphoneDetect.sh: command not found
Glad it works for you! I would try it, but as I said in my original post, I couldn’t get any items to show up in IFTTT and searching through the forums didn’t have a single post with the solution.