I don't know how or why it works that way. Unfortunately, as I wrote 
earlier, the station does not belong to me and I have no physical access to 
it. When I entered AP mode (that's exactly what the manual calls it), a new 
one called PWS-nnnnnn (nnnnnn are the last six digits of the MAC address) 
appeared in the list of wireless networks. I would then connect - without a 
password - to that AP. But when the Garni is in AP mode, it does not 
transmit data to the Internet, i.e. to the home router - I see it because 
WU isn't refreshed. I have to leave AP mode for it to start sending data 
again. But at the same time, when leaving AP mode, my laptop stops 
receiving packets from Garni's panel.

In my opinion, this is an unnecessary complication, but since I can't do 
anything about it, I'm looking for other solutions. Since I was able to use 
the SDR dongle in my home setup, it will almost certainly work with Garni. 
The problem is determining the transmit frequency. I suppose it's 868 MHz, 
since this is equipment for the European market.

Unfortunately, the second option suggested by Cameron D (“set up the Pi as 
another wifi router and pass the traffic through it - then use ethernet to 
the external router”) is not feasible - I'm using a Raspberry Pi Zero, 
which doesn't have an Ethernet connector.

poniedziałek, 24 marca 2025 o 05:42:13 UTC+1 Cameron D napisał(a):

> I don't understand why the Garni would need to be set up as you describe - 
> its specification is only 2.4GHz for Wifi, so its value as a real AP would 
> be minimal. It does not seem to need to use wifi for connecting to anything 
> else (that uses 868MHz).
> You wrote that "I managed to connect the laptop to the network created by 
> the Garni panel..." but that does not fit - an AP does not create a new 
> wifi network, it only extends the existing one created by the router.
>
> Most likely the router recognises that the upload traffic from the panel 
> is not local and does not show it to the laptop/pi, since it would require 
> retransmitting.  A domestic router is unlikely to offer traffic 
> mirroring/monitoring.
> If all that is correct then I think your options are:
> 1. investigate the option where it says "access data on user's own server"
> 2. set up the Pi as another wifi router and pass the traffic through it - 
> then use ethernet to the external router 
>
> On Sunday, 23 March 2025 at 5:48:59 am UTC+10 Tomasz Lewicki wrote:
>
>> Today I had the opportunity to face the Garni 1025 station. 
>> Unfortunately, the issue is much more complex than it might seem at first. 
>> The universal driver “interceptor” is powerless in this case. The station 
>> communicates with the environment in a strange way. It turns out that the 
>> panel with the display does not connect directly to the local network as a 
>> device with an IP address in the range given by the DHCP server of the home 
>> router, but probably forms a kind of bridge between itself and the router.
>>
>> The way I came to this was that after connecting the Raspberry Pi with 
>> Weewx installed, I scanned the local network with my smartphone and found 
>> no device in it that could be a Garni panel. From the instructions, I 
>> learned that to configure the panel, you need to press the appropriate 
>> button on the case and enter AP mode. Then you can enter the default 
>> address 192.168.1.1 with a browser and there enter the SSID of your home 
>> network and the password for it. I managed to connect the laptop to the 
>> network created by the Garni panel and started sniffing on the network 
>> traffic. Unfortunately, tcpdump didn't show anything that would give any 
>> meaningful clues. The only packets were sent by the Garni panel to my 
>> laptop. I couldn't see any packets that Garni was routing to the router, 
>> yet it must be transmitting something if data is being sent to the WU, 
>> right?
>>
>> Do you see any way that I could still try?
>>
>> PS. Does Weewx allow you to import data from WU in "quasi real time"? 
>> What I mean is, can I download data from WU, for example, every 5-10 
>> minutes and feed it to Weewx so that it creates charts locally.
>>
>> niedziela, 16 marca 2025 o 10:02:32 UTC+1 Tomasz Lewicki napisał(a):
>>
>>> Thank you all for the helpful replies. 
>>>
>>> As I said, the station is out of my reach so I hoped to prepare "dry 
>>> run" and set up Weewx in my home environment and then just connect in in 
>>> target network, changing only necassary things (WiFi network and so on). If 
>>> it is not possible, I have to use tcpdump "in situ", where Garni works. But 
>>> - replying to Reiner Lang's suggestion - Garni sends the data to WU 
>>> instantly; you can check it here -> 
>>> https://www.wunderground.com/dashboard/pws/IKOWAL30
>>>
>>> In the meantime I got a photo of manual page from the owner of the 
>>> station (Garni doesn't share the manuals on its website - it's strange) and 
>>> then I was almost sure that Garni uses Weathercloud protocol because setup 
>>> allows setting my own server (if someone is curious, here is a photo -> 
>>> http://stalker.udl.pl/temp/garni1025.jpeg). So I looked into 
>>> Weathercloud website and can confirm that Garni 1025 uses Weathercloud 
>>> protocol -> https://weathercloud.net/en/compatible-devices List 
>>> contains plenty of manufacturers which I know. Rainer Lang hinted that 
>>> manufacturer is CCL (shame to say it but I did not know this company). I 
>>> found quite old "wcloud" driver from Matthew Wall (
>>> https://github.com/matthewwall/weewx-wcloud) but if I understand it 
>>> good, it allows only for uploading the data from Weewx to Weathercloud 
>>> server, not downloading it from weather station.
>>>
>>> So maybe the clones which Weewx supports are using some "standard" 
>>> protocol (whatever means "standard" when talking about PWS) and I can use 
>>> some known driver here...?
>>>
>>> niedziela, 16 marca 2025 o 02:55:59 UTC+1 vince napisał(a):
>>>
>>>> Can you perhaps just listen for all tcp traffic and not specify the src 
>>>> address and see what is on your network ?
>>>>
>>>> I’d think you might try to listen for tcp src 192.168.0.0/24 dst not 
>>>> 192.168.0.0/24 and not specify any port.
>>>>
>>>> Or listen for all tcp traffic for at least 10 minutes and capture to a 
>>>> file, then transfer the pcap file back to your computer to analyze in the 
>>>> wireshark/ethereal gui later. If you could post a pcap file somewhere I’m 
>>>> sure folks will see if they can help determine the correct settings.
>>>>
>>>> On Saturday, March 15, 2025 at 6:15:42 PM UTC-7 matthew wall wrote:
>>>>
>>>>> tomasz,
>>>>>
>>>>> you are correct to first use tcpdump.  once you see data using 
>>>>> tcpdump, then you can experiment with interceptor to get the data into 
>>>>> weewx.  if the station can successfully post to wunderground, then the 
>>>>> interceptor *should* be able to capture the data.  but you should first 
>>>>> use 
>>>>> tcpdump to figure out the settings necessary to capture data.
>>>>>
>>>>> is it possible to adjust the destination in the weather station?  if 
>>>>> so, you could tell the station to send to the computer running weewx, 
>>>>> instead of wunderground. but still use the wunderground protocol.
>>>>>
>>>>> can you control the dns entries on the network?  if so, make 
>>>>> weatherstation.wunderground.com resolve to the computer running 
>>>>> weewx, then run interceptor in listen mode.  if you already run a web 
>>>>> server on port 80 then you would have to make interceptor listen on a 
>>>>> port 
>>>>> other than 80, then adjust the web server configuration to send traffic 
>>>>> for 
>>>>> /weatherstation/updateweatherstation.php to that port.  or do it with 
>>>>> firewall rules.
>>>>>
>>>>> does your network switch support port mirroring?  if so, mirror the 
>>>>> port that the weather station uses and make interceptor listen on the 
>>>>> mirrored port.
>>>>>
>>>>> or if the station is wifi, make interceptor listen on an interface 
>>>>> that can see the wifi traffic.
>>>>>
>>>>> but first use tcpdump in one of these configurations to ensure that 
>>>>> you can see the data from the station.
>>>>>
>>>>> m
>>>>>
>>>>>

-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/f281034d-c0ff-4593-a2f3-86ba8b6b79cdn%40googlegroups.com.

Reply via email to