Page 1 of 1
App code modification - ClimateControl
Posted: 03 Feb 2019 16:11
by Arek
Hello
how can I modify installed app code (ClimateControl)? I want to change one value in code but I don't know how to reach it
Re: App code modification
Posted: 05 Feb 2019 02:32
by PoltoS
Go in /opt/z-way-server/automation/userModules
Re: App code modification
Posted: 05 Feb 2019 21:57
by Arek
I did make some changes in Heating app (try to change frost protection from 6 to 8 degree) by modify index.js file (of course I saved an _old version
) but nothing did change... Do I need to "re-install" app in Z-Wave Smart Home?
edit
ok, I did work in wrong folder (modules). I change Frost Protection to 8 degree, now is working
BUT (always there is but)
When I want to extend temp list (adding 27.5 and 28 in 4 places in module.json file) ClimateControl stops working
Can someone said what I'm doing wrong?
Code: Select all
"temperature": {
"title": "__m_comfort__",
"required": false,
"enum": [
"14",
"14.5",
"15",
"15.5",
"16",
"16.5",
"17",
"17.5",
"18",
"18.5",
"19",
"19.5",
"20",
"20.5",
"21",
"21.5",
"22",
"22.5",
"23",
"23.5",
"24",
"24.5",
"25",
"25.5",
"26",
"26.5",
"27",
"27.5",
"28",
"F",
"E",
"C"
Re: App code modification - ClimateControl
Posted: 07 Feb 2019 02:47
by PoltoS
You need to edit it in schema and in the labels part
Re: App code modification - ClimateControl
Posted: 07 Feb 2019 02:48
by PoltoS
Does your thermostat report min temperature to use it by default instead of 6?
Re: App code modification - ClimateControl
Posted: 07 Feb 2019 12:43
by Arek
I couldn't find information about reporting min/max available temp. There is only info in technical data that min is 8 and max is 28. When I have clicked Frost Protection nothing was happen and error was registered in event report
Re: App code modification - ClimateControl
Posted: 11 Feb 2019 05:47
by PoltoS
You can check in the Thermostat Setpoint CC min and max value