Forum Replies Created

Viewing 25 posts - 1 through 25 (of 36 total)
  • Author
    Posts
  • in reply to: Ambient Weather sensor data #60864

    jhaug40
    Participant

    Peter, I had a look at GitHub but for me it’s just too much hassle to get into it. I’m a user having no clue about programming and it’s structure. I only have two points to add regarding your instructions:

    1) Setup a Raspberry Pi To Intercept PWS Information (via Access Point)

    “Do not enable the WiFi interface by providing a wpa_supplicant.conf file but do enable ssh. You can now ssh into the Pi via the ethernet network and contiue the setup process.” That way you have to connect the Pi Zero to a monitor for configuration (correct me if I’m wrong). I simply copied an empty ssh file into root and was able to ssh into the Pi. As most users might need an HDMI adapter for the Zero this could ease the process.

    2) Installating a Local Weather Service onto a Raspberry Pi

    Step 1: When executing pi@OSPi:~ $ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -l an advice was shown to sudo apt-get install -y nodejs The instruction shows sudo apt install -y nodejs Again, I don’t know if that is relevant or not.

    Those instructions are well written and it was easy for me to follow them. As a result all working fine now.

    Jürgen.

    in reply to: Ambient Weather sensor data #60863

    jhaug40
    Participant

    Peter, the OSPi OS is Jessie, the RPi3 running the Weather Service now is stretch.

    As always your instructions and explanations make perfect sense, I do appreciate your patience. Now I can report my Weather Service is running and receiving data from my PWS. Happy now, I will report back next Thursday when I’m back from work.

    I also prepared my Pi Zero W from scratch following your instructions on github. I will try to give some feedback there.

    Once more, THANK YOU
    Servus from Austria,
    Jürgen.

    in reply to: Ambient Weather sensor data #60847

    jhaug40
    Participant

    Servus Peter, I’ve done the sudo apt-get update and sudo apt-get upgrade on my OSPi before I started installing the Weather Service. After the npm install stuck I also did a rm -r weather to delete the directory and I did reload it from github starting all over again. Finally nothing at all happened when I tried npm install meaning that the prompt just jumped to the next line. I gave up on the OSPi and I installed the Weather Service now on another RPi3 within my network. This time I did’t do sudo apt-get update and sudo apt-get upgrade and I successfully installed npm. Weather Service is up and running, but for what ever reason it doesn’t receive any data from the Pi Zero bridge. The Zero did pass the PWS data to WU before I continued to “Step 4: Configure the Intercept (Port Forwarding)”. I had a typo inserting the <Weather Service IP:PORT> so I maybe that caused troubles? I just redid the sudo iptables -t nat -A PREROUTING -m physdev --physdev-in wlan0 -s <PWS IP> -p tcp --dport 80 -j DNAT --to-destination <Weather Service IP:PORT> with the correct values but it doesn’t forward the PWS data to the Weather Service now.

    in reply to: Ambient Weather sensor data #60824

    jhaug40
    Participant

    I tried to install nvm to get the newest version, but no success there either.

    in reply to: Ambient Weather sensor data #60822

    jhaug40
    Participant

    @Peter, I’m trying now to install Weather Service on my OSPi. When I want to “npm install” it always gets stuck – please see below:

    Attachments:
    in reply to: Ambient Weather sensor data #60795

    jhaug40
    Participant

    Just another thought: How about installing the Weather Service on the Pi Zero? I don’t know if it then could be usable for all OpenSprinkler, not only the Pi Versions? Could be beneficial for even more users…

    in reply to: Ambient Weather sensor data #60775

    jhaug40
    Participant

    Water Level seems to work now. I had removed the location because I thought it’s not needed. I added it now again and the Water Level is close to the scale calculation. When I enter a location the close by weather information is shown in the App. Does this weather also influence the scale calculation?

    Work in progress is to run Weather Service permanently and to configure the NAS auto-start using “upstart”.

    in reply to: Ambient Weather sensor data #60774

    jhaug40
    Participant

    Good morning, I realized the Water Level is stuck at 136%. That is for the last 14hrs where the weather has changed significantly. I checked the Weather Service on my NAS and it was stopped. Whenever I close the PuttY Session it stops. How to set it up to run permanently? I also have issues to get upstart run.

    in reply to: Ambient Weather sensor data #60762

    jhaug40
    Participant

    Peter, never done this on github before. I will do my best to give a proper feedback. I’m very happy it is running now. I have no clue what I’ve done but for me the result counts. 😉 Thank you very much for your support, I really appreciate it.

    Jürgen.

    in reply to: Ambient Weather sensor data #60761

    jhaug40
    Participant

    I found a syno-upstarter. Hope that works…

    https://www.npmjs.com/package/syno-upstarter

    in reply to: Ambient Weather sensor data #60759

    jhaug40
    Participant

    All copied. Once the auto-start of Weather Service is configured on my NAS I will format the Pi Zero SD and follow step by step your instructions. Any feedback here or somewhere else?

    in reply to: Ambient Weather sensor data #60757

    jhaug40
    Participant

    One more, sorry. Is all data stored permanently on my NAS and how to clean it up in case it’s getting too much?

    in reply to: Ambient Weather sensor data #60756

    jhaug40
    Participant

    Of course I forgot to enter the password. Now it seems to work. Is there any way to check if the correct PWS data is used by my OSPi?

    in reply to: Ambient Weather sensor data #60753

    jhaug40
    Participant

    Peter, I get the following page where I set IP:PORT of the Weather Service. But it seems not to store it. If I call it again it shows weather.opensprinkler.com I also checked the App and it still doesn’t show my PWS data.

    Attachments:
    in reply to: Ambient Weather sensor data #60750

    jhaug40
    Participant

    Hi Peter, just one more question before I start from scratch to test your setup guide: How can I setup my OSpi to make use of this Weather Service?

    in reply to: Ambient Weather sensor data #60745

    jhaug40
    Participant

    http://10.0.0.38:3000/weather1.py?loc=50,1&wto=%22h%22:10,%22t%22:80,%22r%22:50,%22bh%22:26,%22bt%22:58,%22br%22:0

    &scale=106&rd=-1&tz=56&sunrise=353&sunset=1316&eip=167772185&rawData={“h”:28.26,”p”:0,”t”:60.3,”raining”:0}

    in reply to: Ambient Weather sensor data #60741

    jhaug40
    Participant

    Finally I will start from scratch to follow your new instructions step by step. I will do this tomorrow and I will keep you posted.

    Jürgen.

    in reply to: Ambient Weather sensor data #60740

    jhaug40
    Participant

    Next step is to redirect the OSPi to take the weather data from my NAS. I also will try to get the auto-start Weather Service to work in case of future updates of the NAS OS.

    in reply to: Ambient Weather sensor data #60738

    jhaug40
    Participant

    Good morning Peter, it works!

    When I followed your link for “Using the Raspberry Pi as an access point to share an internet connection (bridge)”, towards the end it tells you “The access point setup is almost the same as that shown in the previous section. Follow all the instructions in the Configuring the access point host software (hostapd) section above to set up the hostapd.conf file and the system location, but add bridge=br0 below the interface=wlan0 line, and remove or comment out the driver line. The passphrase must be between 8 and 64 characters long.” Following this it includes uncommnenting the line net.ipv4.ip_forward=1. But it’s not straight forward and I will have a look at your documentation and instructions once I prepared our pool today. 🙂

    I just checked my LAN connections on my router to identify the PWS IP and edited your command line above. After npm start I got the following:

    Attachments:
    in reply to: Ambient Weather sensor data #60723

    jhaug40
    Participant

    Peter, appreciate your help – DANKE

    You can see my PWS as ISTEIERM133 on the WU. It’s currently sending data. I do confirm it’s runnung through the Pi Zero. I did’nt setup auto-start as my Synology runs 24/7 and is connected to an USV. I will continue tomorrow as I have to leave now.

    All the best, Jürgen.

    in reply to: Ambient Weather sensor data #60721

    jhaug40
    Participant

    is it just “npm stop” to kill it?

    in reply to: Ambient Weather sensor data #60720

    jhaug40
    Participant

    The output of http://10.0.0.38:3000/weather1.py?loc=50,1&wto=%22h%22:100,%22t%22:100,%22r%22:100,%22bh%22:70,%22bt%22:59,%22br%22:0 is

    &scale=100&rd=-1&tz=56&sunrise=354&sunset=1315&eip=167772185&rawData={“h”:null,”p”:null,”t”:null,”raining”:0}

    I’m not sure if the fact we use degree Celsius here has an influence or it’s not working.

    in reply to: Ambient Weather sensor data #60716

    jhaug40
    Participant

    If I am correct there should be some output now on 10.0.0.38:3000 <Weather Service IP:Port> But all I get is a white page with “OpenSprinkler Weather Service v1.0.3”

    Do I need to keep the <> or just the plain 10.0.0.38:3000?

    in reply to: Ambient Weather sensor data #60715

    jhaug40
    Participant

    Hi Peter, I will try this out in a minute.

    in reply to: Ambient Weather sensor data #60711

    jhaug40
    Participant

    Dear @Peter, thanks to your help I got a working Pi Zero W Access Point with my PWS using it. Ready for the “intercept” logic 🙂

    Jürgen.

Viewing 25 posts - 1 through 25 (of 36 total)