I had same problem, i had to clear localstorage in my webbrowser. try that first.
Dashticz - Bug report
Moderator: leecollings
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Bug report
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Bug report
I've cleared my browser already. It's the first thing I do after an update
Problem did still exists. I've removed the dashticz (beta) installation and did a new git pull --branche beta, restored custom folder and now it's working again. Strange behaviour.
Problem did still exists. I've removed the dashticz (beta) installation and did a new git pull --branche beta, restored custom folder and now it's working again. Strange behaviour.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Bug report
There was a small bug in the code from the speak_lang setting. It did overwrite the language, causing weird behaviour. I saw Rob just merged the PR's, so the problem should be gone.
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Bug report
If you are using chrome. try this:htilburgs wrote: ↑Friday 17 November 2017 10:02 I've cleared my browser already. It's the first thing I do after an update
Problem did still exists. I've removed the dashticz (beta) installation and did a new git pull --branche beta, restored custom folder and now it's working again. Strange behaviour.
Hit F12 the find the Application tab. find "storage" click at "local storage" then right click on your domoticz url and click clear.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Bug report
Thanx, that's new for me. Never to old to learn....DewGew wrote: ↑Friday 17 November 2017 10:08If you are using chrome. try this:htilburgs wrote: ↑Friday 17 November 2017 10:02 I've cleared my browser already. It's the first thing I do after an update
Problem did still exists. I've removed the dashticz (beta) installation and did a new git pull --branche beta, restored custom folder and now it's working again. Strange behaviour.
Hit F12 the find the Application tab. find "storage" click at "local storage" then right click on your domoticz url and click clear.
1 down, 1 to go....
Using Dashticz in IE11 gives error in beta since 16-11:
getBlock is niet gedefinieerd
main.js (276,8)
Code: Select all
line 276: getBlock(columns['bar'],'bar','div.screen'+s+' .row .colbar',false);
On my Microsoft Surface Pro 3 I have the same issue in IE11. In Google Chrome it still works...
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Bug report
I fixed it in a new PR Rob can merge. It looks like IE11 uses an older version of javascript. In the blocks-code some functionality from a newer version was used since it looks cleaner in code, but unfortunately it didn't work.htilburgs wrote: ↑Friday 17 November 2017 10:13 ...
Using Dashticz in IE11 gives error in beta since 16-11:
getBlock is niet gedefinieerd
main.js (276,8)
I'm using a Microsoft Surface RT and only have IE11 available.Code: Select all
line 276: getBlock(columns['bar'],'bar','div.screen'+s+' .row .colbar',false);
On my Microsoft Surface Pro 3 I have the same issue in IE11. In Google Chrome it still works...
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Bug report
It seems that custom.js is not loading in lataste beta?? or is it just my setup??
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Bug report
I don't use it myself, but if I test it with some simple logging to the console, I see that logging.
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Bug report
This dont work anymore:
Code: Select all
// Change block background color
function getStatus_245(idx,value,device){
if(device['Data']=='On'){
$('div.block_245').addClass('warning');
}
else {
$('div.block_245').removeClass('warning');
}
}
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Bug report
If I paste that in my custom.js it is executed.
with this css:
it is getting a red background if the device is on.
with this css:
Code: Select all
.warning {
background-color: red !important;
}
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Bug report
I can confirm.
In latest Stable version custom.js still works
in latest Beta versieon custom.js is broken
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Bug report
Can it be something that has to do with this change?
It looks like the execution of getStatus_* is now depending on more settings, which might initially not be set at all:
Code: Select all
if(typeof(onOffstates[idx])!=='undefined' && value!==onOffstates[idx]){
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Bug report
Yes it does. I commented that part out and now its working. How can we get around this issue?aiolos wrote: ↑Friday 17 November 2017 13:52Can it be something that has to do with this change?
It looks like the execution of getStatus_* is now depending on more settings, which might initially not be set at all:Code: Select all
if(typeof(onOffstates[idx])!=='undefined' && value!==onOffstates[idx]){
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Bug report
Move the try-catch outside the if statement for the onOffStates. It was not in there before the change, so it is not necessary for the getStatus_* function.
Edit: I think it is even better to move the code for the sound or speak to the triggerChange function. That function already handles the case where a status has changed. Now there is quite some duplication between triggerStatus() and triggerChange()
Edit: I think it is even better to move the code for the sound or speak to the triggerChange function. That function already handles the case where a status has changed. Now there is quite some duplication between triggerStatus() and triggerChange()
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Bug report
I made a PR to fix this ..aiolos wrote: ↑Friday 17 November 2017 13:52Can it be something that has to do with this change?
It looks like the execution of getStatus_* is now depending on more settings, which might initially not be set at all:Code: Select all
if(typeof(onOffstates[idx])!=='undefined' && value!==onOffstates[idx]){
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Bug report
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Bug report
Bugfix is now merged on latest betahtilburgs wrote:
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
- gijsje
- Posts: 132
- Joined: Saturday 19 August 2017 14:28
- Target OS: NAS (Synology & others)
- Domoticz version: Stable
- Location: Berkel Enschot, NL
- Contact:
Re: Dashticz - Bug report
I have a radiator valve from smartwares with type "Radiator 1" in domoticz and this shows up as light switch in dasticz.
I also have the thermostat with type "Thermostat" that shows as thermostat in Dashticz what is correct.
Could you change it somehow that the "Radiator 1" also shows that you can change the temperature?
I also have the thermostat with type "Thermostat" that shows as thermostat in Dashticz what is correct.
Could you change it somehow that the "Radiator 1" also shows that you can change the temperature?
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - Bug report
Could you send me the device output from Domoticz of that device?
- gijsje
- Posts: 132
- Joined: Saturday 19 August 2017 14:28
- Target OS: NAS (Synology & others)
- Domoticz version: Stable
- Location: Berkel Enschot, NL
- Contact:
Re: Dashticz - Bug report
How can i get this?
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
Who is online
Users browsing this forum: No registered users and 0 guests