January 19, 2015 at 5:38 am #35244
I have just updated my OpenSprinkler Pi to the most recent version, using the “git pull” method, and am now running version 2.2.2 (2015-01-13) which can be seen in the bottom right-hand corner of the login and main screens.
In the next release, would you please consider adding the device’s IP address just underneath the CPU Temp and Software version. I know that most of us might use the IP address to log into the device, and therefore already know the device IP address, but I think it would be a nice addition to the GUI.
(ps: I tried to add an image to this post to help explain this, but could not squash it down below the 2048k image size limit!)January 19, 2015 at 6:06 am #35246
I think that might be difficult as the Raspberry Pi can have multiple interfaces. In my case I use both Ethernet and USB Wireless connections and there is no way that I know of that OSPi can determine which one is used for OpenSprinkler traffic.
If you only use one interface it shouldn’t be too hard to get. What I did in a previous project was to search the routing table for the default gateway and which interface is associated to it. This gave me the ‘Main’ interface IP as the other was used for more specific stuff.
IngoJanuary 19, 2015 at 6:23 pm #35250
Thanks for your reply. Perhaps then to cover more users, the GUI could show a permanent optiion for:
in the interface, the OSPi could show both IP addresses if detected? In my case then, it would show:
and in your case, for example (using whatever your IPs are…)
That’s not perfect, but would cover most users using 1 or 2 interfaces into the Raspberry Pi.January 19, 2015 at 9:31 pm #35251
Well, it’s a chicken-egg problem: to see the web GUI you need to know the IP address first. The pre-configured SD card image is actually set to register host name ‘ospi’ with your network, so you can just use http://ospi or http://ospi:8080 to access it. However, I found that the host name registration is not always successfully on all routers — I’ve seen cases where this doesn’t work.January 20, 2015 at 10:02 am #35259
Also get interesting if you use something like dyndns .
I connect to the dns name so don’t know the ip address and that might be different between my internal and external network.January 21, 2015 at 1:33 am #35275
Ha – and I thought that my setup was tricky!
Let’s forget this idea/suggestion for now. I did not consider so many variables before asking the question! I’ll just concentrate on adding a few more valves to my existing sprinkler pipes.
- You must be logged in to reply to this topic.