Posts: 11
Threads: 1
Joined: Feb 2025
Reputation:
0
Morning everybody
I'm a beginner on wiser for knx. I want to read data sent from smartmeter 85A and then send instructions to an actuator interra 8CH depending on what i received from smartmeter 85A
Posts: 4842
Threads: 26
Joined: Aug 2017
Reputation:
222
You must import ETS project to LM and then create event based script on your active power object, paste this script and change 1/1/2 to the actuator group
------------------------------
Ctrl+F5
Posts: 1784
Threads: 6
Joined: Jul 2015
Reputation:
119
13.02.2025, 12:55
(This post was last modified: 13.02.2025, 12:56 by Erwin van der Zwart.)
Also use grp.checkwrite() instead of grp.write() to avoid sending true or false to the bus over and over again when within range..
Posts: 4842
Threads: 26
Joined: Aug 2017
Reputation:
222
if the event script is created on group 0/0/1 then both commands are equal.
------------------------------
Ctrl+F5
Posts: 4842
Threads: 26
Joined: Aug 2017
Reputation:
222
yes, each time your meter will send new value then the script will run. You can test it by selecting run script button.
------------------------------
Ctrl+F5
Posts: 11
Threads: 1
Joined: Feb 2025
Reputation:
0
Now i run script with infinite loop and i don't know how to stop it
Posts: 4842
Threads: 26
Joined: Aug 2017
Reputation:
222
Disable script and reboot lm. Do not write to the same group which is triggering the script
------------------------------
Ctrl+F5
Posts: 11
Threads: 1
Joined: Feb 2025
Reputation:
0
18.02.2025, 16:19
(This post was last modified: 18.02.2025, 16:29 by Fistel.)
Hello everybody
Is this possible to make one script based event and one another resident, and share one variable in the both ?
I meant, share the same variable in the both ?
Posts: 4842
Threads: 26
Joined: Aug 2017
Reputation:
222
Use storage or virtual group.
------------------------------
Ctrl+F5
Posts: 11
Threads: 1
Joined: Feb 2025
Reputation:
0
Please, can you be more explicit ?
Posts: 4842
Threads: 26
Joined: Aug 2017
Reputation:
222
Click on Storage in script helpers.
------------------------------
Ctrl+F5
Posts: 11
Threads: 1
Joined: Feb 2025
Reputation:
0
Thanks
how to proceed if i want to talk with an solar inventer ?
Posts: 11
Threads: 1
Joined: Feb 2025
Reputation:
0
I mean, i want to send and receive data packet with a solar energy system using modbus
Morning everyone