I am a noob on Linux but learning .
I installed domoticz on my ds212j. Then i folowed the tuturials for importing the broadlink rm2 on synology. It works if i ssh in the directory where the files learn.py and playcode.py and the code in txt format is located. admin@Diskstation://volume1/@appstore/domoticz/plugins If i run the command from there: python playcode.py screenon.txt it works and my broadlink gives the signal. But when i am on another location and try: python //volume1/@appstore/domoticz/plugins/playcode.py //volume1/@appstore/domoticz/plugins/screenon.txt i get the error no such file or directory. So nothing happens if is enter the pythoncode in domoticz under a dummyswitch: script:///volume1/@appstore/domoticz/plugins/playcode.py //volume1/@appstore/domoticz/plugins/screenon.txt i am just a step away of beiing very happy. Thanx
I am a noob on Linux but learning .
I installed domoticz on my ds212j. Then i folowed the tuturials for importing the broadlink rm2 on synology. It works if i ssh in the directory where the files learn.py and playcode.py and the code in txt format is located. admin@Diskstation://volume1/@appstore/domoticz/plugins If i run the command from there: python playcode.py screenon.txt it works and my broadlink gives the signal. But when i am on another location and try: python //volume1/@appstore/domoticz/plugins/playcode.py //volume1/@appstore/domoticz/plugins/screenon.txt i get the error no such file or directory. So nothing happens if is enter the pythoncode in domoticz under a dummyswitch: script:///volume1/@appstore/domoticz/plugins/playcode.py //volume1/@appstore/domoticz/plugins/screenon.txt i am just a step away of beiing very happy. Thanx
The plugins folder is located in /usr/local/domoticz/var/plugins on synology!
thanx it helped me a lot. I had to do 2 other things, make an .sh script, then chmod =x to make it executable et le voila it works. Hours of noobing @linux but happy now it works, can learn all the codes of the remotes and use domoticz now in stead of the broadlink controller app.