--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/0e79d0ba-224d-4872-8ae8-0ff69b4854e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The REST API wiki page says you need to use the HTTP PUT verb to update an item's state, but HTTP POST to send a command. Is the wiki page incorrect or imcomplete?
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/db867f92-16c1-43a3-9cfd-7d5ce9e17afe%40googlegroups.com.
rule "Helios Geschwindigkeit setzen"
when
Item SetKWLFanStatusgHelper changed
then
if (SetKWLFanStatusHelper.state instanceof DecimalType) {
var value = SetKWLFanStatusHelper.state as DecimalType
logDebug("heating", "Received HVAC status " + value)
if (value == 3) {
postUpdate(SetKWLFanStatus, 3)
}
else if (value == 2) {
postUpdate(SetKWLFanStatus, 2)
}
else if (value == 1) {
postUpdate(SetKWLFanStatus, 1)
}
}
endNumber SetKWLFanStatus "Ventilation Speed" <vent_ventilation_level_3> { http=">[1:POST:http://192.168.1.16:8080/CMD?kwlFan=1] >[2:POST:http://192.168.1.16:8080/CMD?kwlFan=2] >[3:POST:http://192.168.1.16:8080/CMD?kwlFan=3]" }
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/7d04652e-ddb6-4d07-a2b3-da3a5d10c3b6%40googlegroups.com.