Page 1 of 1

Raspberry Pi Image

Posted: Wed 27 Nov 2024 6:19 pm
by chsims1
Hi,

the wiki appears to be somewhat out of date, and I can't see whether the current RPi image contains .NET8 support. I'd actually prefer to install from scratch on a base RPi OS lite system personalised for me, but I can't find a recent guide that includes .NET 8 rather than MONO support. Anyone fancy pointing me in the right direction?

Cheers in advance

Re: Raspberry Pi Image

Posted: Wed 27 Nov 2024 6:23 pm
by freddie
Yes, the image contains dotnet8. MX wouldn't run otherwise.

Instructions for the DIY approach can be found in this topic: viewtopic.php?t=22051

Re: Raspberry Pi Image

Posted: Wed 27 Nov 2024 6:58 pm
by chsims1
Thanks for the confirmation freddie. Yes, I understand that Cumulus MX requires .NET 8 support, it just doesn't explicitly say that this is provided by the image, and the wiki entry is from 2022 (pre- .NET 8 for arm)

Re: Raspberry Pi Image

Posted: Wed 27 Nov 2024 7:10 pm
by freddie
I take your point, but the whole raison d'être of the image is that there is no setup required to run MX, other than installing the image. So it is reasonable to suppose the image would contain all components/dependencies necessary to run MX.

Re: Raspberry Pi Image

Posted: Sat 14 Dec 2024 8:06 pm
by alpha13
freddie wrote: Wed 27 Nov 2024 7:10 pm I take your point, but the whole raison d'être of the image is that there is no setup required to run MX, other than installing the image. So it is reasonable to suppose the image would contain all components/dependencies necessary to run MX.
and there is no image with an operating system with a desktop? Or any manual to be able to install it on a raspberry pi 5.

Re: Raspberry Pi Image

Posted: Sat 14 Dec 2024 9:58 pm
by freddie
alpha13 wrote: Sat 14 Dec 2024 8:06 pmand there is no image with an operating system with a desktop? Or any manual to be able to install it on a raspberry pi 5.
Desktop is not required.
I guess there is insufficient demand for the Pi 5?

Re: Raspberry Pi Image

Posted: Sat 14 Dec 2024 10:25 pm
by mcrossley
If you are using an SD card with a pi 5 then the install is the same as all the other pi's.

If you have an NVME SSD, then one of a few ways to install would be to setup the pi 5 with the pi OS plus Desktop on an SD card, then use the rPi Installer on the pi5 itself to write the MX image to the SSD. Finally switch to SSD boot.

Re: Raspberry Pi Image

Posted: Fri 03 Jan 2025 3:27 pm
by chsims1
Thanks for the replies, I have only just managed to revisit this today.

I appear to have a working installation of CMX without using the Cumulus RPi image, from a RPi OS Lite installation, .net 8, downloading the latest version of CMX, and installing on my ssd with:

Code: Select all

sudo dotnet CumulusMX.dll -install -user ian
The 'cumulusmx.exe' failed to run (even though made executable), hence my use of 'dotnet.' This started up a webserver and allowed me to complete the settings in 'wizard.html'. It seems to be logging data ok, but I'm not convinced that I've got a properly working system here, in the light of the problems with the .exe, unless that is just what is expected with .NET 8 and Linux .... with my lack of knowledge of previous versions of Cumulus , & until proper documentation for CMX 4, then I'm flailing around in the dark a little here.

It has been valuable in that I now have more idea of what to expect from Cumulus. I think that what I would really like to be able to do is use the data logging, storage and querying capabilities of Cumulus without the extensive templating. I have data being recorded locally in json files that I can pull into my website after a bit of manipulation, as I like.

Three more questions.

(1)I can't see a separate last set of readings from sensors in the json files, do they get split up and appended to the appropriate multiple files?
(2) I have an additional Ecowitt WN31 temp sensor, that I have seen the value displayed somewhere in the Cumulus tabs (sorry, I forget where), but I can't see a json file for this in the locally stored data files.
(3) Can json files be produced from querying the database, and end up in the locally saved files folder?

Regards,

Ian

Re: Raspberry Pi Image

Posted: Fri 03 Jan 2025 4:13 pm
by freddie
Most of your observations made in your post are covered in the topics you were directed to - especially the use of the dll on Linux.

The MX image is actually RPi OS Lite. The only difference between yours and the image is your username (and the amount of work you did).

Re: Raspberry Pi Image

Posted: Fri 03 Jan 2025 6:45 pm
by chsims1
I have read all the links that I have been given and searched. It is pretty incoherent at this point in time.. I understand that there needs to be time for documentation to be produced.

As someone who is not familiar with Cumulus or its installation, I was wanting re-assurance that I did have a valid installation of CMX. because I do not want to waste time on a broken base. I prefer not to use the Cumulus RPI image, not to be masochistic, but to understand what is being installed.

If my installation is valid, then I would like to investigate how Cumulus MX might be used for data logging, storing and querying. I presume that I can get that data in a form, json or otherwise, to manipulate and display on my website with appropriate javascript. I guess that I am hoping to be able to use a Cumulus MX Lite (tongue-in-cheek, no "bristling of fur", please) that uses the backend, without the frontend website generation.

Ian

Re: Raspberry Pi Image

Posted: Fri 03 Jan 2025 8:07 pm
by freddie
chsims1 wrote: Fri 03 Jan 2025 6:45 pm I have read all the links that I have been given and searched. It is pretty incoherent at this point in time.. I understand that there needs to be time for documentation to be produced.
Documentation has been ongoing for over a decade - the wiki
chsims1 wrote: Fri 03 Jan 2025 6:45 pm As someone who is not familiar with Cumulus or its installation, I was wanting re-assurance that I did have a valid installation of CMX. because I do not want to waste time on a broken base. I prefer not to use the Cumulus RPI image, not to be masochistic, but to understand what is being installed.
To me it sounds like your installation is valid. It is tricky to tell, though, without seeing any log files. Location of these is in the docs.
chsims1 wrote: Fri 03 Jan 2025 6:45 pm If my installation is valid, then I would like to investigate how Cumulus MX might be used for data logging, storing and querying. I presume that I can get that data in a form, json or otherwise, to manipulate and display on my website with appropriate javascript. I guess that I am hoping to be able to use a Cumulus MX Lite (tongue-in-cheek, no "bristling of fur", please) that uses the backend, without the frontend website generation.
MX does data logging and storing as its core function. It is extensible in that you can choose to store data in an SQL database in addition to the file-based storage native to MX. Querying data is possible with MX, but is easier (IMO) if you use a SQL database for storage.

All this info (and more) is readily available (and frequently accessed) from this forum and the wiki. It's all there.

If you're waiting on shiny PDF documentation then you are likely to be disappointed. This project, forum and wiki are all run, financed and maintained by volunteers.

Not to worry though - it is all there in the forum/wiki. If you find something tricky to find then please ask lots of questions on the forum. We're a friendly bunch.

Re: Raspberry Pi Image

Posted: Sat 04 Jan 2025 1:08 pm
by chsims1
Hi,

would someone mind confirming that the info on the Wiki page at:

https://www.cumuluswiki.org/a/Cumulus_MX_Local_API

about the Cumulus API is still correct for CMX 4 please?

Thank you,

Ian

Edit: aha, "webtags" seems to to be what I needed to find. I'll consider this post closed, and get back when I have some "real" questions. Thanks again.

Re: Raspberry Pi Image

Posted: Sat 04 Jan 2025 1:41 pm
by water01
Yes it is for the local APi, you just need to enter http://your IP address of your Pi:8998/api/tags/process.json?temp&hum&dew and it will return the current values of temperature, humidity and dew point.

If you are going to use Webtags you should look here. https://www.cumuluswiki.org/a/Webtags

By the way we never close Topics.

Re: Raspberry Pi Image

Posted: Sat 04 Jan 2025 6:28 pm
by chsims1
Thanks for the reply. There seems to be a number of ways of getting data out from CMX. Embedding values in html via 'webtags' seems easy to do with php. My gauges are svg graphics that I have previously manipulated with javascript using php to extract data to a "variable" that is programatically incorporated into the svg Does anyone have any comments on the easiest/best way to do this using CMX? How is it done by CMX for the metallic rotational dials?

Ian

Re: Raspberry Pi Image

Posted: Sun 05 Jan 2025 7:43 am
by The Dalek Hunter