I want am looking at first
reading the data off my stella values through a browser
then setting thermostatmodes and thermostat temperatures through the browser
is there a list of commands I can send to port 8083 through the browser
Stella Z, JS and razberry
Re: Stella Z, JS and razberry
The short answer is yes. See developers documentation chapter 7 (see http://razberry.zwave.me/index.php?id=5)tonyg wrote:is there a list of commands I can send to port 8083 through the browser
That is a long list.
I think it is better if you could indicate what you want to achieve. In the Recipes forum I have written a Recipe about controlling StellaZ with the automation engine as an example. What else do you need?
Since 29-12-2016 I am no longer a moderator for this forum
Re: Stella Z, JS and razberry
zway.devices[N].ThermostatMode.Set(x)
Yes , the recipe is very interesting.
So can I put this in the browser for the right device and mode and it will change the mode?
Also I would like to be able to change the thermostat temperature.
I am also looking to ask the stella z for the current temperature, battery level etc.
Yes , the recipe is very interesting.
So can I put this in the browser for the right device and mode and it will change the mode?
Also I would like to be able to change the thermostat temperature.
I am also looking to ask the stella z for the current temperature, battery level etc.
Re: Stella Z, JS and razberry
I am confused. What do you mean by put in the browser? The command as a URL? or do you want to make your own web applicationtonyg wrote: So can I put this in the browser for the right device and mode and it will change the mode?
Since 29-12-2016 I am no longer a moderator for this forum
Re: Stella Z, JS and razberry
apologies. I test out in the browser , but I have an application which can make requests to the browser and parse the json etc.
localhost:8083/zway.devices[6].ThermostatMode.Set(11)
so will that change the thermostat mode for device 6 to 11
I am also looking for command to change the setpoint for each mode.
And I am looking for how to recover the temperature / battery meter etc
localhost:8083/zway.devices[6].ThermostatMode.Set(11)
so will that change the thermostat mode for device 6 to 11
I am also looking for command to change the setpoint for each mode.
And I am looking for how to recover the temperature / battery meter etc
Re: Stella Z, JS and razberry
I have 12+ of these StellaZ TRV's on my system and I control the setpoint via my virtual room stat's and receive pos %, temp and battery level automatically 
It's all via the z-way-server http port and via commands documented in the API

It's all via the z-way-server http port and via commands documented in the API
Using BMSLink https://linode.bmslink.co.uk with z-way-server. http://linode.bmslink.co.uk:4567
Re: Stella Z, JS and razberry
For the http access trytonyg wrote:apologies. I test out in the browser , but I have an application which can make requests to the browser and parse the json etc.
localhost:8083/zway.devices[6].ThermostatMode.Set(11)
so will that change the thermostat mode for device 6 to 11
I am also looking for command to change the setpoint for each mode.
And I am looking for how to recover the temperature / battery meter etc
Mode
http://raspberry_IP:8083/ZWaveAPI/Run/devices[6].ThermostatMode.Set(11)
battery
http://raspberry_IP:8083/ZWaveAPI/Run/devices[6].Battery.data.last.value
temperature
http://raspberry_IP:8083/ZWaveAPI/Run/devices[6].instances[0].SensorMultilevel.data[1].val.value
I am not sure about the value for instances in this last one
Consult datasheet of StellaZ and the Developers Documentation for further explanation
edit 19:21 In the temperature measurement, you probably can leave out the "instances[0]."
Since 29-12-2016 I am no longer a moderator for this forum
Re: Stella Z, JS and razberry
Thanks Pz1, I'll let you know how that goes!
Re: Stella Z, JS and razberry
To explain the following command, I have an ssh tunnel running from my localhost port 7000 to 8083 of the remote razberry host
http://localhost:7000/ZWaveAPI/Run/devi ... .val.value
This worked a treat and returned the value 23
http://localhost:7000/ZWaveAPI/Run/devi ... nt.Set(20)
I get
TypeError: Cannot read property 'Set' of undefined
http://localhost:7000/ZWaveAPI/Run/devi ... last.value
I get
68 (\o/)
http://localhost:7000/ZWaveAPI/Run/devi ... de.Set(11)
this returns null
Again I don't know if it has been set
http://localhost:7000/ZWaveAPI/Run/devi ... .val.value
This worked a treat and returned the value 23
http://localhost:7000/ZWaveAPI/Run/devi ... nt.Set(20)
I get
TypeError: Cannot read property 'Set' of undefined
http://localhost:7000/ZWaveAPI/Run/devi ... last.value
I get
68 (\o/)
http://localhost:7000/ZWaveAPI/Run/devi ... de.Set(11)
this returns null
Again I don't know if it has been set
Re: Stella Z, JS and razberry
1) check your results in the OLD expert view under /Device Control /Thermostats
2) Temperature setting for StellaZ
ZWaveAPI/Run/devices[N].instances[0].ThermostatSetPoint.Set(modus,SetTemp)
2) Temperature setting for StellaZ
ZWaveAPI/Run/devices[N].instances[0].ThermostatSetPoint.Set(modus,SetTemp)
Since 29-12-2016 I am no longer a moderator for this forum