Rimco/OSPy

Documentation for plugins (images..)

Closed this issue · 6 comments

Hi all,
I have a question.
My proposal:
create folder (example help_plugin) and in this folder would put their attachments (pictures png) to the individual plugins ...
For example, in pcf_8591_adj.html would add a reference to a folder (or a pop-up window) where the picture was the connection (connection diagram and circuit) to I2C bus.

Or folder manual for installations next modules in raspi (example gammu, how to enable i2c etd...
example images with circuit for PCF8591:

pcf_8591_circuit

I2C settings for use PCF 8591 plugin:

  1. sudo nano /etc/modules
  2. add
    i2c-bcm2708
    i2c-dev
    save (ctrl+o -> enter)
  3. sudo nano /etc/modprobe.d/raspi-blacklist.conf
    change to:

blacklist spi-bcm2708

blacklist i2c-bcm2708

save (ctrl+o -> enter)
4) test:
sudo apt-get install i2c-tools
sudo i2cdetect -y 1 (for rpi 512 MB)
sudo i2cdetect -y 0 (for rpi 256 MB)

I think it would be useful to others ...
Thanks Martin

I'll come back to this later, we might want to integrate this in a
proper "help" menu or something like that. Then we can also provide some
proper help on the main functionality. There are many ways to do this and
we should investigate the options before we are going to implement it;)

ok, thank you...

Hi,
What is the status of plugins in ospy refactor? loading, documentation, ...

Thank you for the info

Hi,

I didn't have time yet to have a look at the plug-ins. Certainly if we want
to improve the loading (make it dynamic), we will need some investigation
up-front. The core is complete, so plug-ins can be created anyway unless
they need some change to support this dynamic loading.

Hi, thank you for the info ...
This would not use this? http://www.blog.pythonlibrary.org/2012/07/31/advanced-python-how-to-dynamically-load-modules-or-classes/

much python do not understand but I understand electronics :-)
thank you

Documentation is ready :-) thanks...
Martin