Use OTMonitor on RasPi to log data to Thingspeak

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: Use OTMonitor on RasPi to log data to Thingspeak

Post by timoline »

hvxl wrote:The topic is about otmonitor on a Raspberry Pi. So the information I provided is indeed for a linux system.
Yes you're correct, sorry for hijacking
hvxl wrote: It is possible to use a configuration file on Windows, rather than the default of storing the settings in the registry. To do that you have to start otmonitor with the -f command line option.
Yes I know i can use the -f option on windows

But there is a missing piece when you want to use otmonitor on a raspberry without gui
There is no way to create a config file with the gui-less raspberry (maybe by editing the conf file manually?)
So the other way is to change all the settings on the windows version, but there is no way to export it (or copy the config because its in the registry)
(i know i can setup a linux system with gui, which solve the problem, but I don't want to setup a linux system especially for creating a conf file.

I hope you understand the situation :roll:
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Use OTMonitor on RasPi to log data to Thingspeak

Post by hvxl »

timoline wrote:I hope you understand the situation :roll:
I don't. You say you know that you can use the -f option on windows. That gives you a way to create a config file on windows. That file will work on a Raspberry Pi. So what's the missing piece?
timoline wrote:I don't want to setup a linux system especially for creating a conf file.
Then set it up for daily use! :twisted:
Schelte
timoline
Starting Member
Starting Member
Posts: 34
Joined: Sat Nov 07, 2015 2:30 pm

Re: Use OTMonitor on RasPi to log data to Thingspeak

Post by timoline »

:shock:
Then it must be a bug or something.....there is no way otmonitor.exe creates a conf file on windows

Code: Select all

D:\otm>otmonitor.exe -f "D:\otm\my.conf"
It just does not creates a "D:\otm\my.conf"
If I create an empty my.conf and start the above command, it doesn't save any data to it...
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Use OTMonitor on RasPi to log data to Thingspeak

Post by hvxl »

Use either:
  • otmonitor --configfile my.conf
or:
  • otmonitor -- -f my.conf
Schelte
timoline
Starting Member
Starting Member
Posts: 34
Joined: Sat Nov 07, 2015 2:30 pm

Re: Use OTMonitor on RasPi to log data to Thingspeak

Post by timoline »

ok thx, that works perfect :)
Post Reply

Return to “Opentherm Gateway Forum”