Comments for Chris Mullins I occasionally write about things. Usually these things are about computers. Mon, 09 May 2022 03:55:18 +0000 hourly 1 Comment on Rescue Your Amazon Dash Buttons by Jim Gridley Mon, 09 May 2022 03:55:18 +0000 Wait, why does the Dash button even have audio processing?!

Comment on Milight WiFi Gateway Emulator on an ESP8266 by JuRik99 Fri, 08 Apr 2022 11:33:50 +0000 Hi and congratulations on a great project!
I’m in the progress of setting everything up but my initial question relates to the MiLight FUT036M Single Color controller that I use. Is it supported?
Thanks a lot for the response!

Comment on Custom HomeAssistant Auth Provider by Andrew Cole Tue, 29 Mar 2022 08:43:04 +0000 Hey Chris,
Thanks so much for this post – blows my mind that Home Assistant doesn’t have some form of this built in already!
To get this working on the current version of Home Assistant I had to make some changes:

Add “, algorithms=[‘HS512’]” to the jwt.decode line
Name the file not

I also removed the audience stuff as my JWT tokens doesn’t contain that information, but that may just have been a red herring.

Comment on Rescue Your Amazon Dash Buttons by Jose Sun, 20 Mar 2022 04:00:36 +0000 If the firmware can be dumped from an older device cant it be written into a device that’s been bricked?
Using this method?

Comment on Milight WiFi Gateway Emulator on an ESP8266 by chris Fri, 18 Mar 2022 20:40:28 +0000 Hi Herbert,

Yeah, definitely possible. This guide doesn’t describe exactly your use-case, but should be easy to adapt:

This is explaining how to use physical Milight remote to control a light that’s also controlled by the esp8266 hub.

The hub will pass through all commands it sees from a remote to MQTT. So all you need to do in your case is configure a Home Assistant automation that triggers on the arrival of an MQTT message.

Comment on Milight WiFi Gateway Emulator on an ESP8266 by Herbert Smith Thu, 17 Mar 2022 22:15:41 +0000 I have one of the premade hubs working just fine controlling both YL-5 LED controllers and FUT-106 blubs thru Home Assistant.  Works just fine.  Emulates my B8 Controller. 
I ended up with 2 B8 controllers and only need one to control my existing lights.   Is it possible in Home Assistant to detected key presses on the B8.  I could then use that to kick off automations of many other things.If this is possible, can you point to some writes up on how to do it. 

Comment on Using a Milight remote with HomeAssistant by chris Tue, 08 Feb 2022 21:57:57 +0000 In reply to Chris92.

Hi there,

configurations should definitely be saved across reboots. they’re saved to the ESP8266’s flash memory.

My best guess is that the firmware image you used doesn’t match your ESP8266’s flash configuration. the “d1_mini” image works for 90% of boards and is the one i’d recommend trying if you’re otherwise not sure.

Comment on Using a Milight remote with HomeAssistant by Chris92 Sat, 05 Feb 2022 13:14:08 +0000 hey, Very nice job ! congratulations I just created the MilightHub which works perfectly. The only problem, when I unplug the gateway and reconnect it, all configuration is lost… I couldn’t find how to save it on the server interface. This is a problem because in the event of an untimely power cut, everything is lost. Can you tell me if there is a possibility to find the configuration when the voltage returns or this function does not exist. Thank you very much for your answer. Chris92

Comment on Reverse engineering the new Milight/LimitlessLED 2.4 GHz Protocol by Gael Thu, 27 Jan 2022 20:10:16 +0000 Amzing work you’ve done Chris!
Thanks for sharing this with us!

Comment on Rescue Your Amazon Dash Buttons by Daniel Mon, 03 Jan 2022 08:41:29 +0000 Chris: I have one of these older style buttons too. I’m willing to do some leg work, to try and find the offsets in memory, if you’d be willing to help guide me a bit on how to pull the flash memory, and import it into ghidra.