[weewx-user] Re: unable to get data from weather station lw30* (oregon weather anywhere)

2018-12-11 Thread mashDrone
Try to see which ports are listening:

netstat -lptn

On Tuesday, December 11, 2018 at 2:11:17 PM UTC-7, G Dupuis 89 wrote:
>
> Hi
>>
> trying to make progress…
>  
> after installing pihole, trafic to Gateway.weather.oregonscientific.com 
> is re-directed to my pi hosting weewx(also hosting pihole) but i still have 
> the same issue…
> web servers are stopped, so Nothing is using port80
> any idea ? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: unable to get data from weather station lw30* (oregon weather anywhere)

2018-12-11 Thread mashDrone
oh, and run it with root privileges to see what program is using it: sudo 
netstat -lptn

On Tuesday, December 11, 2018 at 3:19:08 PM UTC-7, mashDrone wrote:
>
> Try to see which ports are listening:
>
> netstat -lptn
>
> On Tuesday, December 11, 2018 at 2:11:17 PM UTC-7, G Dupuis 89 wrote:
>>
>> Hi
>>>
>> trying to make progress…
>>  
>> after installing pihole, trafic to Gateway.weather.oregonscientific.com 
>> is re-directed to my pi hosting weewx(also hosting pihole) but i still have 
>> the same issue…
>> web servers are stopped, so Nothing is using port80
>> any idea ? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: unable to get data from weather station lw30* (oregon weather anywhere)

2018-12-11 Thread G Dupuis 89

>
> Hi
>
trying to make progress…
 
after installing pihole, trafic to Gateway.weather.oregonscientific.com is 
re-directed to my pi hosting weewx(also hosting pihole) but i still have 
the same issue…
web servers are stopped, so Nothing is using port80
any idea ? 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: unable to get data from weather station lw30* (oregon weather anywhere)

2018-12-04 Thread G Dupuis 89
correct, i have tried with port=80: still not ok,

root@raspberrypi:/etc/weewx# sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
root@raspberrypi:/etc/weewx# tail -lf /var/log/syslog
Dec  4 20:08:04 raspberrypi weewx[29121]: Starting weewx weather system: 
weewx.
Dec  4 20:08:04 raspberrypi systemd[1]: Started LSB: weewx weather system.
Dec  4 20:08:04 raspberrypi weewx[29136]: interceptor: MainThread: driver 
version is 0.41
Dec  4 20:08:04 raspberrypi weewx[29136]: interceptor: MainThread: device 
type: lw30x
Dec  4 20:08:04 raspberrypi weewx[29136]: interceptor: MainThread: sensor 
map: {'inTemp': 'ot.2:*.*', 'outTemp': 'ot.1:*.*'}
Dec  4 20:08:04 raspberrypi weewx[29136]: interceptor: MainThread: mode is 
listen
Dec  4 20:08:04 raspberrypi weewx[29136]: interceptor: MainThread: listen 
on 192.168.1.19:80
Dec  4 20:08:04 raspberrypi weewx[29136]: import of driver failed: [Errno 
99] Cannot assign requested address ()
Dec  4 20:08:04 raspberrypi weewx[29136]: engine: Unable to load driver: 
[Errno 99] Cannot assign requested address
Dec  4 20:08:04 raspberrypi weewx[29136]:   Exiting...

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: unable to get data from weather station lw30* (oregon weather anywhere)

2018-12-03 Thread Andrew Milner
The log seems to show it is listening on port 80 but you seem to have 
specified port 8080.  Try and change the port in .conf to 80

On Monday, 3 December 2018 21:25:43 UTC+2, G Dupuis 89 wrote:
>
> Hi,
> I am new with weewx: it is installed on a Raspberry pi and my oregon lw30x 
> is connected to my LAN (ip of lw30x: 192168.1.19), 
> i am not able to get data from it, i have the following messages in Syslog 
> when running "weewxd /etc/weewx/weewx.conf" 
>
> root@raspberrypi:/etc/weewx# weewxd /etc/weewx/weewx.conf
> root@raspberrypi:/etc/weewx# tail -f /var/log/syslog
> Dec  3 20:22:11 raspberrypi weewx[3558]: engine: Initializing engine
> Dec  3 20:22:11 raspberrypi weewx[3558]: engine: Loading station type 
> Interceptor (user.interceptor)
> Dec  3 20:22:11 raspberrypi weewx[3558]: interceptor: MainThread: driver 
> version is 0.41
> Dec  3 20:22:11 raspberrypi weewx[3558]: interceptor: MainThread: device 
> type: lw30x
> Dec  3 20:22:11 raspberrypi weewx[3558]: interceptor: MainThread: sensor 
> map: {'inTemp': 'ot.2:*.*', 'outTemp': 'ot.1:*.*'}
> Dec  3 20:22:11 raspberrypi weewx[3558]: interceptor: MainThread: mode is 
> listen
> Dec  3 20:22:11 raspberrypi weewx[3558]: interceptor: MainThread: listen 
> on 192.168.1.19:80
> Dec  3 20:22:11 raspberrypi weewx[3558]: import of driver failed: [Errno 
> 99] Cannot assign requested address ()
> Dec  3 20:22:11 raspberrypi weewx[3558]: engine: Unable to load driver: 
> [Errno 99] Cannot assign requested address
> Dec  3 20:22:11 raspberrypi weewx[3558]:   Exiting…
>
> apache web server is stopped
>
> currently, the weewx.conf contents:
> station_type = Interceptor
> ….
> driver = user.interceptor
> # Specify the hardware device to capture.  Options include:
> #   acurite-bridge - acurite internet bridge
> #   observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
> #   lw30x - oregon scientific LW301/LW302
> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
> device_type = lw30x
> address = 192.168.1.19
> port=8080
> [[sensor_map]]
> inTemp = ot.2:*.*# sensor on channel 2
> outTemp = ot.1:*.*# sensor on channel 1
>
> not sure that i have to redirect trafic from the weather station to the 
> Raspberry ? and how ?
> or the config file is not complete ?
>
> thanks in advance,
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.