storvik / pythonremote Goto Github PK
View Code? Open in Web Editor NEWPython port of Autoremote plugin by João Dias.
Python port of Autoremote plugin by João Dias.
First of all, thanks for the awesome script. Secondly, while being in the process of configuring my computer i decided to delete the config files and start from scratch.
I input pythonremote --reset and i stumbled upon the following error:
" subprocess.call(['rm', config_path + 'autoremote.json'])
NameError: name 'subprocess' is not defined"
I avoided that message by writing "import subprocess" in the pythonremote.py file.
Perhaps that is of some help.
Greetings
Hello again,
I now have your script working with openhab on my server, so I can get autoremote messages or notifications when my house needs to let me know what's up... :-)
Two things:
What is the best way to have more than one word as the title or message? I'm trying to call the script from executeCommand within openhab, and using double quotes doesn't seem to work, even if I escape them...
Also, do you think there could be a way to implement some of the other message and notification options?
Like icon, action on tap, action on receive, vibration pattern etc?
I envisage setting them up as options in config, but even better would be they could be called as command line arguments :-D
Cheers!
Hello again,
Great work on updating to include sending notifications.
I had forked your repo with intention of trying to do so, but glad you did :)
Only problem, I am now getting an error when try to run:
Traceback (most recent call last):
File "pythonremote.py", line 107, in
print_indata()
NameError: name 'print_indata' is not defined
Note that this only happens when trying to run the pythonremote.py script itself (as python3 pythonremote.py). If I call it using parameters it works fine.
Cheers.
Hi there.
Thanks for your work on this, I suspect I am going to find it very helpful!
I am having some problems with setup...
I have tried to add the link to my PATH but getting an error. This is the ln command I tried:
ln -s /volume1/homes/mark/scripts/pythonremote/pythonremote.py /usr/bin/pythonremote
With autoremoteserver command I get 'autoremoteserver: not found'
I have the script running if In use python3 pythonremote.py.
What is the id that is requested in the configuration steps?
Any suggestions? Thanks again!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.