Hi!
If you want to supply several devices with
Personal Weather Tablet (PWT) from one station, you basically have the problem that there is only ONE destination for the custom server in the weather station - you can only configure one PWT instance as a destination.
One way out is the use of
FOSHKplugin, with which many additional targets can be generated.
Previously, you had to generate a separate forward for each device on which PWT was to receive the data. I had described this in the recipe "Installation of FOSHKplugin generic version for several PWT instances"
here.
However, this is quite time-consuming, especially with changing IP addresses (DHCP). And it generates useless traffic even if the corresponding target device is not switched on at all.
Therefore the new/current version v1.4.1 of PWT now offers a new connection type: the "
UDP broadcast listener".
If PWT is operated in UDP broadcast listener mode, it listens to incoming data on a configurable UDP port.
FOSHKplugin can already forward incoming Ecowitt data via UDP. A forward like this is required for this:
[Forward-46]
FWD_TYPE = RAWUDP
FWD_URL = 192.168.15.255:12350 # use broadcast address:port and configure PWT to the same UDP port
FWD_CMT = send the Ecowitt stream via UDP broadcast to multiple PWT instances to broadcastaddress:port
This sends the data in Ecowitt format coming from the weather station via UDP to a broadcast address at which any number of clients can listen (not only PWT!) and process the incoming data.
I use it here to operate 7 or 8 devices in parallel and thus reduce the data transfer considerably.
With the next version v0.09 of FOSHKplugin there will be another forward type EWUDP, which receives incoming data in Ambient Weather, WU and Ecowitt format, if necessary, converts it to Ecowitt format and then sends this data via UDP.
PWT picks up the data and displays them accordingly - at the same time, on all devices listening on this port.
This means that Ambient Weather devices which transmits in AW format and stations that only can transmit data in WU format (e.g. WH600x) can then feed Personal Weather Tablet with data in this way.
I think this new feature of PWT can be very useful for some.
But of course the "old" way via dedicated forwards in FOSHKplugin and connection type "Custom Server" on PWT is still available.
Regards, Oliver