You can use mqtt. Look at https://github.com/bellrichm/WeeWX-MQTTSubscribe
-- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e7f6d9f2-41be-49af-9c12-bec7c2ab1299o%40googlegroups.com.