Page 1 of 2

Cutils v7 migration

Posted: Thu 04 Apr 2024 11:51 am
by Nossie
Hi,

I seem to have bigger problems than just a few custom charts?

I've attached the logs :-/ not everything seems to be generating.

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 11:56 am
by Nossie
I've wiped all logs, restarted and ran utils once... I'll leave it a few hours and then upload those specific logs with no other changes.

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 3:04 pm
by HansR
I looked at your site and I am not sure what is the issue here.
It seems like Cutils users have jQuery problems where javascript breaks at all kind of weird points. So far I can't find the error and it seems that some restarts of the CMX machine may help.

I am looking into this after Leo and Paul had a similar issue but it did not get me anywhere so far. The problem seems to disappear when you change the order of things.

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 3:20 pm
by Nossie
Thanks,

I'm just double checking my configs at the moment to see if I changed anything I shouldn't - but this is what I've noticed so far

Code: Select all

2024-04-04 16:04:42.885 CumulusUtils : ----------------------------
2024-04-04 16:04:42.887 CumulusUtils : Entering Main
2024-04-04 16:04:42.918 HelpTexts: start
2024-04-04 16:04:42.958 CommandLineArgs : starting
2024-04-04 16:04:42.960  CommandLineArgs : handling arg: useraskeddata
2024-04-04 16:04:42.962 Dayfile: Reading the dayfile.txt...
2024-04-04 16:04:43.561 Errors in Charts definition. See logfile, please correct and run again.
2024-04-04 16:04:44.952 Testing PHP upload compression on http://stewartonweather.com/upload.php
2024-04-04 16:04:45.134 All done, Entering the finally section...; Closing down.
2024-04-04 16:04:45.136 Disposing Isup...
2024-04-04 16:04:45.138 Disposing Sup...
2024-04-04 16:04:45.201 Ready...

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 3:31 pm
by HansR
That is weird. But if it is weird like this, you better start posting the log, the CutilsCharts.def and anything else you think is relevant ;)

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 4:25 pm
by Nossie
sooooo .... those two def files, didn't exist - ahem. :oops:

So I copied those over and everything is working much better. - something is wrong with the reports so that's what I'm looking into.

does it not generate default def files or?

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 4:38 pm
by HansR
Nossie wrote: Thu 04 Apr 2024 4:25 pm sooooo .... those two def files, didn't exist - ahem. :oops:

So I copied those over and everything is working much better. - something is wrong with the reports so that's what I'm looking into.
:clap:
Nossie wrote: Thu 04 Apr 2024 4:25 pm does it not generate default def files or?
Both the charts and menu def files are available in the distribution in some default version which should work out of the box when copied to the operational directory having the official names.

It is an intentional manual operation so users are aware that these are user configurable files.
Using only the distribution files is not advised (certainly not for the menu file)

So: no, nothing is generated because that would move the user away from the possibilities which can be configured.

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 5:53 pm
by Nossie
Hi Hans, CO2 doesn't seem to be getting recorded in extra sensors? - the following is from the config -thanks.

Code: Select all

[ExtraSensors]
ExtraSensors=true
ParticipatesSensorCommunity=true
ExternalExtraSensors=
UserModificationExtraSensorCharts=false
ExtraTemp=1,2,3,4,5,6
ExtraHum=1,3,5,6
ExtraDP=1,3,5,6
SoilTemp=1
SoilMoisture=1,2,3
AirQuality=
UserTemp=
LeafTemp=
LeafWetness=1
SoilTemperature=1
CO2=1
LightningSensor=true
CleanupExtraSensorslog=true

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 6:12 pm
by HansR
Nossie wrote: Thu 04 Apr 2024 5:53 pm Hi Hans, CO2 doesn't seem to be getting recorded in extra sensors? - the following is from the config -thanks.
The config seems OK and the system works: there is a chart with values. It seems only the realtime does not show. I assume it is a config error somewhere. Could you check your extrasensorsrealtime.txt file and post it here?

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 6:27 pm
by Nossie
Hi - attached.

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 7:10 pm
by HansR
Nossie wrote: Thu 04 Apr 2024 6:27 pm Hi - attached.
Thnx. Obviously most values are not replaced. Can you post the original, unprocessed file (find it in the utils directory).

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 7:50 pm
by Nossie
sorry - this one

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 7:58 pm
by HansR
OK... now it is clear but I do not understand why the Antrobus sites do work, I assume he did not update to the latest CMX version (which removed the old webtag names with the minus).

Anyway, the webtags for the CO2 site have been changed from CO2- to CO2_ and apparently I missed to change the webtag names for te CO2 sensor in the realtime file.

I will make a new beta tomorrow, that's what beta's are for ;)

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 8:19 pm
by Nossie
Thanks Hans :)

Re: Cutils v7 migration

Posted: Thu 04 Apr 2024 8:54 pm
by PaulMy
The v7 home page has [User] [NL] and [Map] tabs. I want to edit these and have renamed MAP and started to edit the content in CUsermenu-example.txt. Where can I remove, rename and edit the User and NL tabs?
http://www.komokaweather.com/cumulusmx4/index.html

Enjoy,
Paul