Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for write parameters #35

Open
IllegalDuke opened this issue Nov 1, 2022 · 2 comments
Open

Request for write parameters #35

IllegalDuke opened this issue Nov 1, 2022 · 2 comments

Comments

@IllegalDuke
Copy link
Contributor

Hello,

in the issue: [ "Mischkreis1" (MK1) missing #26 ] you implemented the MK1 values. -> Thank you for that!

Is it possible to write the MK1 values?
Especially these values are very interesting for me to better pre-heat my MK1 - Fußbodenheizung during the day with Photovoltaik-Power:
mk1_curve_end_point: 26
mk1_curve_parallel_offset: 26
deltaMk1Reduction: 0

And this value for the heating would also help much:
deltaHeatingReduction: 0

Can you please implement this?

Thank you very much!

Best Regards and greetings from Germany ;-)
Daniel

@coolchip
Copy link
Owner

coolchip commented Nov 3, 2022

Hello Daniel,
the most Paramters are also writeable. The best way would be to test it. Perhaps you want to give it a try?

@IllegalDuke
Copy link
Contributor Author

IllegalDuke commented Nov 3, 2022

Hello,
I think my problem then is, that I am using the IOBroker Adapter from UncleSamSwiss and he just allows to write the implemented parameters in your script.
So I think I would need these parameters in the following code area:
Luxtronik.prototype._handleWriteCommand = function (parameterName, realValue, callback) { const writeParameters = Object.freeze({

and add this for MK1 as it is already there for the "Heizkurve":

'heating_curve_parallel_offset': { setParameter: 12, setValue: utils.value2LuxtronikSetTemperatureValue(utils.limitRange(realValue, 15, 45)) },

I can try it by importing your script in IOBroker, but can you please adivise how I can write the parameter on my own?
Do I have to add it there(in your code) on my own or is there another function to write parameters, which are not pre-defined?

Sorry, I am a "beginner" in JavaScript, not a expert... yet ;-)

BR
Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants