mycontroller-org / mycontroller-v1-legacy

The Open Source Controller
http://www.MyController.org
Apache License 2.0
148 stars 89 forks source link

Special operation blocks normal payload to sensor variable #466

Closed jkandasa closed 6 years ago

jkandasa commented 6 years ago

Source: https://forum.mycontroller.org/topic/339/v_hvac_flow_state-issue

MyController Operation has special features, it supports special operations. When the user wants to send one of this special operation string, it blocks and redirected to special operation.

Root cause: https://github.com/mycontroller-org/mycontroller/blob/development/modules/core/src/main/java/org/mycontroller/standalone/db/ResourceOperationUtils.java#L29~L44

jkandasa commented 6 years ago

This fix is available in SNAPSHOT version.

From now, if you want to use special operation like ADD, TOGGLE, etc., use sp: infront of operation. It will be considered as special operation.