Communicating with fire place over UDP


I have a fire place that can communicate over UDP port 3300.

I have a manual which states the following:

The commands that can be sent are as follows:

An example of a sent/receive response is as follows:

I have an inject node to a UDP out node and a UDP in node with correct IP and port setup. I'm just not sure how to inject the 15 byte word. Do I need to convert each byte from hex to binary and inject it as a buffer?

Managed to do it using the inject node and ["hex 1","hex2" etc.]

Sorry one more question related to this topic, I have all the commands working except the set temperature:

Does anyone know what they mean by:
"Notifies the fireplace of the desired room temperature Data[0]: (Integer) Desired temperature (3 < °C < 31)"?

I have tried
msg.payload = new Buffer(["0x47","0x57", "0x0F", "0x00", "0x00", "0x00", "0x00", "0x00", "0x00", "0x00", "0x00", "0x00", "0x00", "0x31", "0x46"]);

Where second byte 0x57 is the set temp command and third byte 0x0F is 15 degrees (I assume), but that's not working.

A bit off topic from nodered, but hopefully someone much smarter than me can help.

2 things.

  1. According to the Command.Response packet structure, the 3rd byte should be the DataSize so i would guess that should be 1 and the value 0xf should be in thee 4th byte.
  2. You will need to calculate the CRC and update the 14th byte

PS, in a function, quoting the hexadecimal values is unnecessary AND new Buffer(..) is depreciated - you should be using Buffer.from([0x47, 0x57, ...])

Thank you worked a treat! I changed the functions to use buffer.from as well.

I do hope your home network is secure!! Exchanging a PIN in clear text over UDP is not "security" :rofl:

Really, you should put any fires on their own network with only the Node-RED server allowed to connect.

And please don't connect that instance of Node-RED to the Internet! Given recent hacks, I don't think you want some random hacker setting your fire to 31℃ while you are on holiday for 2 weeks (or at any time really!).

Thanks for the advice, but there is no pin being exchanged here? The fire place UDP manual is public knowledge.

This is a local network with no outside access anyways.

Not what the images you shared seem to be saying.

Until you add a cheap wi-fi security camera or anything else that talks to a vendor cloud service. :wink: Just reminding you to think about it.

It's from the manufacturers website lol.. Anyways, none of my devices talk to the cloud, I refuse to have those in my home :slight_smile:

Having said all that, I'm always up for learning new things. Is there some online material about tips to secure home networks running node red?

Only enough to fill many hard drives! Do a few online searches and you will soon find some stories to make your toes curl and plenty of helpful (and more than enough unhelpful) advice.

My take is that, while individual risk is low, any device that could burn the house down probably should get a bit of extra care. :slight_smile:

If you can, it is worth putting such devices on a network that cannot reach the Internet and where the Internet cannot reach it. Doesn't really need to be physically separated. A VLAN or even just a simple network segment that has to be routed to (e.g. if your main network is on 192.168.0.x, use 192.168.42.x or similar) but of course, you will need to do a bit of reading on how to get that to work. If you are using a server with 2 network cards, it is pretty easy to set up, otherwise it may depend on your router.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.