Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wi-Fi relays for more flexibility and PUMPs
#7
(2022 Sep 29, 02:09 PM)pedrosantos009 Wrote:
(2022 Sep 26, 06:20 PM)dan Wrote: Hi Pedro,

The number of stations is variable. Under Optoins > Station handling you can increase the number of stations by increasing the number of Station extensions. Each extension of 1 will add 8 stations. On the Stations page you can control how many stations are displayed in the UI with the "Enabled" check boxes. See the pcf857x_plugin for a way to add a large number of stations while using just a few GPIO pins.

- The existing cli_control plugin can be used to send http commands.
- There are also several MQTT Plugins.
- You can set a Master station on the Options page under Configure Master to control a pump
- Not sure what you mean by "to have weather in the valve´s NODE". There is a weather plugin though.
- You can disable the GPIO pins with the variable "gv.use_gpio_pins = True Controls SIP's use of the GPIO pons, Set = False to disable. See the gv_reference.txt file in the SIP directory for information about SIP's variables.

It is best to create a plugin to add new features but if you find a need to change the core program you can always fork the SIP project and submit a pull request on GitHub.

Dan

Hi,

Thanks for the tips Dan, with them I have more ideas to do plugs-in. I think i don´t need to change the core. I analyse same code from cli_control and now figure out how to solve the problem. Now I start to implement the code, I hope soon have more news.
Where is the best place (repository) to put new plug-ins to share to the community?

Pedro Santos

The plugins are in a separate GitHub repository at:
https://github.com/Dan-in-CA/sip_plugins

You can fork the repository and when you have a plugin to share make a pull request to the main repository.

I am working on a Python3 only version of SIP that should be ready very soon so you can make your plugins for Python3 only.

Be sure to look at the proto plugin. It is designed to be a starting point for new plugins.

Dan
<p><br></p>
Reply


Messages In This Thread
RE: Wi-Fi relays for more flexibility and PUMPs - by dan - 2022 Sep 29, 02:19 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)