Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 10 online users. » 0 Member(s) | 8 Guest(s) Bing, Yandex
|
Latest Threads |
SIP Stopped Working After...
Forum: Report a problem
Last Post: dan
2024 Dec 16, 04:19 PM
» Replies: 6
» Views: 201
|
Master keeps resetting to...
Forum: Report a problem
Last Post: DavidCNZ
2024 Dec 04, 08:57 PM
» Replies: 12
» Views: 221
|
installation fails
Forum: Installation and set up questions
Last Post: dan
2024 Nov 20, 06:52 PM
» Replies: 4
» Views: 73
|
Allow plugins ability to ...
Forum: Feature requests
Last Post: jonathan
2024 Aug 11, 10:56 PM
» Replies: 11
» Views: 468
|
Tank Fill Function
Forum: Feature requests
Last Post: dan
2024 Jul 12, 03:07 PM
» Replies: 3
» Views: 258
|
Curl Method Menu
Forum: Installation and set up questions
Last Post: astrogerard
2024 Jun 22, 03:15 PM
» Replies: 4
» Views: 322
|
Module i2c relay.
Forum: Feature requests
Last Post: litronas
2024 Jun 22, 12:45 PM
» Replies: 5
» Views: 372
|
problem after upgrade to ...
Forum: Installation and set up questions
Last Post: Darek
2024 May 19, 08:54 PM
» Replies: 2
» Views: 248
|
Monthly Adjust per Statio...
Forum: Writing plugins
Last Post: cdesouza
2024 Apr 18, 06:33 AM
» Replies: 17
» Views: 833
|
MQTT Plugin initialised b...
Forum: Report a problem
Last Post: cdesouza
2024 Mar 25, 03:56 PM
» Replies: 2
» Views: 225
|
|
|
Master keeps resetting to standard station |
Posted by: DavidCNZ - 2024 Nov 28, 07:10 AM - Forum: Report a problem
- Replies (12)
|
|
Hi,
I've been trying to troubleshoot why my schedule isn't working at all after a Winter hiatus. I have been regularly updating even though it hasn't been in use. I've run a multi-meter across the master output while it should be running but get no output, however the selected station gives me ~ 24VAC.
After investigating I found the Master was no longer set as a master so I changed that in the settings and saved it but it still fails, if I reset or reboot it reverts to being a standard station so I think this is a software issue rather than hardware. Any ideas anyone? Is there a config file I can edit directly to set it as a master?
Thank you
David
|
|
|
installation fails |
Posted by: mrbeezer@gmail.com - 2024 Nov 20, 02:34 AM - Forum: Installation and set up questions
- Replies (4)
|
|
I have a pi model B. I had an old version of sip running for years then I had a power outage. the system and sdcard crashed. I installed the latest OS on a 32G card
issues with installing the current version of SIP. The script file loads the menu and then nothing.
i tried using git clone to the opt directory and got this error:
File "/usr/lib/python3/dist-packages/RPi/GPIO/__init__.py", line 428, in _get_rpi_info
raise NotImplementedError(
NotImplementedError: This module does not understand old-style revision codes
any ideas? I have tried python, git and libs update to no avail.
Thanks
|
|
|
Allow plugins ability to augment the html displays? |
Posted by: jonathan - 2024 Jul 09, 12:29 AM - Forum: Feature requests
- Replies (11)
|
|
Hi Dan,
I've written a plugin that logs the water pressure for the system, and displays a graph of that on the home page, so it's easy to correlate with the history. It seems to be working pretty well, but I needed more access to the home page html than seems to be offered by the plugin architecture.
I believe the limits of the plugin architecture WRT the display, are adding completely new pages, adding a bit of text to the footer, or adding to the status text on the timeline. Did I miss something or is this really the limit?
In order to display the graph I want to insert and populate an additional table row in the schedule table, aligned with the program display for system maintenance purposes. Right now I manually add a <script src="..."> tag to home.html, and use this to attach events to generate the UI changes (jQuery listeners and DOM MutationObservers).
Maintaining even this single line of code different from the trunk isn't ideal, so I started thinking about a more general way to accomplish this. For instance adding a global variable which would contain a list of scripts to inject, something like:
gv.plugin_scripts = [];
Each plugin could augment register the need to inject scripts into the home page by populating this variable:
gv.plugin.append(["home", "pressure_monitor.js"]);
When any UI page is loaded, it would check for any relevant script injection requests and process them. The result in this case would be to generate a <script src="static/scripts/pressure_monitor.js"></script> tag in the home page.
WDYT? Would this be granting too much power to plugin developers?
- Jonathan
|
|
|
Tank Fill Function |
Posted by: Staticxsoil - 2024 Jul 07, 02:41 PM - Forum: Feature requests
- Replies (3)
|
|
I have rainwater collection at my house with tanks at the downspouts and 150 gallons of storage located in a greenhouse in my garden. I would like to be able to use float switches that in the greenhouse tanks to fill the greenhouse tanks automatically each day with the float ensuring that I don't lose water due to overflow since my greenhouse is downhill from the house. additionally I would like to prevent the pump from running if the water level is too low. I believe the water level low situation can be handled by the rain sensor function but I have not found a way to automate the filling function.
Ideally the logic behind this function would be:
If water level = low then run pump for 30 seconds
if max runtime not exceeded loop.
I am not versed in python but I'm willing to try to learn
|
|
|
Module i2c relay. |
Posted by: litronas - 2024 Jun 11, 06:47 AM - Forum: Feature requests
- Replies (5)
|
|
Hello, the other day I found i2c relay modules, 16 relays and XL9535, in Chinese stores. And it would be great if someone wrote a complement, because it would greatly simplify the construction of projects, thank you and great job.
|
|
|
problem after upgrade to new verion |
Posted by: Darek - 2024 May 16, 08:15 PM - Forum: Installation and set up questions
- Replies (2)
|
|
Hi,
I've just upgraded to the newest SIP version and I have the following problem:
Traceback (most recent call last):
File "sip.py", line 334, in <module>
app.run()
File "sip.py", line 253, in run
return web.httpserver.runsimple(func, (ip, port))
File "/home/pi/SIP/web/httpserver.py", line 167, in runsimple
server = WSGIServer(server_address, func)
File "/home/pi/SIP/web/httpserver.py", line 188, in WSGIServer
from cheroot import wsgi
File "/home/pi/SIP/cheroot/wsgi.py", line 33, in <module>
import six
ImportError: bad magic number in 'six': b'\x03\xf3\r\n'
SSD1306 plugin: active
Any Help ?
|
|
|
SIP Stopped Working After Update |
Posted by: AndreSmith76 - 2024 May 14, 03:12 PM - Forum: Report a problem
- Replies (6)
|
|
After attempting to update SIP software from my Pi's SIP page, SIP no longer functions and shows the following error when attempting to run sudo python sip.py:
Trackback (most recent call last):
File "sip.py", line 21, in <module>
import gv
File "/home/pi/SIP/gv.py", line 22
ver_str = f"{major_ver}.{minor_ver}.{revision - old_count}"
SyntaxError: invalid syntax
I was hoping to please get some help or feedback making my system work again? This system was running fine for 3 years until I attempted this update.
Andre'
|
|
|
MQTT Plugin initialised before network |
Posted by: cdesouza - 2024 Mar 20, 09:20 PM - Forum: Report a problem
- Replies (2)
|
|
After a reboot the MQTT plugin is intialised before the network is up, more specifically before dhcp has assigned an address
Code: Mar 20 22:09:04 sip dhcpcd[364]: wlan0: rebinding lease of xxx.xxx.xxx.xxx
Mar 20 22:09:04 sip dhcpcd[364]: wlan0: probing address xxx.xxx.xxx.xxx/24
Mar 20 22:09:04 sip sip[456]: MQTT plugin couldn't initalize client: [Errno 101] Network is unreachable
Mar 20 22:09:04 sip sip[456]: Ignoring exception while loading the telegramBot plug-in.
Mar 20 22:09:04 sip sip[456]: No module named 'telegram'
Mar 20 22:09:05 sip sip[456]: plugins loaded:
Mar 20 22:09:05 sip sip[456]: advance_control
Mar 20 22:09:05 sip sip[456]: backup_settings
Mar 20 22:09:05 sip sip[456]: mobile_app
Mar 20 22:09:05 sip sip[456]: moisture_sensor_control
Mar 20 22:09:05 sip sip[456]: moisture_sensor_data_mqtt
Mar 20 22:09:05 sip sip[456]: mqtt
Mar 20 22:09:05 sip sip[456]: plugin_manager
Mar 20 22:09:05 sip sip[456]: relay_board
Mar 20 22:09:05 sip sip[456]: schedule_data_collector
Mar 20 22:09:05 sip sip[456]: shutdown_button
Mar 20 22:09:05 sip sip[456]: simple_chart
Mar 20 22:09:05 sip sip[456]: system_update
Mar 20 22:09:05 sip sip[456]: Starting timing loop
Mar 20 22:09:05 sip dhcpcd[364]: wlan0: Router Advertisement from xxxx::xxxx:xxxx:xxxx:xxxx
Mar 20 22:09:05 sip dhcpcd[364]: wlan0: adding address xxxx::xxxx:xxxx:xxxx:xxxx /64
Mar 20 22:09:05 sip kernel: ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms inste>
Mar 20 22:09:05 sip dhcpcd[364]: wlan0: adding route to xxxx::xxxx:xxxx:xxxx:xxxx ::/64
Mar 20 22:09:05 sip dhcpcd[364]: wlan0: requesting DHCPv6 information
|
|
|
Update to a new plugin version |
Posted by: cdesouza - 2024 Mar 15, 01:40 PM - Forum: Installation and set up questions
- Replies (2)
|
|
If there is a newer version of a plugin available how do I install it?
As far as I can see UPDATE ENABLED only enables/disables plugins by changing the .py file permissions. So the only way is to uninstall the plugin and reinstall it, losing the setting in the process.
In plugin_manager.py should update_plugins() not call install_plugins() one way or another?
Another option might be to have three separate functions Enable/Disable, Update and Uninstall
|
|
|
|