I noticed earlier today that since the last Domoticz beta (Version: 2020.1 (build 11835)) switches no longer have buttons. It looks they have gone
Buttons in switches no longer visible Topic is solved
Moderator: leecollings
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Buttons in switches no longer visible
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: Buttons in switches no longer visible
Hi, I had the same issue.
I guess you have updated Domoticz to the latest beta. It looks like Domoticz have changed the way they number versions, therefore version.js oin Dashticz cannot compare anylonger as a number, to determine Base64 encoding of selector switches.
Temporary solution i applied for latest Domoticz beta, while waiting for Lokolni & co. to take it over (please):
I guess you have updated Domoticz to the latest beta. It looks like Domoticz have changed the way they number versions, therefore version.js oin Dashticz cannot compare anylonger as a number, to determine Base64 encoding of selector switches.
Temporary solution i applied for latest Domoticz beta, while waiting for Lokolni & co. to take it over (please):
- Navigate to Dashticz installation path
cd js folder
make backup of version.js file
edit version.js:
change the row
var levelNamesEncoded = false;
to
var levelNamesEncoded = true;
Towards the bottom, in the last ajax call branch, comment the row
// levelNamesEncoded = (Number(data.version) >= Number(levelNamesEncodeVersion));
Save the file version.js
Refresh Dashticz page in the browser: that's it.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Buttons in switches no longer visible
Thanks
When I comment the row with // dashticz isn't loading at all anymore, but when I do /* .... */ it does.
Anyway, I've a working system again
When I comment the row with // dashticz isn't loading at all anymore, but when I do /* .... */ it does.
Anyway, I've a working system again
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Buttons in switches no longer visible
Fixed in master, beta and blocks branch. I still have to update the version numbers.
Re: Buttons in switches no longer visible
Many thanks Lokonli, and wonderfully fast.
Updated and It works again, well done!
Updated and It works again, well done!
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Buttons in switches no longer visible
Indeed, Thanks Lokonil and others that help keep dasthicz running
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Who is online
Users browsing this forum: No registered users and 1 guest