reading environment variables
Moderator: leecollings
-
- Posts: 15
- Joined: Sunday 27 December 2020 22:55
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Netherlands
- Contact:
reading environment variables
Does anyone know if (and how) system environment variables can be read in a dzVents script?
- waltervl
- Posts: 5730
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: reading environment variables
You can use a shellcommand to list them with a standard Unix/windows command and parse the command output (.data) into Dzvents. See more info in
https://www.domoticz.com/wiki/DzVents:_ ... _execution
https://www.domoticz.com/wiki/DzVents:_ ... _execution
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest