Page 1 of 2
Newbie question.
Posted: Sat 20 Jan 2024 8:22 pm
by RZEE
Hi, I'm new to CumulusMX
I've got the PI image up and running. The dashboard receives all the information and all look good in my first test so far.
How can i make a ''public'' webinterface, thus without the settings menu items and so on ?
Thanks in advance !
Re: Newbie question.
Posted: Sat 20 Jan 2024 11:36 pm
by water01
Not possible I am afraid the Dashboard interface is intended for internal network use only.
There is a standard Web site available but you will of course need a web host and some hosting space.
https://www.cumuluswiki.org/a/New_Defau ... nformation
Re: Newbie question.
Posted: Sun 21 Jan 2024 3:09 pm
by PaulMy
Hi,
I've got the PI image up and running. The dashboard receives all the information and all look good in my first test so far.
How can i make a ''public'' webinterface, thus without the settings menu items and so on ?
The MXUIwebsite is as close as you can get to the CMX localhost dashboard
viewtopic.php?p=138283#p138283
http://www.komokaweather.com/cumulusmx/index.php
https://www.bellendenkerweather.com/index.php
Enjoy,
Paul
Re: Newbie question.
Posted: Sun 21 Jan 2024 5:26 pm
by SamiS
RZEE wrote: ↑Sat 20 Jan 2024 8:22 pm
Hi, I'm new to CumulusMX
I've got the PI image up and running. The dashboard receives all the information and all look good in my first test so far.
How can i make a ''public'' webinterface, thus without the settings menu items and so on ?
CumulsMX does include a standard website template to use in public hosting server as water01 said earlier. Shortly explained, you need a webserver, then you upload the contents of the webfiles folder to your website and then configure upload settings on CumulusMX Dashboard -> Settings -> Internet Settings. You can use ftp, ftps, ssh or php to upload data.
To avoid confusion, water01 and Paul did mean with their ”not possible” or ”as close as you can get” -comments, that there is not a public website that is similar to the dashboard. But as said, you can use the default website, MXUI website template or the newest Alternate website from Neil Thomas.
Discussion:
viewtopic.php?p=172809#p172809
Download:
https://www.cumuluswiki.org/a/Default_W ... lt_Website
Re: Newbie question.
Posted: Wed 24 Jan 2024 8:30 pm
by RZEE
Ok,
Thanks for the information. I need to grow into the software a little more. The basics are running, managed to update to the latest release [hurray].
The Pi3 seems running fine for some days now. Now slowly gets time to read myself into the webserver thingy.
Theoretically there should be a possibility to run it directly from the Pi with a apache webserver...or ?
Re: Newbie question.
Posted: Thu 25 Jan 2024 9:32 am
by mcrossley
You can self host, it's easier if you have a fixed IP address at home. I run CMX, Nginx, and MariaDb all on a rPi 4 (used to be on a 3b)
Re: Newbie question.
Posted: Thu 25 Jan 2024 4:23 pm
by SamiS
Yes, self hosting is a possibility, but not very newbie-friendly. Even without fixed ip it is possible with dynamic dns, unless you are behind some carrier-grade NAT, or your isp does not allow inbound connections etc. And of course you must understand how to do all without creating a security risk for your other devices on the same network.
Re: Newbie question.
Posted: Thu 25 Jan 2024 11:29 pm
by philpugh
Yes it does seem daunting but a home server is well worth the effort. I run an NGINX server on my Rpi4 and it is reasonably rock solid - well atleast until we had 4 mains outages in 5 mins due to the recent storms.
There are some very good diy how-tos on the web for setting these up. I don’t run php on my server as it (IMHO) reduces the “hackability” of the site.
Go with a fixed address and a DDNS provider there are some reasonably priced ( if not free) providers out there.
Re: Newbie question.
Posted: Sun 28 Jan 2024 7:59 pm
by RZEE
Ok, after some testing and modding i got a page up and running as close as it gets to the default panel
And this is pretty much how i want it. Build from the PI image running on a Pi3
Sample:
http://rzee.asuscomm.com:8998
Next step is translation, i read this could be done in the strings.ini ?
Or are there better options ?
Re: Newbie question.
Posted: Sun 28 Jan 2024 8:14 pm
by PaulMy
Hi,
I think you'd better take that website down the way you have it now
If I can access your CMX settings with my little programming knowledge, most anyone else can and may go beyond just looking.
Enjoy,
Paul
Re: Newbie question.
Posted: Sun 28 Jan 2024 8:18 pm
by freddie
You can still access your settings pages. I would shut this down now as it is exposing your passwords, etc
Re: Newbie question.
Posted: Sun 28 Jan 2024 9:43 pm
by water01
We all said this was not a good idea, but you seem to go ahead regardless.
All I have to do to access your settings is add programsettings.html to
http://rzee.asuscomm.com:8998 i.e
http://rzee.asuscomm.com:8998/programsettings.html and I have access to all your program settings.
Equally
http://rzee.asuscomm.com:8998/internetsettings.html gives me access to your internet settings.
Just removing these from the menu does not stop someone accessing this as the actual html files are well known, so I suggest as Paulmy and freddie have said already you should take this down ASAP.
Re: Newbie question.
Posted: Mon 29 Jan 2024 11:00 pm
by PaulMy
Hi
Just to update, I can still access, and edit your data (but have not done so).
Enjoy,
Paul
Re: Newbie question.
Posted: Tue 30 Jan 2024 7:57 am
by The Dalek Hunter
PaulMy wrote: ↑Mon 29 Jan 2024 11:00 pm
Hi
Just to update, I can still access, and edit your data (but have not done so).
Enjoy,
Paul
It seems password protected now ??
Re: Newbie question.
Posted: Tue 30 Jan 2024 9:03 am
by RayProudfoot
I don’t understand why you have a weather website but give the visitor no indication where in the world it is.
