Sennsors error

discussion related to Iomega iConnect and Silverstone DC01 as Meteohub Platform

Moderator: Mattk

Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Sennsors error

Post by Amortalis »

Hello everybody
Hardware Nexus weather station
Meteohub installed on iConnect (without problems)
BUT when I want to add sensors Im getting the following error message

error connect socket 127.0.0.1:5555 :Connection refused
Warning: Data logging has been halted.

Some help will be nice :-)
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Sennsors error

Post by admin »

please update to 4.9d
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

The system was updated before I wanted to add the station and sensors :-(
Secondary
At the station settings, the Nexus is visible for Meteohub but I cant select it (Device is not selectable)... I assume that this is producing the sensors problem...
Attachments
station.JPG
station.JPG (36.88 KiB) Viewed 9536 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Sennsors error

Post by admin »

your settings are fine. device field is just needed for serial and usb serial connections, not usb hid.

Try to place the station differently. Is the console displaying recent data?

What does "meteohub log" on "Log Files" tell us?
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

System log
cat: /data/weather/20*/raw: No such file or directory
expr: division by zero
cat: /data/weather/20*/raw: No such file or directory
cat: /data/weather/20*/raw: No such file or directory
cat: /data/weather/20*/raw: No such file or directory
2012-01-27T22:06:00.289013+01:00 localhost rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c3 as the first rsyslogd option.
2012-01-27T22:06:00.289041+01:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
2012-01-27T22:06:00.289056+01:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
2012-01-27T22:06:00.289073+01:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
cat: /data/weather/20*/raw: No such file or directory
expr: division by zero
Error connect socket 127.0.0.1:5555 :Connection refused
Error connect socket 127.0.0.1:5555 :Connection refused
2012-01-28T09:27:28.602266+01:00 localhost rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c3 as the first rsyslogd option.
2012-01-28T09:27:28.602294+01:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
2012-01-28T09:27:28.602309+01:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
2012-01-28T09:27:28.602326+01:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
cat: /data/weather/20*/raw: No such file or directory
expr: division by zero


Metohub log
logger (28.01.2012 10:55:50): data logger (version 4.9d, build 969) started.
logger (28.01.2012 10:55:51): connect station 0 (TE-923 via USB HID).
logger (28.01.2012 10:55:51): station 0 (TE-923), hardware version 4.
logger (28.01.2012 10:55:52): failed making directory /data/weather/201201: No such file or directory
logger (28.01.2012 10:55:52): disconnect station 0 (TE-923).
logger (28.01.2012 10:55:52): data logger stopped.

SMB Server log
[2011/11/15 10:34:44, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "disable poolss"


I will try to relocate the station, and the console IS displaying data and refreshing the value (done that playing with the wind sensor)
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Sennsors error

Post by admin »

This one kills the data logger process.
logger (28.01.2012 10:55:52): failed making directory /data/weather/201201: No such file or directory
For some reason, the directory structure is not setup correctly.

Could you please browse to "http://ip-of-your-meteohub/cgi-bin/help.cgi" ?
This should open a ssh tunnel to my server, which lets me in to your Meteohub.
May be I can do a hot fix that way.
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

open ssh tunnel to meteohub support
done
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

I let the system up and running till 16 GMT+1
I'm not on-line till then.
Secondary the Meteohub should create a clarity bold single file for interaction with CCD Autopilot software (astronomy application) but till then we have time, but maybe someone will read this post and help (Someone from EQMOD Yahoo forum is using Meteohub for this application but I dont remember his name).
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Sennsors error

Post by admin »

fixed. should work now ok.
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

Ok, back in town
Thanx mate, that was a really fast support.
But, why is there always a "but"?

403 Forbidden
The requested URL '/live/dashboard.html' resolves to a file outside the permitted web server directory tree.

403 Forbidden
The requested URL '/live/wdlive.html' resolves to a file outside the permitted web server directory tree.

403 Forbidden
The requested URL '/live/mwdisplay.html' resolves to a file outside the permitted web server directory tree.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Sennsors error

Post by admin »

looks also like a related error. when you give me access again (I did close the tunnel again), I can give it a second try.
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

access granted
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Sennsors error

Post by admin »

during boot some data gets copied to the ram disk. as data was not there because of the incomplete file system, it has not been copied to the ram disk during last boot.
I did it manually this time. It would have happened correctly on next reboot anyway...

Is fxed, I am waiting for the next "but" ;-)
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

Mate, take your time dont rush me LOL
http://10.0.0.2/live/mwdisplay.html remains empty but thats not a problem.

Now a question to all users:
CCDAP needs a single data file compatible with the Boltwood Cloud Sensor format (single line). I want to know if meteohub can create a single line file with the following data: Outdoor humidity, outdoor temp, Wind speed.
Example on a Boltwood data (note I assume that the data has US Metrics).
2011-01-28 08:51:57.57 F M -14.5 51.1 55.0 8.0 25 16.5 10 0 0 01000 040571.36941 1 2 1 3
This was I can integrate the data from Meteohub into the FITS headers (image data).

Thanx mate again for the fast support.
Amortalis
Junior Boarder
Junior Boarder
Posts: 28
Joined: Sun Jan 22, 2012 1:54 pm

Re: Sennsors error

Post by Amortalis »

I have quite a strange problem here...
Yesterday I updated the system to the last patch, before I cloned it to an SD card . Everything functioned well.
I wanted to restart the system (Meteohub) and since that moment I cant bring it to run again.
I can revert the iConnect to the original firmware without problems (I already did that 3 times LOL).
I tried to bring it back to life using 2 different USB sticks (4 and 8 GB) and 2 SD cards (also 4 and 8 GB) but without success.
The system boots up (led red and flashing blue then all led on, restart and solid blue after some time) but there is NO device in network (cabled or wireless).
Some help will be REALLY appreciated.

P.S. i tried both images the 4.8 and 4.9 with same results... :cry:
Post Reply