Edit button on switches not working

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Andrex
Posts: 92
Joined: Thursday 18 February 2016 9:11
Target OS: Linux
Domoticz version:
Contact:

Edit button on switches not working

Post by Andrex »

Fresh Ubuntu 16.04 installation with Domoticz 3.5837 and Node-red, nothing else.
On most of the switches if I click on the "Edit" button, nothing happen.
Developer options of FireFox show me this error:

Code: Select all

TypeError: ssLevelActions is undefined
EditLightDevice()
LightsController.js:1483
onclick()
192.168.0.29:1
[Learn More]
the "Learn More" links here https://developer.mozilla.org/en-US/doc ... ected_type, something I really don't understand! :oops:
On switches that does work (7 out of 22) I don't get that message
What could the cause be?
Thanks,
Andrea
User avatar
bobkersten
Posts: 34
Joined: Tuesday 06 October 2015 9:17
Target OS: Linux
Domoticz version: beta
Location: Venray
Contact:

Re: Edit button on switches not working

Post by bobkersten »

What kind of switches are they? Selector switches? For dummy devices or some other kind of device?

And could you try a different browser, like chrome? I can't seem to reproduce the error you're describing.
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
Andrex
Posts: 92
Joined: Thursday 18 February 2016 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Edit button on switches not working

Post by Andrex »

They're all dummy "Selector Switch" and I just realizethat the switches where the "Edit" button works are just "Switch", in all the "Selector Switches" the "Edit" button doesn't work.
Are they intended to work this way?

I've tried with Chrome and the behavior is the same.
Andrea
User avatar
bobkersten
Posts: 34
Joined: Tuesday 06 October 2015 9:17
Target OS: Linux
Domoticz version: beta
Location: Venray
Contact:

Re: Edit button on switches not working

Post by bobkersten »

I think those switches are somehow corrupted. Can you try recreating one of those buttons again and see if that solves the issue? I'd like to see a screenshot of one of those switch widgets. When I create a selector switch directly by "Create Virtual Sensor" and select Selector from the list I get a different device than when I create a dummy switch and change it to Selector in the edit screen. Options from the first one are then also visible on the other, so this system is kind-a buggy.
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
Andrex
Posts: 92
Joined: Thursday 18 February 2016 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Edit button on switches not working

Post by Andrex »

Attached a screenshot.
I've just recreated and the edit button works, as soon as I've changed the "Switch Type" from "Selector" to "On/Off", the edit button doesn't work anymore
Attachments
Screenshot from 2016-11-02 19-34-33.png
Screenshot from 2016-11-02 19-34-33.png (165.51 KiB) Viewed 1967 times
peteralm
Posts: 31
Joined: Saturday 08 August 2015 0:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Oxfordshire, UK
Contact:

Re: Edit button on switches not working

Post by peteralm »

Now, this may be related...

I can no longer create a dummy selector switch. I have managed to create some a while ago and they work fine as selectors for my hive heating. I wanted to create another and created a new dummy switch.
Upon editing the switch to choose "selector" there is no action section to the page and the options start with "undefined" rather than "off". The switch does not save and when editing the switch a second time it is back to selector and the icon drop down is empty.

I have cleared the caches, run in incogneto mode and tried on a mobile browser all to no avail.

Peter
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: Edit button on switches not working

Post by Domosapiens »

Try to create it as selector
and not editing the switch towards selector.
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
xxLeoxx93
Posts: 16
Joined: Wednesday 22 March 2017 21:48
Target OS: Windows
Domoticz version:
Contact:

Re: Edit button on switches not working

Post by xxLeoxx93 »

I've the same problem. Now I can't do anything with my sitch because I cant edit it. Even deactivateing and activateing doesn't help. Any way to completly reset a single device?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest