Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1839 posts

Uber Geek


#289597 15-Sep-2021 12:59
Send private message

I am trying to set up an automation that among other things will turn off my heat pump using a Broadlink RM4 Pro. In Developer Tools/Services I taught the Broadlink the correct turn_off command and using Remote:Send command I can successfully turn the heat pump off.

 

In Node Red I have used a call service node triggered by an inject node. The settings for the call service node are as follows....

 

Domain  = remote

 

Service = send_command

 

Entity id = remote.rm_pro_remote

 

Data = power_off

 

When I run this I get an error message in debug that says "Call-service error. required key not provided @ data['command']"

 

Can anyone tell me where I am going wrong with this? Thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic
olivernz
476 posts

Ultimate Geek

ID Verified
Trusted
Lifetime subscriber

  #2778754 15-Sep-2021 13:31
Send private message

Sounds to me like you're missing an authentication key. I don't see that in the data you are passing. Is there maybe a config node?




tieke
674 posts

Ultimate Geek

ID Verified

  #2778758 15-Sep-2021 13:36
Send private message

I am sure there are users with Node Red knowledge who can help - although I use a RM4 Pro with HA to control my heatpump (and blinds, projector screen, stereo etc), I have just done so by assigning a number of virtual switches under the standard HA framework, which I assume isn't that helpful for you, but feel free let me know otherwise.


peejayw

1839 posts

Uber Geek


  #2778760 15-Sep-2021 13:37
Send private message

Sorry, I am already at the outer limits of my understanding of Node Red. Where would I look for the key? Thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.




peejayw

1839 posts

Uber Geek


  #2778768 15-Sep-2021 13:49
Send private message

Thanks @tieke





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


russelo
328 posts

Ultimate Geek


  #2778771 15-Sep-2021 13:55
Send private message

Here is my configuration on using the same 'remote' domain:

 

 

 


tieke
674 posts

Ultimate Geek

ID Verified

  #2778772 15-Sep-2021 13:55
Send private message

I assume you have used the wiki info to test obtaining and transmitting codes with node red? (https://www.home-assistant.io/integrations/broadlink/#using-node-red-to-obtain-codes)


gcorgnet
1078 posts

Uber Geek


  #2778778 15-Sep-2021 14:06
Send private message

that's your issue, I think. rather than passing a string to the "Data" field (ie "TURN_OFF"), you have to send a JSON object with a "command" property: { "command": "TURN_OFF" }


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Note that to use Quic Broadband you must be comfortable with configuring your own router.
peejayw

1839 posts

Uber Geek


  #2778784 15-Sep-2021 14:17
Send private message

Much appreciated @russelo, that solved it.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


peejayw

1839 posts

Uber Geek


  #2778800 15-Sep-2021 15:04
Send private message

Thanks everyone for your help.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic





News and reviews »

Māori Artists Launch Design Collection with Cricut ahead of Matariki Day
Posted 15-Jun-2025 11:19


LG Launches Upgraded webOS Hub With Advanced AI
Posted 15-Jun-2025 11:13


One NZ Satellite IoT goes live for customers
Posted 15-Jun-2025 11:10


Bolt Launches in New Zealand
Posted 11-Jun-2025 00:00


Suunto Run Review
Posted 10-Jun-2025 10:44


Freeview Satellite TV Brings HD Viewing to More New Zealanders
Posted 5-Jun-2025 11:50


HP OmniBook Ultra Flip 14-inch Review
Posted 3-Jun-2025 14:40


Flip Phones Are Back as HMD Reimagines an Iconic Style
Posted 30-May-2025 17:06


Hundreds of School Students Receive Laptops Through Spark Partnership With Quadrent's Green Lease
Posted 30-May-2025 16:57


AI Report Reveals Trust Is Key to Unlocking Its Potential in Aotearoa
Posted 30-May-2025 16:55


Galaxy Tab S10 FE Series Brings Intelligent Experiences to the Forefront with Premium, Versatile Design
Posted 30-May-2025 16:14


New OPPO Watch X2 Launches in New Zealand
Posted 29-May-2025 16:08


Synology Premiers a New Lineup of Advanced Data Management Solutions
Posted 29-May-2025 16:04


Dyson Launches Its Slimmest Vaccum Cleaner PencilVac
Posted 29-May-2025 15:50


OPPO Reno13 Pro 5G Review
Posted 29-May-2025 15:33









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.