Hi Massimiliano and Tanwe,

I have got it working by replicating the OrangePi hotspot set up on a 
RasberryPi. I am letting it stabilise for a few days before I transfer the 
hotspot setup to my public facing server. I will post a link when it is up and 
running.

Thanks for all your help. Would never had made this far so quickly without your 
help.

Cheers,
Ian

> On 2 Dec 2018, at 18:31, Massimiliano Neri <[email protected]> wrote:
> 
> Yes, yes, I chose to do a HotSpot with my Orangepi Pi Zero H2.
> As an operating system I chose Armbian Bionic mainline kernel 4.14.y, which 
> can be found at this link:
> https://www.armbian.com/orange-pi-zero/
> 
> I have done this procedure to install the weewx and the driver interceptor:
> 1) Launched on the command line "armbian-config", set the time zone, the 
> keyboard and the language, find all this under the heading 'Personal'.
> 2) return to the main menu and go to "Network", select 'IP' and assign a 
> static address to the network card eth0 (mine is 192.168.10.66) save and run 
> on reboot.
> 3) restart "armbian-config", go to 'System' and install the beta version 
> packages with the voice 'Nightly', then restart.
> 4) run the command line command 'apt-get update' and 'apt-get upgrade'.
> 5) run on the command line "armbian-config", go to 'Network' and activate 
> your access point with the 'HotSpot' entry.
> 6) install weewx from the documentation found on the program website: 
> http://www.weewx.com/
> 7) install the extension for weewx "interceptor" following the indications 
> you find on this link: https://github.com/matthewwall/weewx-interceptor
> 8) Connect your smartphone with the Orange Pi access point (your case with 
> the Raspberry), install the "WS View" app that you find in the google app 
> store, open the app itself and with this colleague the WH-2650 weather 
> station bridge to the access point of the used device.
> Check that the station emits on your wunderground account that you should 
> have created and always configured with the same with "WS View".
> Before moving on with "Ws View", you need to calibrate the sensors of the 
> station or make the setting operations you believe.
> 9) Now at the command line of Orange Pi Zero, type: "iptables -t nat -A 
> PREROUTING -s 172.24.1.65 -p tcp --dport 80 -j DNAT --to-destination 
> 192.168.10.66:666", where 172.24.1.65 is the ip of the station bridge and 
> 192.168.10.66 is the ip of the Orange Pi eth0 network card. the final door 
> 666 you could choose it as you want, as long as it is not occupied.
> Clearly you have to replace the example ip with your ip that you will soon 
> have discovered with a program of scanning the ports (there are also for 
> smartphones, and I suggest you install one from google play).
> Save the configuration of this iptables with the command:
> iptables-save> /etc/iptables/iptables.ipv4.nat
> This last one is used to load the typed iptables every time, every time the 
> Orange is turned on.
> To verify that the iptables command has been loaded, type:
> iptables -t nat -L --line-numbers
> This displays all the iptables of your card, and you should also find the one 
> that directs your weather bridge on the eth0.
> 10) open the weewx.conf file at the command line by typing:
> nano /etc/weewx/weewx.conf
> Scroll to the end of the file and set the [Interceptor] section with these 
> lines:
> 
> [Interceptor] 
>     driver = user.interceptor
>     device_type = observer
>     port = 666
> 
> The [[Wunderground]] section should be set up with your account:
> 
> [[Wunderground]]
>         # This section is for configuring posts to the weather
>         Underground.
>         # If you wish to do this, set the option 'enable' to true,
>         # and specify a station (e.g., 'KORHOODR3') and
>         password.
>         # To guard against parsing errors, put the password into
>        quotes.
>   enable = true
>   station = XXXXXXX
>   password = YYYYYYY
> 
> Save the edited file with CTRL + O.
> 
> 11) Restart weewx with the command:
> /etc/init.d/weewx restart
> 
> If the Raspberry is the same as my Orange Pi Zero, you should see the WH-2650 
> data on wunderground and weewx.
> 
> Greetings from the MAX.
> 
> Il giorno venerdì 23 novembre 2018 00:11:49 UTC+1, Massimiliano Neri ha 
> scritto:
> Hi, I just bought a WaldBeck Halley WH-2650, basically a clone of the WH-2650 
> Fine Offset, can you tell me how to configure weewx.conf to intercept its 
> data string?
> 
> I thank you in advance.
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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.

Reply via email to