Opentherm Monitor - Custom web pages
Moderator: hvxl
Re: Opentherm Monitor - Custom web pages
Hello,
Is there a way to manipulate the global cfg array, so we can create a settings page ?
thanks
Is there a way to manipulate the global cfg array, so we can create a settings page ?
thanks
Re: Opentherm Monitor - Custom web pages
Yes, you should be able to access the cfg array from a *.tmpl file, just like you access the gui array.
Schelte
Re: Opentherm Monitor - Custom web pages
Accessing the global cfg array is no problem, but I need a small example to change(manipulate) the values (in a html form).hvxl wrote:Yes, you should be able to access the cfg array from a *.tmpl file, just like you access the gui array.
Is it possible for you to give a little example, with 2 or 3 fields?
Re: Opentherm Monitor - Custom web pages
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.
Have fun with it....and of course, if you want to help.....you're welcome
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.

Have fun with it....and of course, if you want to help.....you're welcome
Re: Opentherm Monitor - Custom web pages
Unfortunately, adding the settings (web)pages is a bit harder then I thought it would be...
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..?


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..?
Re: Opentherm Monitor - Custom web pages
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
Re: Opentherm Monitor - Custom web pages
First impressions..... looking great, thxhvxl 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.

Re: Opentherm Monitor - Custom web pages
Hi Schelte,
how to use v4.3 on Windows?
Do I need to configure something prior to run v4.3?
Many thanks in advance.
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
- Otm43_error.PNG (105.72 KiB) Viewed 11100 times
Re: Opentherm Monitor - Custom web pages
Same error here on 3 laptops 

Re: Opentherm Monitor - Custom web pages
Apparently I still had some half-finished code left in there. Please let me know whether 4.3.0.1 fixes the problem.
Schelte
Re: Opentherm Monitor - Custom web pages
Workshvxl wrote:Apparently I still had some half-finished code left in there. Please let me know whether 4.3.0.1 fixes the problem.

Re: Opentherm Monitor - Custom web pages
Strange, because i still get a error message.
- Attachments
-
- error.jpg (91.88 KiB) Viewed 10933 times
Re: Opentherm Monitor - Custom web pages
Just to confirm that 4.3.0.1 and 4.3.0.2 working on my windows 10 machine.
Thank you very much Schelte
Thank you very much Schelte
Re: Opentherm Monitor - Custom web pages
Same here working both 
