Author Topic: Spec and Requirements for the WebUI  (Read 12876 times)

0 Members and 1 Guest are viewing this topic.

Offline Grafne

  • Global Moderator
  • Full Member
  • *****
  • Posts: 206
  • Karma: 0

+Info

Re: Spec and Requirements for the WebUI
« Reply #15 on: March 15, 2014, 09:43:49 PM »
I am hoping you mean 4 tables not 4 DBS?

Ok so we need to coordinate in db tables. I have deviceType and controllerType with corresponding controller and device tables. We really have to start coordinating on this!

Offline matt20687

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: 0

+Info

  • Gender: Male
    • Control your aquarium with a ReefPi!!
Re: Spec and Requirements for the WebUI
« Reply #16 on: March 15, 2014, 09:48:11 PM »
Oops yep I meant tables lol

I think it would make sense if someone took lead in the WebUI, I really do want to be involved in it but not solely reliant in me, I am starting from scratch so it would be good for some experience to be put into the UI


You want more pie? Have some ReefPi!!!
--------------
Matt

Offline Bigguy

  • Administrator
  • Sr. Member
  • *****
  • Posts: 498
  • Karma: 2

+Info

  • Gender: Male
  • Large Fat and Ugley
    • ReefPI
Re: Spec and Requirements for the WebUI
« Reply #17 on: March 15, 2014, 10:24:53 PM »
i would help dude but in same boat as you
will have a look and ask around i suppose the start is what we want on the first page ?

and the menu structure ?

Offline matt20687

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: 0

+Info

  • Gender: Male
    • Control your aquarium with a ReefPi!!
Re: Spec and Requirements for the WebUI
« Reply #18 on: March 15, 2014, 10:46:57 PM »
Indeed Simon.


You want more pie? Have some ReefPi!!!
--------------
Matt

Offline cio74

  • Administrator
  • Hero Member
  • *****
  • Posts: 523
  • Karma: 1

+Info

Re: Spec and Requirements for the WebUI
« Reply #19 on: March 16, 2014, 11:20:33 AM »
We kind of need someone to step up and deal with this please :)

Offline matt20687

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: 0

+Info

  • Gender: Male
    • Control your aquarium with a ReefPi!!
Re: Spec and Requirements for the WebUI
« Reply #20 on: March 16, 2014, 11:23:58 AM »
I agree. I will pop something on ultimate reef


You want more pie? Have some ReefPi!!!
--------------
Matt

Offline Bigguy

  • Administrator
  • Sr. Member
  • *****
  • Posts: 498
  • Karma: 2

+Info

  • Gender: Male
  • Large Fat and Ugley
    • ReefPI
Re: Spec and Requirements for the WebUI
« Reply #21 on: March 16, 2014, 11:26:50 AM »
ok as the forum is running ok and things have settled down
I plan to do more with the pi
First thing what do i need to install on the pi ?
Then i will hook up the few bits i have see if i can talk to them
once i have done that
i will see if i can get the output to display on a web page
then will try and put some ideas together for the front page
So the first bit what do i need to install on the pi guys

Offline cio74

  • Administrator
  • Hero Member
  • *****
  • Posts: 523
  • Karma: 1

+Info

Re: Spec and Requirements for the WebUI
« Reply #22 on: March 16, 2014, 11:31:32 AM »
You don't need to install much at  the moment.

Install lighttpd along with PHP5 and MySQL.

You should be able to see a basic web page when browsing localhost.

Perhaps you can write a nice 'how to' aboutinstalling the above?

Offline Bigguy

  • Administrator
  • Sr. Member
  • *****
  • Posts: 498
  • Karma: 2

+Info

  • Gender: Male
  • Large Fat and Ugley
    • ReefPI
Re: Spec and Requirements for the WebUI
« Reply #23 on: March 16, 2014, 11:59:03 AM »
sound like a plan
will it run python out of the box then i will reinstall tonight then see if i can image it up so once i have it built i can re wright it back easy could be a way for people to see how it develops
off out in a bit to go and get a wp10 for the smaller tank also found in my draws 2 sets of relays i bought for th Adriano i assume i can use these on the pi :)

Offline cio74

  • Administrator
  • Hero Member
  • *****
  • Posts: 523
  • Karma: 1

+Info

Re: Spec and Requirements for the WebUI
« Reply #24 on: March 16, 2014, 12:02:39 PM »
We use Python for the daemons/applications inside the RPi. Not for web pages. Yet, you need it and the libraries as well. Graeme may write a tutorial about what's required on the Python side?

Those relays will work just fine.

We're looking to find a bit of help with the WebUI so we can move forward the project, Matt becoming busy for the next 2 weeks.

Offline Bigguy

  • Administrator
  • Sr. Member
  • *****
  • Posts: 498
  • Karma: 2

+Info

  • Gender: Male
  • Large Fat and Ugley
    • ReefPI
Re: Spec and Requirements for the WebUI
« Reply #25 on: March 16, 2014, 12:04:12 PM »
yep that fine i will look at web page :) side

Offline matt20687

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: 0

+Info

  • Gender: Male
    • Control your aquarium with a ReefPi!!
Re: Spec and Requirements for the WebUI
« Reply #26 on: March 16, 2014, 12:29:16 PM »
My Pi isn't set up yet but soon can be! Simon if you write a guide I will be your first person to use it!


You want more pie? Have some ReefPi!!!
--------------
Matt

Offline smudge

  • Full Member
  • ***
  • Posts: 127
  • Karma: 0

+Info

  • Gender: Male
Re: Spec and Requirements for the WebUI
« Reply #27 on: March 16, 2014, 05:44:59 PM »
I've got my pi with raspbian installed,  it's hooked up to the pca9685 and the rtc
I've also installed Apache on it and php,  not sure if this is needed or if it will get in way, but for 30 minutes to reinstall raspbian tried it
I also installed a ssh program on to it so I can connect with putty

Offline Grafne

  • Global Moderator
  • Full Member
  • *****
  • Posts: 206
  • Karma: 0

+Info

Re: Spec and Requirements for the WebUI
« Reply #28 on: March 16, 2014, 09:16:23 PM »
No problem on the python tutorial (although (not being pedantic here!) this request should have been posted in a different thread as I almost missed it in here).

I should be setting my RPi this week as got a delivery of bits and pieces.  When I do the software install I will document it and give links etc. is it just PHP for the web theme u are using?

As far as the web development goes I could have a go and also try to teach others. Time is limited so not too sure if I would be able to get it all done.  I did ask on another thread about asking software developers to get involved and got the feeling people would rather learn than have someone else take over.

I think we possibly jumped the gun on the theme. Adding this complexity this early with a very inexperienced team was too much. We should have started with a blank page and found the easiest way to do what we want.

For now a couple of text boxes and some buttons would get us pretty far. The data can be manually entered (or script in the python) to set the RPi up to do what we want i.e control lights based on time and control a heater based on a value from a sensor. Once we have this running we can add nice shiny bits like sliders and graphs...

The most important thing is that we decided how this thing is going to work at a high level. Are we running scripts? Is there a scheduler? Do probes get polled or do they run independently etc etc etc

Offline Bigguy

  • Administrator
  • Sr. Member
  • *****
  • Posts: 498
  • Karma: 2

+Info

  • Gender: Male
  • Large Fat and Ugley
    • ReefPI
Re: Spec and Requirements for the WebUI
« Reply #29 on: March 16, 2014, 09:29:56 PM »
I was thinking the same Just a Blank Page to start with and see how we go from their any input or guidance from anybody is appreciated :)