Script get a text or value to counter

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Script get a text or value to counter

Post by Krenstik »

HI,

I reading data usage from Synology router via SNMP and I get text or value, but I wish to have it counter, but to be honest I spend a week to understand a any kind of script without result.

SO can any one of you please make for me a stupid simple script that takes a value from virtual / or text (I have both) and put it in the counter?

Device id is 682 - Data: "5398910887", (HardwareName: "SNMP Router upx",)
or
device is 688- Data: "5.3991e+09 ",

and virtual counter is a 689

Thank you........
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest