-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web not responding when adding code #5
Comments
I get the same error and think it might be something to do with not opening the database file?
|
@ToolTheFool I had similar problem, i don't remember if exactly like this error I made some changes to the code, try to backup https://drive.google.com/open?id=0B2-DXeKeq1abMGs2YmNsRDJWMEE I changed the following lines (original code is commented out):
|
@williamccc After you click the "+" button, do you see the red light turn on on your RM2? Try pressing the desired remote control button you're trying to learn within 5 seconds of clicking the "+". @ToolTheFool Were you able to get it working? It sounds like RM Control could not automatically create the database file (could be a weird permissions thing). Do you see a file called |
@ericmagnuson I have checked and there is no rmcontrol.db file, so there must be something preventing its creation such as permissions as you suggested. Have you any ideas how to overcome this? What permissions need changing on what files etc. |
@ericmagnuson No the red light didn't turn on after pressing the "+" button |
@williamccc Hmm, ok. That makes it sound like RM Control is completely unable to talk with your device. (Disclaimer: I'm not a python pro, so I my be wrong in assessing your error.) Is your RM on the same network as the server/computer RM Control is running on? I will see if I can replicate your error on my own setup. If you'd like, I can chat with you in person (Skype, FB, Whatsapp, etc) to see if we can get it working. |
@ToolTheFool For those with no rmcontrol.db file, I had the same issue. I am running this on a Raspberry Pi. But since I cannot log in as root, I have to use the default pi user. But the folders created by the installation etc belong to root:root . So I chown -R pi:pi /home/rmcontrol/* and it then allowed me to execute the export command. That created the database file. |
@ericmagnuson How does rmcontrol know how to connect to the RM 2 device? Is there a configuration we need to do to tell it? Like maybe the IP address or MAC address? |
@ericmagnuson Does the RM2 need to be plugged into the machine running rmcontrol? |
@ericmagnuson My RM Pro and RM Control run on the same wifi network. RM Control runs on Raspberry Pi 3 which runs Raspbian. |
@luketoh I know you've since got it working, but I'll still respond for others that run into this problem. The RM only needs to be on the same network as the machine running RM Control. Thanks to the underlying python lib that talks to your RM, it will automatically detect it on your network without any setup. |
@williamccc It looks like RM Control is having a hard time finding your RM device on the network. Do both devices have IPs on the same subnet? |
When adding a command by pressing the "+" button, there is an error in the console.
Any clue to fix this? Thank you!
The text was updated successfully, but these errors were encountered: