Page 35 of 36

Re: machinon theme

Posted: Thursday 23 June 2022 9:56
by PeJeWe
madpatrick wrote: Thursday 23 June 2022 9:48 Do you see the same in your view as this ?

2022-06-23 09_46_54-Domoticz - Instellingen.png
2022-06-23 09_49_08-Domoticz - Instellingen.png
I can select the theme, and select and apply.
I see the white type
i only cant edit/customize the theme
how to open themesettings.html
buttons are not visible in the white theme and i can't change to the dark version.

Re: machinon theme

Posted: Saturday 25 June 2022 0:38
by waltervl
Did you clear your browser cache?

Re: machinon theme

Posted: Saturday 25 June 2022 7:30
by PeJeWe
waltervl wrote: Saturday 25 June 2022 0:38 Did you clear your browser cache?
Yes, I have done that several times.
And reinstalled it with and without the " theme manager"
Also tried with different browsers
Edit:
I have now placed the themesettings.html file to the custom directory.
I have the tab themes themesettings, I can open it.
It not saving my settings when I push the save button
Edit:
I have created the directory "acttheme" in the www directory
I still can't edit the theme settings
Cleared the cache afterwards

Re: machinon theme

Posted: Monday 27 June 2022 21:29
by PeJeWe
I have removed the directory Machinon from the styles directory.
restarted domoticz sudo systemctl restart domoticz.service
Cleared the total history of chrome
Installed the Machinon theme with the "domoticz theme manager" again
This i get from the install debug:

Code: Select all

2022-06-27 21:22:35.176 Machinon : Worker thread started.
2022-06-27 21:22:35.611 Machinon : Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2022-06-27 21:22:35.611 Machinon : 'HardwareID':'13'
2022-06-27 21:22:35.611 Machinon : 'HomeFolder':'/home/pi/domoticz/plugins/THEME-MANAGER/'
2022-06-27 21:22:35.611 Machinon : 'StartupFolder':'/home/pi/domoticz/'
2022-06-27 21:22:35.611 Machinon : 'UserDataFolder':'/home/pi/domoticz/'
2022-06-27 21:22:35.611 Machinon : 'Database':'/home/pi/domoticz/domoticz.db'
2022-06-27 21:22:35.611 Machinon : 'Language':'nl'
2022-06-27 21:22:35.611 Machinon : 'Version':'1.0.1'
2022-06-27 21:22:35.611 Machinon : 'Author':'galadril'
2022-06-27 21:22:35.611 Machinon : 'Name':'Machinon '
2022-06-27 21:22:35.611 Machinon : 'Port':'0'
2022-06-27 21:22:35.611 Machinon : 'Key':'THEME-MANAGER'
2022-06-27 21:22:35.611 Machinon : 'Mode2':'Machinon'
2022-06-27 21:22:35.612 Machinon : 'Mode4':'All'
2022-06-27 21:22:35.612 Machinon : 'Mode6':'Debug'
2022-06-27 21:22:35.612 Machinon : 'DomoticzVersion':'2022.1 (build 14352)'
2022-06-27 21:22:35.612 Machinon : 'DomoticzHash':'5765540b9'
2022-06-27 21:22:35.612 Machinon : 'DomoticzBuildTime':'2022-06-03 07:39:12'
2022-06-27 21:22:35.612 Machinon : Device count: 0
2022-06-27 21:22:35.627 Machinon : Domoticz Node Name is:DM
2022-06-27 21:22:35.627 Machinon : Domoticz Platform System is:Linux
2022-06-27 21:22:35.627 Machinon : Domoticz Platform Release is:5.10.103-v7+
2022-06-27 21:22:35.627 Machinon : Domoticz Platform Version is:#1529 SMP Tue Mar 8 12:21:37 GMT 2022
2022-06-27 21:22:35.627 Machinon : Default Python Version is:3.7.3.
2022-06-27 21:22:35.627 Machinon : Checking for Exception file on:/home/pi/domoticz/plugins/THEME-MANAGER/exceptions.txt
2022-06-27 21:22:35.628 Machinon : self.ExceptionList:[]
2022-06-27 21:22:35.628 Machinon : Updating All Plugins!!!
2022-06-27 21:22:35.628 Machinon : Plugin:simple-blue cannot be managed with THEME-MANAGER!!.
2022-06-27 21:22:35.628 Machinon : Plugin:default cannot be managed with THEME-MANAGER!!.
2022-06-27 21:22:35.628 Machinon : Plugin:simple-gray cannot be managed with THEME-MANAGER!!.
2022-06-27 21:22:35.628 Machinon : Plugin:element-light cannot be managed with THEME-MANAGER!!.
2022-06-27 21:22:35.628 Machinon : Plugin:dark-th3me cannot be managed with THEME-MANAGER!!.
2022-06-27 21:22:35.628 Machinon : Plugin:element-dark cannot be managed with THEME-MANAGER!!.
2022-06-27 21:22:35.628 Machinon : Plugin:elemental cannot be managed with THEME-MANAGER!!.
2022-06-27 21:22:35.628 Machinon : Checking for dir:/home/pi/domoticz/www/styles/Machinon
2022-06-27 21:22:35.628 Machinon : Installation requested for Theme:Machinon
2022-06-27 21:22:35.628 Machinon : Installation URL is:https://github.com/domoticz/Machinon
2022-06-27 21:22:35.628 Machinon : Current Working dir is:/home/pi/domoticz
2022-06-27 21:22:35.628 Machinon : Theme Display Name:Machinon
2022-06-27 21:22:35.628 Machinon : Theme Author:domoticz
2022-06-27 21:22:35.628 Machinon : Theme Repository:Machinon
2022-06-27 21:22:35.628 Machinon : Theme Key:Machinon
2022-06-27 21:22:35.628 Machinon : Theme Branch:master
2022-06-27 21:22:35.628 Machinon : InstallPythonPlugin called
2022-06-27 21:22:35.628 Machinon : Installing Theme:Machinon
2022-06-27 21:22:35.628 Machinon : Calling:LANG=en_US /usr/bin/git clone -b master https://github.com/domoticz/Machinon.git Machinon
2022-06-27 21:22:35.175 Status: Machinon : Entering work loop.
2022-06-27 21:22:35.176 Status: Machinon : Started.
2022-06-27 21:22:35.609 Status: Machinon : Initialized version 1.0.1, author 'galadril'
Image

in the domoticz log i see every minute:

Code: Select all

2022-06-27 21:44:12.025 Machinon : Pushing 'onHeartbeatCallback' on to queue
2022-06-27 21:44:12.075 Machinon : Processing 'onHeartbeatCallback' message
2022-06-27 21:44:12.075 Machinon : Acquiring GIL for 'onHeartbeatCallback'
2022-06-27 21:44:12.075 Machinon : Calling message handler 'onHeartbeat' on 'module' type object.
2022-06-27 21:44:12.076 Machinon : onHeartbeat called
2022-06-27 21:44:12.076 Machinon : Current time:21:44
2022-06-27 21:44:12.076 Machinon : Acquiring GIL for 'onHeartbeatCallback'
2022-06-27 21:45:12.024 Machinon : Pushing 'onHeartbeatCallback' on to queue
2022-06-27 21:45:12.075 Machinon : Processing 'onHeartbeatCallback' message
2022-06-27 21:45:12.075 Machinon : Acquiring GIL for 'onHeartbeatCallback'
2022-06-27 21:45:12.075 Machinon : Calling message handler 'onHeartbeat' on 'module' type object.
2022-06-27 21:45:12.075 Machinon : onHeartbeat called
2022-06-27 21:45:12.075 Machinon : Current time:21:45
2022-06-27 21:45:12.075 Machinon : Acquiring GIL for 'onHeartbeatCallback'
2022-06-27 21:46:12.028 Machinon : Pushing 'onHeartbeatCallback' on to queue
2022-06-27 21:46:12.078 Machinon : Processing 'onHeartbeatCallback' message
2022-06-27 21:46:12.078 Machinon : Acquiring GIL for 'onHeartbeatCallback'
2022-06-27 21:46:12.078 Machinon : Calling message handler 'onHeartbeat' on 'module' type object.
2022-06-27 21:46:12.078 Machinon : onHeartbeat called
2022-06-27 21:46:12.079 Machinon : Current time:21:46
2022-06-27 21:46:12.079 Machinon : Acquiring GIL for 'onHeartbeatCallback'

Re: machinon theme

Posted: Tuesday 12 July 2022 9:25
by besix
Does anyone use this theme successfully in the latest domoticz beta versions?
With Version: 2022.1 (build 14318) everything works.
Later versions of the website are always unavailable after a few seconds, despite the fact that domoticz works
Clearing the cache.
Installing the theme from the beginning.
Nothing

Re: machinon theme

Posted: Tuesday 12 July 2022 20:42
by Xenomes
Yep I am using it successfully. Version: 2022.1 (build 14382)
2022-07-12 20_35_18-Rekenmachine.png
2022-07-12 20_35_18-Rekenmachine.png (386.55 KiB) Viewed 3551 times

Re: machinon theme

Posted: Wednesday 13 July 2022 8:11
by besix
Thank you for your response . I have an identical DELL Wyse 5060 environment. Ubuntu 20.04

Re: machinon theme

Posted: Saturday 12 November 2022 13:40
by Ouate
the best theme : Machinon, is not working anymore with 2022 update :(
missing it !

Re: machinon theme

Posted: Sunday 13 November 2022 16:18
by DewGew
Still works for me. What is your issue?

Re: machinon theme

Posted: Sunday 13 November 2022 20:50
by Ouate
DewGew wrote:Still works for me. What is your issue?
The settings button for the theme is not showing anymore.
The apparence is broken, I can't see the header.

Is your machinon theme working on 2022.2 ?


Aurora theme is not working too

Re: machinon theme

Posted: Sunday 13 November 2022 22:39
by Xenomes
Here also on 2022.2 no problem with the theme. Try incognito mode in you browser to dubbel check if it is not working.

Re: machinon theme

Posted: Monday 14 November 2022 8:36
by Ouate
I tried many times to delete, update, try beta, cache etc .. etc... without success.

I tried again everything, now, it's a miracle, it works again ! nice :!:

thanks guys for your help :D

Re: machinon theme

Posted: Friday 16 December 2022 21:30
by Bidibulle
Hello everyone,

Since the last 2 versions of Domoticz, Machinon displays each device across the width of the page.
I tried emptying the cache, in private and on another browser and nothing worked.

Domoticz Version: 2022.2 (build 14855)
Machinon V.1.17.5
Raspberry Pi3 - Debian 10 (buster)

Before update Domoticz - OK
Image

After update Domoticz - Machinon Broken
Image

Re: machinon theme

Posted: Sunday 26 February 2023 11:37
by Erwanweb
Hi,

I have some problem with the theme, at first connexion, page haven't style (white).
I use the dark style, but this is not the problem.

In fact, at first connexion, login page have not style, but can enter credential and clic to connect. After be connected, dashboard haven't too style, need to refresh, and it is ok with style.

If go to setup and clic deconnect, login page have style, if refresh the login page, come back to white login page without style.

I tryed this on PC with firefox and Chrome, on iphone with chrome and Safari, all same issue.
Also on 3 differents installations, buster and 2022.1, ubuntu 20.04 2022.2 and 2023.1, all same issue.

Someone have an idea for this issue ?
first-login.png
first-login.png (17.13 KiB) Viewed 1918 times
after-login.png
after-login.png (68.05 KiB) Viewed 1918 times

Re: machinon theme

Posted: Sunday 26 February 2023 20:43
by Xenomes
Erwanweb wrote: Sunday 26 February 2023 11:37 Someone have an idea for this issue ?
The problem is, when you connect to the first time your are not login so the files for the theme can not be loaded by the browser. When you are login and refresh the files are available so loaded, is it a bug or good security 🤷🏻‍♂️

Re: machinon theme

Posted: Monday 27 February 2023 10:25
by Erwanweb
Xenomes wrote: Sunday 26 February 2023 20:43
Erwanweb wrote: Sunday 26 February 2023 11:37 Someone have an idea for this issue ?
The problem is, when you connect to the first time your are not login so the files for the theme can not be loaded by the browser. When you are login and refresh the files are available so loaded, is it a bug or good security 🤷🏻‍♂️
So, @Xenomes you have the same issue ?
I really do not think this is the way. It seem more that there is a bug reading the first time the style file or something like this.
For many reason. if it is like you wrote, normally login page need to be the standard of domoticz, no ? But it seem when i check that custom.js is read. So i think it is one other think that security reason.

Re: machinon theme

Posted: Monday 27 February 2023 11:45
by Xenomes
Erwanweb wrote: Monday 27 February 2023 10:25 So, @Xenomes you have the same issue ?
Yes, every first login after a cache clear, everything is blank and need a manual refresh/reload after that is keeps loading (from cache) until the next cache clear.

Re: machinon theme

Posted: Monday 27 February 2023 12:05
by Erwanweb
Xenomes wrote: Monday 27 February 2023 11:45
Erwanweb wrote: Monday 27 February 2023 10:25 So, @Xenomes you have the same issue ?
Yes, every first login after a cache clear, everything is blank and need a manual refresh/reload after that is keeps loading (from cache) until the next cache clear.
Ok, i think it is because for style, the theme use uservariable from domoticz, so like this sure if not yet logged, it cannot take it.
I will check if i otherway... But if someone have one idea for that, i take it !

Re: machinon theme

Posted: Tuesday 21 March 2023 9:38
by fab85170
Hi, does somebody has found a solution? Thanks

Re: machinon theme

Posted: Tuesday 21 March 2023 22:10
by Xenomes
Erwanweb wrote: Monday 27 February 2023 12:05 Ok, i think it is because for style, the theme use uservariable from domoticz, so like this sure if not yet logged, it cannot take it.
I will check if i otherway... But if someone have one idea for that, i take it !
I think you are correct! I save my password 😳 then it is working the next time you open Domoticz. When the Variables are not available the white screen is there.
Edit:
I edit the theme.json to my settings in Domoticz it looks like this is working.
Edit2: It do something local but not 100% the result i hoped to see.