hvxl / otmonitor

Monitor tool for the OTGW (http://otgw.tclcode.com/)
GNU Lesser General Public License v3.0
27 stars 10 forks source link

Change the mqtt topic for otmonitor #14

Closed fliphess closed 3 years ago

fliphess commented 3 years ago

Hi!

To start: Thanks so much for all your effort on the opentherm gateway and otmonitor! It is a life improver that I daily use :)

I have a question about configuring the mqtt topics in otmonitor.

I'm trying to set the topic for events and actions to something other than the default configured, but for some reason this is not configured/used when starting otmonitor.

I've added the eventtopic and actiontopic to the config in the mqtt{} section, If I read it right, settings those values should work and set in otmonitor.tcl, but for some reason when I go to the configuration settings, this is not the case and the default values are still used.

Is it possible what I'm trying to or do I misinterpret that section of code (I'm a tcl beginner, as in started a few days ago)

fliphess commented 3 years ago

Oh, I'm very sorry for wasting time! (Facepalm moment)

Just right after pressing "comment" I notice the deviceid setting in my config and the code below my example that overrides the configured topics.....