Posts: 90
Threads: 11
Joined: Jan 2016
Reputation:
0
Hi
I need a script to control the previous state of an object 1/1/1.
1/1/1 is off or on
If 1/1/2 is on then 1/1/1 is on and when 1/1/2 became off then 1/1/1 will be in the last status before 1/1/2 was on.
Thanks
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
17.07.2016, 22:35
(This post was last modified: 17.07.2016, 22:38 by Erwin van der Zwart.)
Hi,
You can store the original value of 1/1/1 into the storage when 1/1/2 is change to 1, when 1/1/2 goes to 0 then grab previous saved state of 1/1/1 from storage and write that value to 1/1/1
To store use:
storage.set('state', grp.getvalue('1/1/1'))
To write back use:
grp.write('1/1/1', storage.get('state'))
BR,
Erwin
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
Just run the script once and it will set the storage value. Empty storage value is nil.
Posts: 90
Threads: 11
Joined: Jan 2016
Reputation:
0
Hello Mr. Erwin,
I have downloaded the Wiser app from Play store and I tried to create an account.
I followed the steps according to the introductions and in the last step after the MAC entering it returns me an error "Wiser for KNX not known by the system. Contact the technical support team to continue."
Thanks in advance for your help!
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
(01.04.2021, 07:33)XSPA2474KW Wrote: Hello Mr. Erwin,
I have downloaded the Wiser app from Play store and I tried to create an account.
I followed the steps according to the introductions and in the last step after the MAC entering it returns me an error "Wiser for KNX not known by the system. Contact the technical support team to continue."
Thanks in advance for your help!
Erwin or anybody here will not be able to help you. Contact SE support. You probably have old HW which is not registered.
PS. Please do not mix up threads with different questions. It is impossible to find anything later.
------------------------------
Ctrl+F5
Posts: 90
Threads: 11
Joined: Jan 2016
Reputation:
0
Can you suggest to me someone who is responsible from SE support?
Thanks
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
The official path for support is contacting your customer care center (ccc) in your country, they will create a case that can be escalated to the highest level of support.
I answered your PM, just as Daniel suspect i guess you have a very old HW1 homeLYnk that is not known in the system, it can be added manually if needed but requires some steps to create the open VPN key of your device that needs to be added to our cloud.
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
Solved:
Seems to be a spaceLYnk.. Wiser for KNX remote cannot be used on a SL, you need a Wiser for KNX for that ..