How to get access to Setup-Settings-System Name in LUA

Moderator: leecollings

Post Reply
eagapov
Posts: 10
Joined: Wednesday 13 August 2014 9:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: St.Petersburg, Russia
Contact:

How to get access to Setup-Settings-System Name in LUA

Post by eagapov »

Hello,

I have a couple of identical computers with same scripts, and only difference is System Name in Setup-Settings-System-Location-Name.
How I can access to it in LUA to send notifications via Telegram when any device changed like "System 1: Device 1 changed" instead of "Device 1 changed"?

Thank you in advance,
Evgeny
alkempter
Posts: 26
Joined: Sunday 17 February 2019 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: How to get access to Setup-Settings-System Name in LUA

Post by alkempter »

Hi,
I'd also be interested in that.
I currently am using a uservariable that is different and contains the string I want to have in the output, but having one uservariable less would be nice.
Any help is appreciated.
Thanks in advance!
Cheers Al
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: How to get access to Setup-Settings-System Name in LUA

Post by erem »

this thread has the answer you seek
https://www.domoticz.com/forum/viewtopic.php?t=23984
Regards,

Rob
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest