machinon theme Topic is solved

Moderator: leecollings

PeJeWe
Posts: 56
Joined: Monday 28 November 2016 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: machinon theme

Post 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.
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: machinon theme

Post by waltervl »

Did you clear your browser cache?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
PeJeWe
Posts: 56
Joined: Monday 28 November 2016 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: machinon theme

Post 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
Last edited by PeJeWe on Monday 27 June 2022 21:32, edited 1 time in total.
PeJeWe
Posts: 56
Joined: Monday 28 November 2016 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: machinon theme

Post 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'
besix
Posts: 99
Joined: Friday 25 January 2019 11:33
Target OS: Linux
Domoticz version: beta
Location: Poland
Contact:

Re: machinon theme

Post 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
User avatar
Xenomes
Posts: 379
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: machinon theme

Post 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 3548 times
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
besix
Posts: 99
Joined: Friday 25 January 2019 11:33
Target OS: Linux
Domoticz version: beta
Location: Poland
Contact:

Re: machinon theme

Post by besix »

Thank you for your response . I have an identical DELL Wyse 5060 environment. Ubuntu 20.04
Ouate
Posts: 36
Joined: Thursday 03 August 2017 15:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: machinon theme

Post by Ouate »

the best theme : Machinon, is not working anymore with 2022 update :(
missing it !
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: machinon theme

Post by DewGew »

Still works for me. What is your issue?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Ouate
Posts: 36
Joined: Thursday 03 August 2017 15:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: machinon theme

Post 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
User avatar
Xenomes
Posts: 379
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: machinon theme

Post 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.
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Ouate
Posts: 36
Joined: Thursday 03 August 2017 15:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: machinon theme

Post 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
Bidibulle
Posts: 7
Joined: Wednesday 22 May 2019 22:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11361
Location: Paris
Contact:

Re: machinon theme

Post 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
Erwanweb
Posts: 10
Joined: Monday 05 November 2018 9:16
Target OS: Linux
Domoticz version: lastest
Location: Barcelona (Spain)
Contact:

Re: machinon theme

Post 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 1915 times
after-login.png
after-login.png (68.05 KiB) Viewed 1915 times
User avatar
Xenomes
Posts: 379
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: machinon theme

Post 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 🤷🏻‍♂️
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Erwanweb
Posts: 10
Joined: Monday 05 November 2018 9:16
Target OS: Linux
Domoticz version: lastest
Location: Barcelona (Spain)
Contact:

Re: machinon theme

Post 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.
User avatar
Xenomes
Posts: 379
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: machinon theme

Post 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.
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Erwanweb
Posts: 10
Joined: Monday 05 November 2018 9:16
Target OS: Linux
Domoticz version: lastest
Location: Barcelona (Spain)
Contact:

Re: machinon theme

Post 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 !
fab85170
Posts: 4
Joined: Monday 18 January 2021 14:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: machinon theme

Post by fab85170 »

Hi, does somebody has found a solution? Thanks
User avatar
Xenomes
Posts: 379
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: machinon theme

Post 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.
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest