Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 196 online users. » 0 Member(s) | 196 Guest(s)
|
|
|
Mapping pins |
Posted by: ColinWild - 2019 Jul 07, 01:11 PM - Forum: Plugin questions
- No Replies
|
|
Hello,
I have a raspberry pi zero rev1.1 and have installed the SIP program and have been impressed so far. However, I am trying to get the physical outputs 31,33,35 and 37 to operate as station 1,2,3 and 4 respectfully. I have changed the code in the plugin 'Relay_board.py',
relay_pins = [11,12,13,15,16,18,22,7,3,5,24,26,29,31,32,33,35,36,37,38]
to
relay_pins = [31,33,35,37]
And station 1 operates but the rest do not. I have noticed that if I manually set the pins to outputs via gpio I can manually trigger them so electrically it all works but when I restart the Pi only pin 31 gets set to output and the rest are set to input.
Can anyone suggest a solution or something I should look into?
Thanks
Colin
Its ok, Ive figured it out and it all came down to not reading the instructions
'Relay channels: From the drop-down list select the total number of relay channels you have connected.'
Might help if this was on the actual web page.
|
|
|
Home Page schedule seems to jump days |
Posted by: grbrunson - 2019 Jun 22, 01:39 PM - Forum: Report a problem
- Replies (6)
|
|
When I look at 11PM the next program to run is day after tomorrow. When I look at 2AM that same program displays as running today. The display seems to be confused about when the boundaries of today and tomorrow are. The local time shows correctly in the clock widget.
This is very confusing. Could this be a problem in time zone handling logic? Is the scheduled thread using the same time zone definition as the time picker display widget?
Can anyone suggest a work around for this apparent bug?
-Gordon
|
|
|
programs that traverse the midnight hour |
Posted by: grbrunson - 2019 Jun 18, 11:47 PM - Forum: Installation and set up questions
- Replies (5)
|
|
Our local city does not allow watering until after 6PM, so our old controller was set to start programs at 11PM and run through to the early morning hours.
When I put these programs into my new SIP controller, the Web Home page does not seem to know they run into the early hours of the next day. I can't tell if this is just a problem with the WebUI, or there is a problem with the scheduler, but I'm trying to run two programs -- one that starts in the late evening on one schedule, and a second one that starts in the early morning on a second schedule.
Has any one else run into the problem of trying to run programs that traverse the midnight hour into the next day?
It seems like scheduler.js does not correctly handle the logic of this use case. It should consider any of the programs that are still running from the day before when deciding what to display on the home page.
Any comments?
-Gordon
|
|
|
change webroot possible |
Posted by: astrogerard - 2019 Jun 08, 07:16 PM - Forum: Installation and set up questions
- Replies (3)
|
|
Hi,
I would like to change the webroot from / to /sip
Is this possible by config? I have seen urls.py but changing that seems to be not update proof. Hopefully it can be done without external components.
The reason I ask this is that I'm busy protecting all my services and placing them behind a reverse proxy and use Keycloak for authorization (openid-connect) and 2FA. SIP is one of the last to do and having the services at a separate root would be very helpful.
Thanks,
Gerard
|
|
|
api and other data |
Posted by: danny_aka_rudy - 2019 Jun 07, 08:36 PM - Forum: Installation and set up questions
- Replies (1)
|
|
Is there a way to request other information from the api? For instance whether or not manual mode is enabled?
I've reviewed the API doc and saw that I can change manual mode from the api but not sure how to request what the setting currently is from the api.
|
|
|
Relay_16 not loaded? |
Posted by: hamhog - 2019 Jun 01, 06:02 PM - Forum: Installation and set up questions
- Replies (4)
|
|
Hello,
New to this program and would love to use it but I can't control any relays so far. have used a different relay control program and can open close 2 relays one at GPIO 18 and the other at GPIO 22. I don't think the relay plugin is being loaded. When i open the folder plugins there isn't anything there. I loaded this SIP program as shown on Dan's wiki page and i can go to different screens under the program and even loaded (or so i thought) relay_16 but is that all I need to load?
Thanks in advance for the help.
Bruce
UPDATE: Yes the plugin has been loaded. I changed the directory to /SIP/Plugin and doing a Dir they show up OK.
So I don't know why using SIP in manual control of the relay doesn't work, no relay is being toggled on or off as commanded.
|
|
|
|