Opentherm Monitor - Custom web pages

This Forum is about the Opentherm gateway (OTG) from Schelte

Moderator: hvxl

Re: Opentherm Monitor - Custom web pages

Postby timoline » Sat Nov 07, 2015 1:35 pm

Hello,
Is there a way to manipulate the global cfg array, so we can create a settings page ?

thanks
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Re: Opentherm Monitor - Custom web pages

Postby hvxl » Sat Nov 07, 2015 4:55 pm

Yes, you should be able to access the cfg array from a *.tmpl file, just like you access the gui array.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1223
Joined: June 2010

Re: Opentherm Monitor - Custom web pages

Postby timoline » Sat Nov 07, 2015 8:50 pm

hvxl wrote:Yes, you should be able to access the cfg array from a *.tmpl file, just like you access the gui array.


Accessing the global cfg array is no problem, but I need a small example to change(manipulate) the values (in a html form).
Is it possible for you to give a little example, with 2 or 3 fields?
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Re: Opentherm Monitor - Custom web pages

Postby timoline » Sun Nov 08, 2015 11:33 am

Here is what I created so far:
https://github.com/timoline/OTGW

I refactored the web pages with bootstrap 3 and jquery

Keep in mind this is a very early alpha version and I cant test it for real......because I don't own a Opentherm Gateway yet. :D

Have fun with it....and of course, if you want to help.....you're welcome
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Re: Opentherm Monitor - Custom web pages

Postby timoline » Fri Nov 13, 2015 4:14 pm

Unfortunately, adding the settings (web)pages is a bit harder then I thought it would be... :oops: :roll:
Especially this is my first try ever with TCL and there is no good framework for web-forms (that I know)

Still not sure it works correct when changing the cfg array, maybe it should be saved to the config file too..?
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Re: Opentherm Monitor - Custom web pages

Postby hvxl » Fri Apr 08, 2016 3:12 pm

I have just posted otmonitor version 4.3 on the otgw site. This version adds the possibility to configure most settings through the web interface. This new functionality has not been exhaustively tested, so use at your own risk. Please let me know if you run into any issues.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1223
Joined: June 2010

Re: Opentherm Monitor - Custom web pages

Postby timoline » Sat Apr 09, 2016 7:52 am

hvxl wrote:I have just posted otmonitor version 4.3 on the otgw site. This version adds the possibility to configure most settings through the web interface. This new functionality has not been exhaustively tested, so use at your own risk. Please let me know if you run into any issues.


First impressions..... looking great, thx :-)
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Re: Opentherm Monitor - Custom web pages

Postby Bororo » Sat Apr 09, 2016 9:12 pm

Hi Schelte,
how to use v4.3 on Windows?
Do I need to configure something prior to run v4.3?
Many thanks in advance.
Attachments
Otm43_error.PNG
Opentherm Monitor v.4.3 error
Otm43_error.PNG (105.72 KiB) Viewed 4123 times
Bororo
Starting Member
Starting Member
 
Posts: 33
Joined: January 2011

Re: Opentherm Monitor - Custom web pages

Postby Stingone » Sun Apr 10, 2016 2:42 pm

Same error here on 3 laptops :(
Stingone
Starting Member
Starting Member
 
Posts: 8
Joined: November 2015

Re: Opentherm Monitor - Custom web pages

Postby hvxl » Sun Apr 10, 2016 4:13 pm

Apparently I still had some half-finished code left in there. Please let me know whether 4.3.0.1 fixes the problem.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1223
Joined: June 2010

Re: Opentherm Monitor - Custom web pages

Postby Stingone » Sun Apr 10, 2016 6:24 pm

hvxl wrote:Apparently I still had some half-finished code left in there. Please let me know whether 4.3.0.1 fixes the problem.


Works :D many Thx
Stingone
Starting Member
Starting Member
 
Posts: 8
Joined: November 2015

Re: Opentherm Monitor - Custom web pages

Postby PietjeNL » Tue Apr 12, 2016 2:02 pm

Strange, because i still get a error message.
Attachments
error.jpg
error.jpg (91.88 KiB) Viewed 3956 times
PietjeNL
Member
Member
 
Posts: 150
Joined: May 2010

Re: Opentherm Monitor - Custom web pages

Postby hvxl » Wed Apr 13, 2016 8:07 pm

Next attempt: 4.3.0.2.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1223
Joined: June 2010

Re: Opentherm Monitor - Custom web pages

Postby Bororo » Fri Apr 15, 2016 9:47 am

Just to confirm that 4.3.0.1 and 4.3.0.2 working on my windows 10 machine.
Thank you very much Schelte
Bororo
Starting Member
Starting Member
 
Posts: 33
Joined: January 2011

Re: Opentherm Monitor - Custom web pages

Postby Stingone » Sat Apr 16, 2016 9:31 am

Same here working both :)
Stingone
Starting Member
Starting Member
 
Posts: 8
Joined: November 2015

PreviousNext

Return to Opentherm Gateway Forum

Who is online

Users browsing this forum: No registered users and 1 guest