On the weather radio machine, if I put http://localhost in the browser, I get the apache2 webpage, as you mention. On another local machine, http://ipaddress gives me the Stellar Mate Dashboard. I thus assume that Stellar Mate redirects port 80 to another port if accessed from outside. If I can figure out how to disable Dashboard this may solve the issue.
Just a thought: is a StellarMate device really the right place running the weather radio web server? Or do you have your StellarMate running 24x7 - which should be the typical mode for a web server of a meteo station?
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC with Raspbian 10
so glad you asked the question, it's not clear from the install docs that I should be adding an additional RPi *just* for the web server to not?
to your earlier discussion with @knro in another thread, I feel like the Observatory control systems should be independent from the Telescope/imaging control system, much like Viking and Voyager do - which implies, ideally, two RPis, one of which could host WeatherRadio, Indiunio/relay control, sensors, etc and the other that manages image acquisition.
sorry - this is a thread hi-jack topic, - if worth talking about we should move to another thread. Speaking of which, I will suggest to the web admin team that we should have a section for DIY/Open-source hardware that's INDI compatible as some of these topics are really not INDI per se but related.
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
The way I am configuring/controling my setup is to have an RPi or similar (Odroid XU4) to control the observatory (roof/dome, weather, watchdog, flip flat), and an Odroid on the telescope, to control the mount and instrumentation. Everything being controlled remotely from a laptop or PC. I am far from being ready but I am getting there slowly, indiserver scripts are working, everything connects, had some issues between roof and dome parking but scheduler and watchdog should sort all that up, etc... Will keep you posted.
Started work on the RG-11 implementation after my device arrived today - starting with the firmware before moving onto the drivers. It seems that for our purposes we don't really need a rain bucket - we simply need to know if it's raining and a monostable output once rain is detected to stop the switch bouncing which the RG-11 does nicely - the only catch is that it like to see 12V.
Now I am *NOT* a programmer and literally learned all I know about Arduino in the last 5 days so bear with me - I've implemented most of the changes in rg11.h which is now producing JSON output which is a start - BUT I am not having a lot fo luck reading gate pins on the HUZZAH Feather I am using.
The problem is that it's not detecting me pulling the pin to ground OR me pulling it high - the few times is has changed state I can't work out why. Wondering if anyone can shed some light.
---- rg11.h ----
// RG11 state (closed = raining, open = dry)