Page 2 of 2
Re: Use OTMonitor on RasPi to log data to Thingspeak
Posted: Wed Nov 18, 2015 7:58 pm
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

Re: Use OTMonitor on RasPi to log data to Thingspeak
Posted: Wed Nov 18, 2015 10:35 pm
by hvxl
timoline wrote:I hope you understand the situation

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!

Re: Use OTMonitor on RasPi to log data to Thingspeak
Posted: Wed Nov 18, 2015 11:21 pm
by timoline
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...
Re: Use OTMonitor on RasPi to log data to Thingspeak
Posted: Thu Nov 19, 2015 12:17 am
by hvxl
Use either:
- otmonitor --configfile my.conf
or:
Re: Use OTMonitor on RasPi to log data to Thingspeak
Posted: Thu Nov 19, 2015 6:43 am
by timoline
ok thx, that works perfect
