Use OTMonitor on RasPi to log data to Thingspeak

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

Moderator: hvxl

Re: Use OTMonitor on RasPi to log data to Thingspeak

Postby timoline » Wed Nov 18, 2015 6:58 pm

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:
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Re: Use OTMonitor on RasPi to log data to Thingspeak

Postby hvxl » Wed Nov 18, 2015 9:35 pm

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
hvxl
Senior Member
Senior Member
 
Posts: 1201
Joined: June 2010

Re: Use OTMonitor on RasPi to log data to Thingspeak

Postby timoline » Wed Nov 18, 2015 10:21 pm

: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...
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Re: Use OTMonitor on RasPi to log data to Thingspeak

Postby hvxl » Wed Nov 18, 2015 11:17 pm

Use either:
    otmonitor --configfile my.conf
or:
    otmonitor -- -f my.conf
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1201
Joined: June 2010

Re: Use OTMonitor on RasPi to log data to Thingspeak

Postby timoline » Thu Nov 19, 2015 5:43 am

ok thx, that works perfect :)
timoline
Starting Member
Starting Member
 
Posts: 33
Joined: November 2015

Previous

Return to Opentherm Gateway Forum

Who is online

Users browsing this forum: No registered users and 1 guest