thanks Scott, i have done everything until this: https://github.com/weewx/weewx/wiki/hostapd-WiFi-setup-for-Interceptor-driver#edit-etcdhcpcdconfand-edit-the-first-4-lines-below-for-your-static-ip
interface eth0 static ip_address=192.168.0.4/255.255.255.0 *--------Raspberry one, or Weather Station???* static routers=192.168.0.1 static domain_name_servers=8.8.8.8 8.8.4.4 # Defaults from Raspberry Pi configuration hostname ---do i need to fill anything? clientid ---do i need to fill anything? persistent option rapid_commit option domain_name_servers, domain_name, domain_search, host_name option classless_static_routes option ntp_servers require dhcp_server_identifier slaac private nohook lookup-hostname # RaspAP-WebGui wireless configuration interface wlan0 static ip_address=10.3.141.1/24 ---Raspberry, or WS? static routers=10.3.141.1 ---again routers IP? static domain_name_server=1.1.1.1 8.8.8.8 my OpenWRT router is 192.168.1.1 domain-needed interface=wlan0 dhcp-range=10.3.141.50,10.3.141.255,255.255.255.0,12h ---which IPs 192.168.1.5,192.168.1.255? note - i am running home automation webpage server on port 8080 Thanks again :) Michal, Slovakia Dňa piatok, 8. marca 2019 5:06:46 UTC+1 Scott Grayban napísal(-a): > > WS connects to hostapd WiFi which observer sniffs port 80 to pull the data > the console is sending which is then saved to the weewx db. > > All that creates the webpages for the weather. > > > On Wednesday, March 6, 2019 at 10:02:29 PM UTC-8, miso k wrote: >> >> I did not setup any hostapd. Did not know about it. >> https://github.com/weewx/weewx/wiki/hostapd-WiFi-setup-for-Interceptor-driver >> So raspberry will be running hostapd and the weatherstation display will >> be connected to raspberry? >> Sorry for the stupid questions, I am not a programmer, just an ordinary >> guy trying... >> >> thanks.. >> miso >> >> >> st 6. 3. 2019 o 22:31 Scott Grayban <[email protected]> napísal(a): >> >>> Looks like nothing is getting sniffed from port 80. Are you sure you >>> setup hostapd correctly and linked your console to that wifi ssdi ? >>> >>> On Wednesday, March 6, 2019 at 6:22:50 AM UTC-8, miso k wrote: >>>> >>>> so it continues always with the line Mar 6 14:08:13 *raspberrypi >>>> weewx[25014]: interceptor: MainThread: empty queue* >>>> >>>> >>>> pi@raspberrypi:/etc/weewx $ *sudo tail -f /var/log/syslog* >>>> Mar 6 14:06:23 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:06:33 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:06:40 raspberrypi vncserver-x11[439,root]: HostedRendezvous: >>>> Connection to [mFRmAi-o5XJi-DFfFZP] is from user "<[email protected]>" >>>> Mar 6 14:06:40 raspberrypi vncserver-x11[439,root]: Connections: >>>> connected: [email protected] (via hc-2-gb-slg-1.services.vnc.com) >>>> Mar 6 14:06:40 raspberrypi vncserver-x11[439,root]: Connections: >>>> authenticated: [email protected] (via hc-2-gb-slg-1.services.vnc.com), as >>>> pi (f permissions) >>>> Mar 6 14:06:41 raspberrypi vncserver-x11[439,root]: SPrintConnMgr: >>>> Failed to add printer: server-error-service-unavailable >>>> Mar 6 14:06:43 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:06:53 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:07:03 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:07:13 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:07:23 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:07:33 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:07:43 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:07:53 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:08:03 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:08:13 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:08:23 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:08:33 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:08:43 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:08:53 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:09:03 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:09:13 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:09:23 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:09:33 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:09:43 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> Mar 6 14:09:53 raspberrypi weewx[25014]: interceptor: MainThread: >>>> empty queue >>>> >>>> thank you, >>>> Michal >>>> >>>> Dňa streda, 6. marca 2019 11:26:39 UTC+1 Scott Grayban napísal(-a): >>>>> >>>>> I need to see more of the log. Let it cycle a few times so I can see >>>>> what it's doing. >>>>> >>>>> On Wednesday, March 6, 2019 at 1:26:18 AM UTC-8, miso k wrote: >>>>>> >>>>>> thank you Scott, >>>>>> this is the result: >>>>>> >>>>>> pi@raspberrypi:/etc/weewx $ *sudo tail -f /var/log/syslog* >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Finished loading >>>>>> service weewx.restx.StdAWEKAS >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Loading service >>>>>> weewx.engine.StdPrint >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Finished loading >>>>>> service weewx.engine.StdPrint >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Loading service >>>>>> weewx.engine.StdReport >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Finished loading >>>>>> service weewx.engine.StdReport >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Starting up weewx >>>>>> version 3.9.1 >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Station does not >>>>>> support reading the time >>>>>> Mar 6 10:22:42 raspberrypi weewx[25014]: engine: Starting main >>>>>> packet loop. >>>>>> Mar 6 10:22:52 raspberrypi weewx[25014]: interceptor: MainThread: >>>>>> empty queue >>>>>> >>>>>> >>>>>> My station does not have any open port. Is it OK to have it like this? >>>>>> >>>>>> device_type = observer >>>>>> mode = sniff >>>>>> iface = wlan0 >>>>>> pcap_filter = src 192.168.1.151 and dst port 80 >>>>>> >>>>>> >>>>>> Thanks, >>>>>> Michal >>>>>> >>>>>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/N3LDNaKZcEQ/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout >>> .https://github.com/weewx/weewx/wiki/hostapd-WiFi-setup-for-Interceptor-driver#edit-etcdhcpcdconfand-edit-the-first-4-lines-below-for-your-static-ip >>> >> -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
