Celsius to Fahrenheit change [SOLVED]
Posted: 11 Sep 2015 03:36
I'm a newbie and having difficulty changing a Aeon Labs multisensor from Celsius to Fahrenheit. I contacted Aeon Labs and they were very helpful by indicating that I need to change the value for "scale" from 0 to 1. They did not offer instruction on how to do this for Z-Way.
I am able to access the value for scale by entering the following URL into my web browser:
http://MY_IP_ADDRESS:8083/ZWaveAPI/Run/devices[4].instances[0].SensorMultilevel.data[1].scale.value
My browser returns:
0
However, I am not familiar with how to change the value from 0 to 1. Do I need to edit an XML file? If so, which one? or is there some other way that I can change API data? I've tried using
url 1: http://MY_IP_ADDRESS:8083/ZWaveAPI/Run/devices[4].instances[0].SensorMultilevel.data[1].scale.set(1)
However, I get error that reads:
TypeError: undefined is not a function
I understand the JSON file structure somewhat, however I don't follow how to change the value of an object for Z-way. I can read the full data tree in the JSON file by using the following URL:
url 2: http://MY_IP_ADDRESS:8083/ZWaveAPI/Data/
and I'm using a plugin from Google Chrome that parses the file to make it readable. Anyone that can please assist with how I can change the data that's found in either url 1 or url 2, would be greatly appreciated!
Thanks!
I am able to access the value for scale by entering the following URL into my web browser:
http://MY_IP_ADDRESS:8083/ZWaveAPI/Run/devices[4].instances[0].SensorMultilevel.data[1].scale.value
My browser returns:
0
However, I am not familiar with how to change the value from 0 to 1. Do I need to edit an XML file? If so, which one? or is there some other way that I can change API data? I've tried using
url 1: http://MY_IP_ADDRESS:8083/ZWaveAPI/Run/devices[4].instances[0].SensorMultilevel.data[1].scale.set(1)
However, I get error that reads:
TypeError: undefined is not a function
I understand the JSON file structure somewhat, however I don't follow how to change the value of an object for Z-way. I can read the full data tree in the JSON file by using the following URL:
url 2: http://MY_IP_ADDRESS:8083/ZWaveAPI/Data/
and I'm using a plugin from Google Chrome that parses the file to make it readable. Anyone that can please assist with how I can change the data that's found in either url 1 or url 2, would be greatly appreciated!
Thanks!