Open hdgdl opened 2 years ago
Any idea why all commands I try only get me the "landing" page json? No single command working either.
http://192.168.178.178:4321/Gn7c/all?
returns:
Oekofen JSON Interface http://www.oekofen.at
usage:
http://touch_ip:JSON_port/password/command
====================================================================================
read multiple values:
====================================================================================
http://192.168.178.178:4321/********/all?
Example: http://192.168.178.178:4321/********/hk1?
all[?] displays values of all available components
optional parameter [?] adds meta data
system[?]
system global variables
Wow, found the error. Edge was automatically lowercasing my password. WTF. Works now in curl
Oekofen JSON Interface V4.00b http://www.oekofen.at
usage: http://touch_ip:JSON_port/password/command
==================================================================================== read multiple values:
http://192.168.1.115:4321/********/all?
Example: http://192.168.1.115:4321/********/hk1?
==================================================================================== read single value (use '.' as delimitor):
http://192.168.1.115:4321/********/id(1..6).variable
Example: http://192.168.1.115:4321/********/hk1.L_roomtemp_act
==================================================================================== set value (use '.' as delimitor):
http://192.168.1.115:4321/********/id(1..6).variable=value
Example: http://192.168.1.115:4321/********/hk1.mode_auto=0
==================================================================================== alternative useage '_' as delimitor:
http://192.168.1.115:4321/********/id(1..6)_variable=value
Example: http://192.168.1.115:4321/********/hk1_mode_auto=0
only variables without a leading 'L_' can be set.
————————————
only have pellematic and no solar therefor the „all?“ does not include all options