Zenap

Forum regarding Linux Software and Home Automation Domotica.
Post Reply
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Zenap

Post by Snelvuur »

Yes you read it correctly, zenap. I would like to try and create a php interface (gui) for xpl-perl. Which still uses the zenah rules engine since its solid.

This will only involve a gui which can control lights and other controls + graphs and statistics. Admin part maybe later but not in this scope.

I've set up a trac system (svn). Initial docs should come in on http://wiki.binkey.nl/Zenap

Maybe you have idea's for now on the beginnings of it all. For now i was thinking about using smarty to create simple templates with php. Which also should create an easy way to give it different language support too.

What are your thougts?

// Erik (binkey.nl)
Jfn
Member
Member
Posts: 332
Joined: Tue Feb 26, 2008 2:01 pm
Location: Netherlands
Contact:

Zenap

Post by Jfn »

The trac system (SVN) is still password-protected, but then again it is still empty, is it not?

And btw, you should add 'http://' to the URL name

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">xxxx@debian:~$ svn co trac.binkey.nl/svn/zenap/trunk zenap
svn: 'trac.binkey.nl/svn/zenap/trunk' does not appear to be a URL
xxxx@debian:~$ svn co http://trac.binkey.nl/svn/zenap/trunk zenap
Authentication realm: <http://trac.binkey.nl:80> SVN - Your Project
Password for 'xxxx':
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">And a PHP frontend to the Zenah rules-engine would be nice and where possible I will try to contribute to its development.

Als het niet kapot is, niet repareren!
Kroonen
Member
Member
Posts: 302
Joined: Mon Oct 01, 2007 6:38 pm
Location: Netherlands

Zenap

Post by Kroonen »

Erik,

It should be nice, i like php more than perl,. Also the integration to mysql database is simply possible. I trying already to put the xpl-rrd values in a database. It also is simple when the configs are webbased.
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Zenap

Post by Snelvuur »

Hmm, now all i need to know is how to make that open for public, while adding should be with password. :) i changed the url, but its a wiki, next time just press edit and change it.

But i rather want idea's on what might be nice to start off with, like smarty for instance is really nice to work with. Maybe there are other additions one would like to see.

// Erik (binkey.nl)
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Zenap

Post by Snelvuur »

Well my idea would be to create a installer for zenap. Where it reads out the db once it was running for some time. So you can select which items you want to use or not use in the displays. Perhaps maybe an option where you can just say what tools you want to use and it will create a script which you can run on the commandline to do all the sv and init scripts and parameters.

Those are just thoughts.. and i know if we have something for php, there are more people here which also know php. Thats also why its important to start with something good.

// Erik (binkey.nl)
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Zenap

Post by Noel »

PHP would be great, but ColdFusion would be best for me :-)
I'm still in the stage of getting hardware things working here
(I will/should move to the new house sometime at the end of this month)
As soon as I have things working here, I will start helping (if still needed)

--
Never start anything you can't fi
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Zenap

Post by Snelvuur »

its always good to get help. then we both can throw up idea's on how to create it. i can do some code, but i'am bad at graphics though.. but that should not be a drawback.

btw, i think you should be able to use svn now anonymous.

If you check it out, see if you can check in stuff too, because i would think you need a password then.

// Erik (binkey.nl)
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Zenap

Post by Snelvuur »

Got my first issue allready.. :) http://zenap.binkey.nl/ doesn't seem to work, i try to create a class which can be included so you can keep the initial php files small. But when i try to move the template settings somewhere else it keeps bugging on the index.tpl which seems in the correct place. Jfn, did you have php experience? I will look deeper though, but allready a day busy on it and i only got this far :) going to be some big project i think hehe.

Trying to keep al paths relative, so you dont have to put a lot of settings in there. maybe it doesn't like that..

Time to sleep.. (btw, i tried to reuse parts of http://www.smarty.net/sampleapp/sampleapp_p1.php which is nice point to start with)

// Erik (binkey.nl)
Post Reply

Return to “Linux Forum”