Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
Installation is siply using this pip command:
pip install luxtronik
Reading values
from luxtronik import Luxtronik
l = Luxtronik('192.168.1.23', 8889)
t_forerun = l.calculations.get("ID_WEB_Temperatur_TVL")
# alternatively get by id:
t_forerun = l.calculations.get(10)
print(t_forerun) # this returns the temperature value of the forerun, 22.7 for example
print(t_forerun.unit) # gives you the unit of the value if known, °C for example
# l.calculations holds measurement values
# check https://github.com/Bouni/luxtronik/blob/master/luxtronik/calculations.py for values you might need
# l.parameters holds parameter values
# check https://github.com/Bouni/luxtronik/blob/master/luxtronik/parameters.py for values you might need
# l.visibilitys holds visibility values, the function of visibilities is not clear at this point
check https://github.com/Bouni/luxtronik/blob/master/luxtronik/visibilities.py for values you might need
Writing values
from luxtronik import Luxtronik
l = Luxtronik('192.168.1.23', 8889)
heating_mode = l.parameters.set("ID_Ba_Hz_akt", "Party")
l.write()
# If you're not sure what values to write, you can get all options:
print(l.parameters.get("ID_Ba_Hz_akt").options) # returns a list of possible values to write, ['Automatic', 'Second heatsource', 'Party', 'Holidays', 'Off'] for example
By default a safeguard is enabled that prevents writing of parameters whose purpose is unknown.
You can disable that safeguard by passing safe=False
to the Luxtronik class.
from luxtronik import Luxtronik
l = Luxtronik('192.168.1.23', 8889, safe=False)
FAQs
A luxtronik heatpump controller interface
We found that luxtronik demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.