hi,
I'm new to this great project.
I have an rfxcom receiver with usb, and a new NLSU2 with meteohub firmware 1.0 on it, and 1.3e meteohub software.
I have selected rfxcom as interface in settings.
but wmr928 failes to start with this error:
wmr928d (30.11.2007 20:59:41): started.
wmr928d (30.11.2007 20:59:41): failed opening /home/meteohub/rfxcom.conf: No such file or directory
Do I have to configure something else, or create this file?
Linux/SlugOS: 2.6.16
MeteoHub: Version 1.3e (c)2007 by Boris Pasternak, info@meteohub.de
Activation Code: Demo Version, 31 days left
Weather Data Recomputation: completed
Weather Data Logging: stopped
SSH Login: running
SMB Shares: running
Time Synchonization: running
Thanks,
Ron.
Problem getting my meteohub running
Moderator: Mattk
Re:Problem getting my meteohub running
Ok...
I did a touch /home/meteohub/rfxcom.conf
and restarted data logging.
it filled the file with
# generated by meteohub
#
# id code address
and after a while it found my uv sensor...
wmr928d (30.11.2007 21:12:56): unidentified byte sequence: 2c
wmr928d (30.11.2007 21:12:56): sensor of type UVR138 (address 0x79) found, but not defined in config file.
wmr928d (30.11.2007 21:12:56): error while waiting for data from device /dev/ttyUSB0: Interrupted system call
wmr928d (30.11.2007 21:12:57): started.
wmr928d (30.11.2007 21:14:09): unidentified byte sequence: 2c 2c
wmr928d (30.11.2007 21:14:09): sensor of type UVR138 (address 0x79) found, but not defined in config file.
wmr928d (30.11.2007 21:14:59): error while waiting for data from device /dev/ttyUSB0: Interrupted system call
wmr928d (30.11.2007 21:15:00): started.
wmr928d (30.11.2007 21:15:22): unidentified byte sequence: 2c 2c 30 00 f0 d0 7d 0f 00
The last byte sequence is from my rfxcom power sensor..
I did a touch /home/meteohub/rfxcom.conf
and restarted data logging.
it filled the file with
# generated by meteohub
#
# id code address
and after a while it found my uv sensor...
wmr928d (30.11.2007 21:12:56): unidentified byte sequence: 2c
wmr928d (30.11.2007 21:12:56): sensor of type UVR138 (address 0x79) found, but not defined in config file.
wmr928d (30.11.2007 21:12:56): error while waiting for data from device /dev/ttyUSB0: Interrupted system call
wmr928d (30.11.2007 21:12:57): started.
wmr928d (30.11.2007 21:14:09): unidentified byte sequence: 2c 2c
wmr928d (30.11.2007 21:14:09): sensor of type UVR138 (address 0x79) found, but not defined in config file.
wmr928d (30.11.2007 21:14:59): error while waiting for data from device /dev/ttyUSB0: Interrupted system call
wmr928d (30.11.2007 21:15:00): started.
wmr928d (30.11.2007 21:15:22): unidentified byte sequence: 2c 2c 30 00 f0 d0 7d 0f 00
The last byte sequence is from my rfxcom power sensor..
Re:Problem getting my meteohub running
rfxcom.conf has all the assigned sensors in it. If you don't have sensors assigned on the sensor page of meteohub it is normal that rfxcom.conf remains empty (apart from comments).
That your data logging process has been halted puzzles me. Normally this daemon will run continuously. Only when you disconnect the rfxcom, the /dev/ttyUSB0 drops of and therefore the daemon listening to this is quitting himself.
do you still encounter problems with the data logging process? or is it running stable for now?
If the daemon is running, next thing to do will be assignment sensors on the corresponding meteohub page. Which sensors are listed there? None?
That your data logging process has been halted puzzles me. Normally this daemon will run continuously. Only when you disconnect the rfxcom, the /dev/ttyUSB0 drops of and therefore the daemon listening to this is quitting himself.
do you still encounter problems with the data logging process? or is it running stable for now?
If the daemon is running, next thing to do will be assignment sensors on the corresponding meteohub page. Which sensors are listed there? None?
Re:Problem getting my meteohub running
It looked to me like a chicken and egg problem.
rfcom.conf was missing, data logging wouldn't start because of that, and i couldn't look for or assign sensors under the sensors menu item because data logging wasn't running.
After i had create the empty file all started to work.
So either the file is missing from the distribution 1.3e, or the code failed to create it.
All is running ok now. I have data from overnight.
Type # ID Last Signal Sensor Data
UVR138 1 min 0uvi
THGR228N 4 31 sec 7.9° 98%
THGR228N 1 33 sec 8.8° 69%
Will add more sensors today.
Thanks.
rfcom.conf was missing, data logging wouldn't start because of that, and i couldn't look for or assign sensors under the sensors menu item because data logging wasn't running.
After i had create the empty file all started to work.
So either the file is missing from the distribution 1.3e, or the code failed to create it.
All is running ok now. I have data from overnight.
Type # ID Last Signal Sensor Data
UVR138 1 min 0uvi
THGR228N 4 31 sec 7.9° 98%
THGR228N 1 33 sec 8.8° 69%
Will add more sensors today.
Thanks.
Re:Problem getting my meteohub running
looks like you found a bug. will fix this. thanks!
Re:Problem getting my meteohub running
just checked with the code. data logging daemon does abort operation when file not there. fixed this for the next release.