Page 32 of 36

Re: machinon theme

Posted: Friday 27 November 2020 18:28
by waaren
DewGew wrote: Friday 27 November 2020 16:48 Last beta should work with both domoticz stable and beta. I just need some feedback on this.
Tested beta Machinon theme with Version: 2020.2 (build 12706) and it works OK. Any specifics you would like me to test?

Re: machinon theme

Posted: Friday 27 November 2020 18:54
by madpatrick
madpatrick wrote: Sunday 22 November 2020 11:02 Hi

I think i've found the problem :roll: :roll:

I've check a previous copy of the theme with the lastest version and i'm missing a piece in custom.js

In line 25:

Code: Select all

$.ajax({	
    url: "acttheme/js/moment.js",	
    async: false,	
    dataType: "script",	
});	
When i copy this back, the theme is working again
Tried the update, but the problem still remains
Copies back my old custom.js and it is working

Re: machinon theme

Posted: Friday 27 November 2020 19:52
by DewGew
madpatrick wrote: Friday 27 November 2020 18:54
madpatrick wrote: Sunday 22 November 2020 11:02 Hi

I think i've found the problem :roll: :roll:

I've check a previous copy of the theme with the lastest version and i'm missing a piece in custom.js

In line 25:

Code: Select all

$.ajax({	
    url: "acttheme/js/moment.js",	
    async: false,	
    dataType: "script",	
});	
When i copy this back, the theme is working again
Tried the update, but the problem still remains
Copies back my old custom.js and it is working
Did you try beta branch?

Re: machinon theme

Posted: Friday 27 November 2020 19:54
by DewGew
waaren wrote: Friday 27 November 2020 18:28
DewGew wrote: Friday 27 November 2020 16:48 Last beta should work with both domoticz stable and beta. I just need some feedback on this.
Tested beta Machinon theme with Version: 2020.2 (build 12706) and it works OK. Any specifics you would like me to test?
I cant get graph zoom work correct when select only one graph.

Re: machinon theme

Posted: Friday 27 November 2020 20:01
by madpatrick
DewGew wrote: Friday 27 November 2020 19:52
Did you try beta branch?
Yes. Still on Beta version

Re: machinon theme

Posted: Friday 27 November 2020 20:06
by DewGew
madpatrick wrote: Friday 27 November 2020 20:01
DewGew wrote: Friday 27 November 2020 19:52
Did you try beta branch?
Yes. Still on Beta version
Domoticz version?

Re: machinon theme

Posted: Friday 27 November 2020 20:08
by madpatrick
Domoticz v2020-2

The problem is in /settings/theme is not available anymore with the update

Re: machinon theme

Posted: Friday 27 November 2020 20:11
by DewGew
madpatrick wrote: Friday 27 November 2020 20:08 Domoticz v2020-2

The problem is in /settings/theme is not available anymore with the update
I need buildno eg domoticz 2020.2 (build 11995)

Re: machinon theme

Posted: Friday 27 November 2020 20:13
by madpatrick
Version: 2020.2
Build Hash: 0

Re: machinon theme

Posted: Friday 27 November 2020 20:15
by DewGew
madpatrick wrote: Friday 27 November 2020 20:13 Version: 2020.2
Build Hash: 0
Domoticz stable?

Re: machinon theme

Posted: Friday 27 November 2020 20:17
by madpatrick
Yes. I'm not able to go to beta due compiled repo package

Re: machinon theme

Posted: Friday 27 November 2020 20:19
by DewGew
madpatrick wrote: Friday 27 November 2020 20:17 Yes. I'm not able to go to beta due compiled repo package
Ok you need to do a git pull or download latest machinon beta to mak it work. Since you have modified custom.js you have to do a git reset —hard then git pull

Re: machinon theme

Posted: Friday 27 November 2020 20:29
by madpatrick
My Machinon theme was the latest Beta version.
My Domoticz is Stable version and I can not update this to a Beta

I've made a fresh install of the Machinon theme

git clone https://github.com/domoticz/machinon.git machinon-beta
cd machinon-beta
git checkout beta
git pull

Still same.
My setting are lost (dark theme is back to default) and missing the Theme option in Settings

This version of custom.js is still working good for me
custom.js
(8.43 KiB) Downloaded 97 times

Re: machinon theme

Posted: Friday 27 November 2020 20:41
by DewGew
madpatrick wrote: Friday 27 November 2020 20:29 My Machinon theme was the latest Beta version.
My Domoticz is Stable version and I can not update this to a Beta

I've made a fresh install of the Machinon theme

git clone https://github.com/domoticz/machinon.git machinon-beta
cd machinon-beta
git checkout beta
git pull

Still same.
My setting are lost (dark theme is back to default) and missing the Theme option in Settings

This version of custom.js is still working good for me
custom.js
Ah, you compiled domoticz your self thats why you dont get any buildno. Machinon get the build number to match your version. As before you need to modify your custom.js.

Re: machinon theme

Posted: Friday 27 November 2020 20:46
by madpatrick
Ok. That makes sense.
So version checker in Machinon theme is the reason.

I’m using a package from my distro which is compiled on stable version only
https://www.clearos.com/marketplace/ser ... Automation

Re: machinon theme

Posted: Friday 27 November 2020 21:22
by waaren
DewGew wrote: Friday 27 November 2020 19:54 I cant get graph zoom work correct when select only one graph.
Works like a charm on my system. Tested with temperature, custom sensor and percentage

Re: machinon theme

Posted: Friday 27 November 2020 23:17
by DewGew
waaren wrote: Friday 27 November 2020 21:22
DewGew wrote: Friday 27 November 2020 19:54 I cant get graph zoom work correct when select only one graph.
Works like a charm on my system. Tested with temperature, custom sensor and percentage
Check this issue on github https://github.com/domoticz/Machinon/issues/58

Re: machinon theme

Posted: Saturday 28 November 2020 0:07
by waaren
DewGew wrote: Friday 27 November 2020 23:17 Check this issue on github https://github.com/domoticz/Machinon/issues/58
OK. See the same but is not a Machinon issue. Same behavior with default theme.

Re: machinon theme

Posted: Monday 30 November 2020 17:26
by Plantje
Got notified that version 16.3 and 17.1 are available. But on the website I only see 16.2

Are these bètas?

Re: machinon theme

Posted: Monday 30 November 2020 18:49
by madpatrick
I've updated the MAchinon theme to 1.17.1 with github, but I still get the popoup messaga that there is an update to 1.17.1

In theme.json is see

Code: Select all

    "type": "theme",    
    "name": "Machinon",
    "description": "Machinon custom theme, simple and light",
    "license": "GNU General Public License v3.0",
    "version":"1.17.1",
    "author": "EdddieN",
    "homepage": "https://www.github.com/domoticz/Machinon",
    "wiki": "https://www.domoticz.com/wiki/Machinon_Theme",
In setting/theme is see

Code: Select all

Machinon theme V.1.16.2