Jump to content
C4 Forums | Control4

HTTP Fireplace commands


evil0ne

Recommended Posts

I just got a new fireplace that connects via WiFi and has an app and is supposed to be able to be controlled via Alexa but also has local HTTP access. I did a little homework via the console and found the following example outputs when turning the fireplace on/off, the heater on/off, turning the accent lighting on/off and selecting a different LED "theme." To keep the request simple, how would I be able to just send the fireplace on/off command? Down the line it might be nice to be able to play with the other settings but right now just being able to turn it on and off based on some condition would be great. Thanks for the point in the right direction!

Fireplace On/Off

[Log] SEND 192.168.1.142: {"voice":"Fire_ON/OFF"} (halo.v24.js, line 194)
[Log] Server 192.168.1.142:   "{\"voice\":\"Fire_ON/OFF\",\"firstLoad\":0,\"fahrenheit\":\"1\",\"temperature\":\"77\",\"templevel\":77,\"heap\":\"25064\",\"pinout3\":0,\"pinout1\":1,\"pinout2\":0,\"…" (192.168.1.142, line 66)
"{\"voice\":\"Fire_ON/OFF\",\"firstLoad\":0,\"fahrenheit\":\"1\",\"temperature\":\"77\",\"templevel\":77,\"heap\":\"25064\",\"pinout3\":0,\"pinout1\":1,\"pinout2\":0,\"Fire\":1,\"Heater\":0,\"effect\":\"Embers\",\"time\":\"10:56:10\",\"weekday\":\"Fri\",\"alarmtemperature\":1,\"rgb0\":1,\"colorRGB0\":\"ff7A00\",\"speedRGB0\":\"200\",\"brightnessRGB0\":255,\"modeRGB0\":50,\"rgb1\":1,\"colorRGB1\":\"ff5000\",\"speedRGB1\":\"200\",\"brightnessRGB1\":255,\"modeRGB1\":48,\"dbm\":-44}"

Heater On/Off

[Log] SEND 192.168.1.142: {"voice":"Heater_ON_/_OFF"} (halo.v24.js, line 194)
[Log] Server 192.168.1.142:  (192.168.1.142, line 66)
"{\"voice\":\"Heater_ON_/_OFF\",\"firstLoad\":0,\"fahrenheit\":\"1\",\"temperature\":\"77\",\"templevel\":77,\"heap\":\"25064\",\"pinout3\":0,\"pinout1\":1,\"pinout2\":0,\"Fire\":1,\"Heater\":1,\"effect\":\"Embers\",\"time\":\"10:56:12\",\"weekday\":\"Fri\",\"alarmtemperature\":1,\"rgb0\":1,\"colorRGB0\":\"ff7A00\",\"speedRGB0\":\"200\",\"brightnessRGB0\":255,\"modeRGB0\":50,\"rgb1\":1,\"colorRGB1\":\"ff5000\",\"speedRGB1\":\"200\",\"brightnessRGB1\":255,\"modeRGB1\":48,\"dbm\":-44}"

Accent lighting On/Off Toggle

SEND : {"voice":"Light_box"} (halo.v24.js, line 194)
Server:  (options.htm, line 132)
"{\"voice\":\"Light_box\",\"firstLoad\":0,\"fahrenheit\":\"1\",\"temperature\":\"77\",\"templevel\":77,\"heap\":\"25064\",\"pinout3\":1,\"pinout1\":1,\"pinout2\":0,\"Fire\":1,\"Heater\":0,\"effect\":\"Breathe\",\"time\":\"10:47:42\",\"weekday\":\"Fri\",\"alarmtemperature\":1,\"rgb0\":1,\"colorRGB0\":\"ff7800\",\"speedRGB0\":\"180\",\"brightnessRGB0\":255,\"modeRGB0\":45,\"rgb1\":1,\"colorRGB1\":\"ff5000\",\"speedRGB1\":\"200\",\"brightnessRGB1\":255,\"modeRGB1\":48,\"dbm\":-44}"

Change LED "scene"

SEND : {"voice":"Embers"} (halo.v24.js, line 194)
Server:  (options.htm, line 132)
"{\"voice\":\"Embers\",\"firstLoad\":0,\"fahrenheit\":\"1\",\"temperature\":\"77\",\"templevel\":77,\"heap\":\"25064\",\"pinout3\":1,\"pinout1\":1,\"pinout2\":0,\"Fire\":1,\"Heater\":0,\"effect\":\"Embers\",\"time\":\"10:50:55\",\"weekday\":\"Fri\",\"alarmtemperature\":1,\"rgb0\":1,\"colorRGB0\":\"ff7A00\",\"speedRGB0\":\"200\",\"brightnessRGB0\":255,\"modeRGB0\":50,\"rgb1\":1,\"colorRGB1\":\"ff5000\",\"speedRGB1\":\"200\",\"brightnessRGB1\":255,\"modeRGB1\":48,\"dbm\":-43}"

 

Screen Shot 2020-11-20 at 10.32.57 AM.png

Link to comment
Share on other sites


It isn't 100% clear but it looks like those may be HTTP POST commands that send data to the fireplace.  You might want to play around with something like Postman and see if you can control the fireplace via such HTTP commands with Postman.

If that is the case then you could use the Chowmain Generic IP driver to send these commands to the fireplace.

Link to comment
Share on other sites

  • 2 weeks later...

I did some more digging and it communicates via WebSockets. I did a wireshark on the communication between my laptop and the fireplace's webpage and it seems to be very simple commands. That said, would the Chowmain Generic IP driver be able to accomplish the task of sending the on/off commands?

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.