DrHauss / node-red-contrib_BRP069C4

Module for Node-Red to Control ACs via Daikin Cloud
MIT License
3 stars 1 forks source link

Node-red flow example #7

Closed andispammonyer closed 2 years ago

andispammonyer commented 2 years ago

Hi,

would it be possible for you to export your existing node-red flow? Or explain what I need to feed into your node. The existing explanation "msg.payload.ssid = Device SSID" and so on, does not work for me. I use your Daikin cloud controller node with node red 6.0.4. I'm able to GET the status of my three daikin devices with BRP069C4.

But I'm NOT able to SET something. Main Use Case would be

I run Node red as addon of my Raspberrymatic called redmatic. Just in case this matters. I want to controll the AC from homematic

Thanks in advance!

DrHauss commented 2 years ago

Hi @andispammonyer this is how it look like for on off:

[{"id":"1761cadeb8c59647","type":"inject","z":"261ed1a6cb4d6379","name":"","props":[{"p":"topic","vt":"str"},{"p":"payload"},{"p":"payload.ssid","v":"DaikinAPxxxxx","vt":"str"},{"p":"payload.managementPoint","v":"climateControl","vt":"str"},{"p":"payload.dataPoint","v":"onOffMode","vt":"str"},{"p":"payload.value","v":"off","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"set","payload":"{}","payloadType":"json","x":190,"y":400,"wires":[["189ca37794a5e765"]]},{"id":"189ca37794a5e765","type":"Daikin-Cloud-Controller","z":"261ed1a6cb4d6379","name":"","loglevel":"warn","tokensave":"0","timeout":"10000","retry":"3","x":490,"y":240,"wires":[[]]}]

andispammonyer commented 2 years ago

It works!!! Perfect. Many thanks The second line with payload {} was missing on my side