I am not a programmer but if you are using UDP you do not connect to any server. The program just has to "listen" in on the local network traffic. The hub sends out UDP packets every time it get data from the sensors (and once a minute with other data). The program can see those packets, decodes them and uses that data. No internet connection is needed and no set up in the program is needed by the user other than to turn on the UDP function.
I am not sure what is needed to be added to the program to listen in on the network. If you want to see your network traffic and see what the Weather Flow UDP packets look like you can use a program like Wireshark.
Hello , from your reply so my understanding you need a third party software / program and computer 24/7 ? Please correct me if I am totally wrong and misunderstanding.
I have a websocket script that simply gets the data every 3 seconds you can choose also use the script to trigger other events as they happen I.e rain starts or instant lightning detection. using the weatherflow solution for connection
wss://ws.weatherflow.com/swd/data?api_key=20c70eae-xxxxxxxxx then use
{
"type":"listen_rapid_start",
"device_id":XX
}
This requires no extras for the user to configure however looking at both of these methods so far it requires the browser to be open I’ve yet to see it working unattended without the browser being active to log to Mysql contionously . It still early days for me in this area so hopefully in time I will fully understand how to get it all working unattended or without some third party app or browser to be running.
Vreihen have you tested this with the demo provided by weatherflow from there dev api page.Is it dependent on software like weewx etc ?
Kokos1405 there are aprox 1100 Air units in use to date I discovered a map but it was only a screenshot of all the Air units in use in North America I’m not sure it’s available publicly .
So far I’m preferring the API method for the template as it requires nothing more than station ID or device ID from the user so until I get my head around all this newer methods I’m going with the API ..
If your wondering why I avoid using third party apps or having a computer running 24/7 I live in a part of Istanbul where the electric randomly disappears every day or two or three times a week for hours . Whilst I have two UPS one for the meteobridge and one for my computer desktop neither of them are good for long term computer useage . the meteobridge UPS lasts for aprox two days due to its low power consumption but the desktop UPS is good for only 30minutes max , unless I cough up for a 2000va model I might get two or 3hours out of one or really annoy the wife I install a diesel powered generator but the noise would be unbearable and I would probably be evicted to a shed in the garden forever more ..
Brian