@dynamite said in Node-red for pimatic available:
the error is: [deploy failed, no response from server]
Where do you get this error message? Is it display below the node next to the red box?
Could you also explain the principle related to the action field of device action? The action is an action operation are operation on a device which can be called via the API. These are device method which have been declared as action of the device. See the SwitchActuator, for example:
class SwitchActuator extends Actuator
_state: null
actions:
turnOn:
description: "Turns the switch on"
turnOff:
description: "Turns the switch off"
changeStateTo:
description: "Changes the switch to on or off"
params:
state:
type: t.boolean
toggle:
description: "Toggle the state of the switch"
getState:
description: "Returns the current state of the switch"
returns:
state:
type: t.boolean
Below is an example of node which calls changeStateTo on a switch device. The action parameter value is sent in (msg.payload) using a dashboard switch.