Opentherm Monitor - Custom web pages

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

Moderator: hvxl

timoline
Starting Member
Starting Member
Posts: 34
Joined: Sat Nov 07, 2015 2:30 pm

Re: Opentherm Monitor - Custom web pages

Post by timoline »

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

thanks
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Opentherm Monitor - Custom web pages

Post by hvxl »

Yes, you should be able to access the cfg array from a *.tmpl file, just like you access the gui array.
Schelte
timoline
Starting Member
Starting Member
Posts: 34
Joined: Sat Nov 07, 2015 2:30 pm

Re: Opentherm Monitor - Custom web pages

Post by timoline »

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: 34
Joined: Sat Nov 07, 2015 2:30 pm

Re: Opentherm Monitor - Custom web pages

Post by timoline »

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: 34
Joined: Sat Nov 07, 2015 2:30 pm

Re: Opentherm Monitor - Custom web pages

Post by timoline »

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..?
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Opentherm Monitor - Custom web pages

Post by hvxl »

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
timoline
Starting Member
Starting Member
Posts: 34
Joined: Sat Nov 07, 2015 2:30 pm

Re: Opentherm Monitor - Custom web pages

Post by timoline »

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 :-)
Bororo
Member
Member
Posts: 64
Joined: Mon Jan 31, 2011 11:20 am
Contact:

Re: Opentherm Monitor - Custom web pages

Post by Bororo »

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
Opentherm Monitor v.4.3 error
Opentherm Monitor v.4.3 error
Otm43_error.PNG (105.72 KiB) Viewed 8059 times
Stingone
Starting Member
Starting Member
Posts: 8
Joined: Sun Nov 01, 2015 1:49 am

Re: Opentherm Monitor - Custom web pages

Post by Stingone »

Same error here on 3 laptops :(
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Opentherm Monitor - Custom web pages

Post by hvxl »

Apparently I still had some half-finished code left in there. Please let me know whether 4.3.0.1 fixes the problem.
Schelte
Stingone
Starting Member
Starting Member
Posts: 8
Joined: Sun Nov 01, 2015 1:49 am

Re: Opentherm Monitor - Custom web pages

Post by Stingone »

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
PietjeNL
Member
Member
Posts: 150
Joined: Sun May 30, 2010 8:47 am

Re: Opentherm Monitor - Custom web pages

Post by PietjeNL »

Strange, because i still get a error message.
Attachments
error.jpg
error.jpg (91.88 KiB) Viewed 7892 times
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Opentherm Monitor - Custom web pages

Post by hvxl »

Next attempt: 4.3.0.2.
Schelte
Bororo
Member
Member
Posts: 64
Joined: Mon Jan 31, 2011 11:20 am
Contact:

Re: Opentherm Monitor - Custom web pages

Post by Bororo »

Just to confirm that 4.3.0.1 and 4.3.0.2 working on my windows 10 machine.
Thank you very much Schelte
Stingone
Starting Member
Starting Member
Posts: 8
Joined: Sun Nov 01, 2015 1:49 am

Re: Opentherm Monitor - Custom web pages

Post by Stingone »

Same here working both :)
Post Reply

Return to “Opentherm Gateway Forum”