2018 Jan 18, 05:24 PM
Hi Dean,
Great input!
Just a couple of quick suggestions to help understand the code:
1. You may have already seen the gv_reference.txt file in the SIP directory. If not, it has descriptions of the variables SIP uses. The var names are short and not very descriptive. This is another hold over from the Arduino origin of the code.
2. There is a plugin_adjustment() function in helpers.py line 274. It allows a plugin to adjust the irrigation time.
What are you using to view/edit the code?
I have been using the Eclipse IDE (Oxygen). It is free and has a lot of great features including "Remote system explorer" which lets you browse the folders and files on one or more Pis using SSH. It also has a terminal for communicating with the Pi and of course an editor for working with the code. You can also copy files between a Pi and the host computer or between 2 Pis.
The image below shows the eclipse screen. The left panel is the remote Pi's directory structure, the center panel is the editor, the bottom panel is the terminal and the right panel is an outline of the document that is open in the editor.
I have been thinking about writing a tutorial on setting up Eclipse to program Pis. It is just a matter of finding the time and hoping my wife won't drag me away from the computer.
Dan
Great input!
Just a couple of quick suggestions to help understand the code:
1. You may have already seen the gv_reference.txt file in the SIP directory. If not, it has descriptions of the variables SIP uses. The var names are short and not very descriptive. This is another hold over from the Arduino origin of the code.
2. There is a plugin_adjustment() function in helpers.py line 274. It allows a plugin to adjust the irrigation time.
What are you using to view/edit the code?
I have been using the Eclipse IDE (Oxygen). It is free and has a lot of great features including "Remote system explorer" which lets you browse the folders and files on one or more Pis using SSH. It also has a terminal for communicating with the Pi and of course an editor for working with the code. You can also copy files between a Pi and the host computer or between 2 Pis.
The image below shows the eclipse screen. The left panel is the remote Pi's directory structure, the center panel is the editor, the bottom panel is the terminal and the right panel is an outline of the document that is open in the editor.
I have been thinking about writing a tutorial on setting up Eclipse to program Pis. It is just a matter of finding the time and hoping my wife won't drag me away from the computer.
Dan