Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mqtt plugin question
#13
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
Reply


Messages In This Thread
mqtt plugin question - by astrogerard - 2017 May 21, 07:26 PM
RE: mqtt plugin question - by dan - 2017 May 21, 09:25 PM
RE: mqtt plugin question - by astrogerard - 2017 May 22, 11:23 AM
RE: mqtt plugin question - by dan - 2017 May 22, 08:24 PM
RE: mqtt plugin question - by astrogerard - 2018 Jan 04, 07:59 PM
RE: mqtt plugin question - by dmonty - 2018 Jan 11, 08:01 AM
RE: mqtt plugin question - by dan - 2018 Jan 05, 02:03 AM
RE: mqtt plugin question - by astrogerard - 2018 Jan 05, 08:50 AM
RE: mqtt plugin question - by astrogerard - 2018 Jan 17, 07:13 PM
RE: mqtt plugin question - by dan - 2018 Jan 18, 02:51 AM
RE: mqtt plugin question - by dmonty - 2018 Jan 18, 07:00 AM
RE: mqtt plugin question - by astrogerard - 2018 Jan 22, 03:35 PM
RE: mqtt plugin question - by dmonty - 2018 Jan 18, 08:44 AM
RE: mqtt plugin question - by dan - 2018 Jan 18, 05:24 PM
RE: mqtt plugin question - by dan - 2018 Jan 23, 03:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)