Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 762
» Latest member: johnsonfe
» Forum threads: 298
» Forum posts: 1,684

Full Statistics

Online Users
There are currently 26 online users.
» 0 Member(s) | 26 Guest(s)

Latest Threads
installation fails
Forum: Installation and set up questions
Last Post: mrbeezer@gmail.com
9 hours ago
» Replies: 5
» Views: 95
SIP Stopped Working After...
Forum: Report a problem
Last Post: dan
2024 Dec 16, 04:19 PM
» Replies: 6
» Views: 221
Master keeps resetting to...
Forum: Report a problem
Last Post: DavidCNZ
2024 Dec 04, 08:57 PM
» Replies: 12
» Views: 254
Allow plugins ability to ...
Forum: Feature requests
Last Post: jonathan
2024 Aug 11, 10:56 PM
» Replies: 11
» Views: 489
Tank Fill Function
Forum: Feature requests
Last Post: dan
2024 Jul 12, 03:07 PM
» Replies: 3
» Views: 267
Curl Method Menu
Forum: Installation and set up questions
Last Post: astrogerard
2024 Jun 22, 03:15 PM
» Replies: 4
» Views: 335
Module i2c relay.
Forum: Feature requests
Last Post: litronas
2024 Jun 22, 12:45 PM
» Replies: 5
» Views: 390
problem after upgrade to ...
Forum: Installation and set up questions
Last Post: Darek
2024 May 19, 08:54 PM
» Replies: 2
» Views: 257
Monthly Adjust per Statio...
Forum: Writing plugins
Last Post: cdesouza
2024 Apr 18, 06:33 AM
» Replies: 17
» Views: 874
MQTT Plugin initialised b...
Forum: Report a problem
Last Post: cdesouza
2024 Mar 25, 03:56 PM
» Replies: 2
» Views: 236

 
  Enable/Disable Stations
Posted by: danny_aka_rudy - 2019 May 23, 03:52 PM - Forum: Feature requests - Replies (1)

It would be nice to be able to enable/disable stations through the API similar to how we can start/stop stations through the API.

Print this item

  OpenWeatherMap plugins now available
Posted by: dan - 2019 May 22, 06:08 PM - Forum: Announcements - No Replies

The weather_adj and weather_level_adj plugins have been updated to use OpenWeatherMap.

They have not been fully tested yet but the developer is happy to receive feedback. You can post feedback on the SIP Plugins GitHub repo at:
https://github.com/Dan-in-CA/sip_plugins/pull/33

Print this item

  MQTT with home assistant
Posted by: takezo - 2019 May 17, 01:06 PM - Forum: Plugin questions - Replies (1)

hi there!

i have configured HASS with MQTT server + Mosquito. I would like to know the way to configure and integrate SIP with my currect MQTT server, values are correctly configured into SIP and i can see registered into the system:

Quote:1558097754: New client connected from 192.168.1.224 as SIP (c1, k60, u'alcortwo').,


but i'm not able to see status of up/down service of programs configured..


is there any wiki or detailed procedure to follow and double check if the system works correctly..?


thanks!

Print this item

  Internal Server Error
Posted by: takezo - 2019 May 17, 12:24 PM - Forum: Report a problem - Replies (1)

hi there,

when i try to run manually the program, executing program "run once" i'm getting error  "500 internal server error"

here the log:



Code:
tazo@-sip:~/SIP$ sudo /usr/bin/python  /home/tazo/SIP/sip.py
ALARM from Example_Sender!: Just an example!
Monthly Adjust: Setting water level to 100%
Pressure plugin is active
Waiting...
telegramBot plugin is active
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
plugins loaded:
  mobile_app
  monthly_adj
  mqtt
  mqtt_schedule
  mqtt_slave
  mqtt_zones
  plugin_manager
  pressure_adj
  relay
  relay_board
  signaling_examples
  system_update
  telegramBot
  weather_adj
  weather_level_adj
Starting timing loop

http://:::80/
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53474 - - [17/May/2019 14:19:02] "HTTP/1.1 GET /" - 200 OK
::ffff:192.168.1.214:53474 - - [17/May/2019 14:19:02] "HTTP/1.1 GET /static/images/favicon-16x16.png" - 200
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:03] "HTTP/1.1 GET /api/status" - 200 OK
::ffff:192.168.1.214:53486 - - [17/May/2019 14:19:03] "HTTP/1.1 GET /api/log" - 200 OK
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:04] "HTTP/1.1 GET /api/log" - 200 OK
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:11] "HTTP/1.1 GET /vr" - 200 OK
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:11] "HTTP/1.1 GET /api/log" - 200 OK
Some Stations has been scheduled: [[0, 0, 0, 0], [0, 0, 0, 0], [1558102756, 1558102816, 60, 98], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
Traceback (most recent call last):
  File "/home/takezo/SIP/web/application.py", line 239, in process
    return self.handle()
  File "/home/takezo/SIP/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/home/takezo/SIP/web/application.py", line 423, in _delegate
    return handle_class(cls)
  File "/home/takezo/SIP/web/application.py", line 399, in handle_class
    return tocall(*args)
  File "/home/takezo/SIP/webpages.py", line 386, in GET
    schedule_stations(stations)
  File "/home/takezo/SIP/helpers.py", line 448, in schedule_stations
    report_stations_scheduled()
  File "/home/takezo/SIP/helpers.py", line 61, in report_stations_scheduled
    stations_scheduled.send('SIP',txt=txt)
  File "/home/takezo/SIP/blinker/base.py", line 267, in send
    for receiver in self.receivers_for(sender)]
  File "/home/takezo/SIP/plugins/telegramBot.py", line 227, in notifyStationScheduled
    txt += get_running_programs_rs()
  File "/home/takezo/SIP/plugins/telegramBot.py", line 253, in get_running_programs_rs
    txt += '\n<b>{}</b> - '.format(sname)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 15: ordinal not in range(128)

::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:19] "HTTP/1.1 GET /cr" - 500 Internal Server Error
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:20] "HTTP/1.1 GET /favicon.ico" - 303 See Other
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53522 - - [17/May/2019 14:20:17] "HTTP/1.1 GET /api/log" - 200 OK
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53542 - - [17/May/2019 14:21:19] "HTTP/1.1 GET /api/log" - 200 OK
::ffff:192.168.1.214:53560 - - [17/May/2019 14:22:21] "HTTP/1.1 GET /api/log" - 200 OK

--


apart of this internal error 500 i'm also getting error :


Code:
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"


Any idea..?

thank you so much for your support !!

Print this item

  Problem at restart
Posted by: Ajpul - 2019 May 15, 10:00 PM - Forum: Report a problem - Replies (6)

Hi all,

i'm asking for some help as i installed SIP and i get all stations running for 5 minutes after system reboots when power goes off. Then, station 2 goes on for another 5 minutes, the system behaves normally as defined in programs.

I'm using relay_16 plugin.

Thanks in advance.

Print this item

  Weather
Posted by: esawyja - 2019 May 05, 07:55 AM - Forum: Installation and set up questions - Replies (21)

Hi all,
Does any of the weather plugins work? If so which one and please, how do I use it, how can I run it and see the information that gets back?
Regards

Print this item

  Autostart after boot failing
Posted by: Gazmac52 - 2019 Apr 12, 11:20 PM - Forum: Report a problem - Replies (6)

Hi,
I have followed the directions to start the service automatically. 
However, after reboot the status is this:

pi@irrigate:~ $ systemctl status sip
● sip.service - SIP
   Loaded: loaded (/etc/systemd/system/sip.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2019-04-13 08:59:06 AEST; 1min 8s ago
  Process: 388 ExecStart=/usr/bin/python -u /home/pi/SIP/sip.py (code=exited, status=1/FAILURE)
 Main PID: 388 (code=exited, status=1/FAILURE)

Apr 13 08:59:06 irrigate sip[388]:   File "/home/pi/SIP/sip.py", line 202, in run
Apr 13 08:59:06 irrigate sip[388]:     return web.httpserver.runsimple(func, (ip, port))
Apr 13 08:59:06 irrigate sip[388]:   File "/home/pi/SIP/web/httpserver.py", line 157, in runsimple
Apr 13 08:59:06 irrigate sip[388]:     server.start()
Apr 13 08:59:06 irrigate sip[388]:   File "/home/pi/SIP/web/wsgiserver/__init__.py", line 1753, in start
Apr 13 08:59:06 irrigate sip[388]:     raise socket.error(msg)
Apr 13 08:59:06 irrigate sip[388]: socket.error: No socket could be created
Apr 13 08:59:06 irrigate systemd[1]: sip.service: Main process exited, code=exited, status=1/FAILURE
Apr 13 08:59:06 irrigate systemd[1]: sip.service: Unit entered failed state.
Apr 13 08:59:06 irrigate systemd[1]: sip.service: Failed with result 'exit-code'.

If I do this then all ok:

pi@irrigate:~ $ sudo systemctl start sip
pi@irrigate:~ $ systemctl status sip
● sip.service - SIP
   Loaded: loaded (/etc/systemd/system/sip.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2019-04-13 09:08:40 AEST; 5s ago
 Main PID: 577 (python)
   CGroup: /system.slice/sip.service
           └─577 /usr/bin/python -u /home/pi/SIP/sip.py

Apr 13 09:08:41 irrigate sip[577]:   plugin_manager
Apr 13 09:08:41 irrigate sip[577]:   relay_board
Apr 13 09:08:41 irrigate sip[577]:   signaling_examples
Apr 13 09:08:41 irrigate sip[577]:   system_update
Apr 13 09:08:41 irrigate sip[577]: http://10.0.0.10:80/Starting timing loop
Apr 13 09:08:41 irrigate sip[577]: 10.0.0.155:5688 - - [13/Apr/2019 09:08:41] "HTTP/1.1 GET /rss" - 200 OK
Apr 13 09:08:42 irrigate sip[577]: 10.0.0.155:5688 - - [13/Apr/2019 09:08:42] "HTTP/1.1 GET /rss" - 200 OK
Apr 13 09:08:43 irrigate sip[577]: 10.0.0.155:5688 - - [13/Apr/2019 09:08:43] "HTTP/1.1 GET /rss" - 200 OK
Apr 13 09:08:44 irrigate sip[577]: 10.0.0.155:5688 - - [13/Apr/2019 09:08:44] "HTTP/1.1 GET /rss" - 200 OK
Apr 13 09:08:45 irrigate sip[577]: 10.0.0.155:5688 - - [13/Apr/2019 09:08:45] "HTTP/1.1 GET /rss" - 200 OK
pi@irrigate:~ $

Any help appreciated

Print this item

  How does interval mode react to manual override?
Posted by: msambol - 2019 Apr 08, 12:29 PM - Forum: Installation and set up questions - Replies (5)

Hi, I'm just getting started with SIP, and wondering: if I have programs on interval mode, e.g. run every 3rd day, and then switch to manual mode for a day, how does that impact the interval program? Will it resume its count where it left off, or will it restart the count when transitioning back to auto mode?

Similarly, if the interval program was prevented from activating the system because it was in manual mode that day, will it make up for the missed activation when it resumes?

Thanks.

Print this item

  How to enable HTTPS
Posted by: r.baltasarm - 2019 Mar 09, 09:31 AM - Forum: Installation and set up questions - Replies (9)

Hi all,
I'm interested in enabling https protocol for web interface.
How can I do that?.

Thanks to all.

Print this item

  update does not work for dec
Posted by: jaysix79 - 2018 Dec 20, 01:19 AM - Forum: Installation and set up questions - Replies (1)

New version is available!
Available revision: 3.2.62 (2018-12-07)
Changes:
  50ce4b1 Update default IP.
  540f059 add goHome.js script for restart update.
  4c87b88 Update javascript in restarting.html
  510dc0a Merge pull request #215 from hmoffatt/master
  9d2d49b fix logging to syslog by systemd
  958290d Merge pull request #214 from hmoffatt/master
  618cb3b fix restart without GPIO module
 
New version is available!
Available revision: 3.2.62 (2018-12-07)
Changes:
  50ce4b1 Update default IP.
  540f059 add goHome.js script for restart update.
  4c87b88 Update javascript in restarting.html
  510dc0a Merge pull request #215 from hmoffatt/master
  9d2d49b fix logging to syslog by systemd
  958290d Merge pull request #214 from hmoffatt/master
  618cb3b fix restart without GPIO module
 



this update cause an error

Print this item