Peanut Plug with Smartthings? (DTH in post 35)

Mine have been working great, however one day last week one of them which is supposed to be turned off by ST between 5-8pm (air purifier during peak electric rate time) was still running during that time. I didn’t investigate further and the following day it was working fine.

1 Like

I bought 2 of the peanut plugs and I’m having a weird issue with one. I am able to control on and off. Now I have a projector plugged into it, normally the projector when plugged into a socket has a standby light on. With the peanut turned on, the standby light doesn’t come on… very strange. I ended up having to remove the peanut and plugging the projector directly to the outlet. At first I thought the pj was hosed.

I just bought one of these Peanut switches. I have it set up as a Zigbee switch, but it seems a bit unreliable. I don’t see the option for the GE Zigbee switch in my device handlers. Does anyone have the code/GitHub for that handler? Thanks!

Unfortunately you need a Securifi router to update the firmware on them. Latest firmware made vast improvements to them freezing up & dropping off the network.

Mine turn on ok but turn themselves off again 30 seconds later

Hi all

To whoever interested in using peanut plug in their smartthings system. I am posting a new peanut plug device handler here, which in additional to switch on/off function, it also displays power and energy usage. Here is the display in smartthings.

However, in order to display power and energy, latest firmware is required. As someone mentioned here, updating to latest firmware require Almond 2015, Almond+ or Almond 3 (Almond 2012 will not work because it does not support zigbee). You can still use the device handler if you are not updating the firmware, the power and energy will be zero. The energy display is the accumulation of the power * time, if you press the reset kwh button, it will start counting from zero again.

Here you go, enjoy.


Very cool and nice work @pakmanwg

We neee an almond device we can ship around lol paying 80 bucks for a firmware update kind of stinks unless someone knows a place to get a cheap one?

1 Like

Thanks. Yes, agree. Hopefully smartthings can do support firmware upgrade for devices other than light bulb in the future.

One thing I noticed with your DH is that in the recent activity if I turn it on or off I see the message in their twice.

Is this expected or on purpose?

I do not seem to have this problem. Is it happening on all your switches? Here is my dump of the recently page.

good question - I will have to put the DH back on a different outlet and test. Could be the older firmware I suppose on my devices?

Unfortunately, I upgraded all my plugs to latest firmware. If I come across one without firmware upgrade later, i can give it a try.
Did you take a look at the IDE log for the device to see if it shows two lines for on and two lines for off too?
In my case, i only see one for each said

description is on/off: 0
description is on/off: 1

Hmm, I was hoping this handler would work with my Peanut plugs since I bought them not too long ago, but the firmware update must have been very recent. No big deal, they are still functioning very well.

I’m using the DTH “Zigbee Switch Power” with a Peanut that I just received - wanted to use a stock DTH to retain local processing.

Just wanted to know:

  1. If there is a preferred handler aside from this one for the peanut (that also provides local processing)?
  2. Is there a way to discover what FW my plug has aside from using a Securify router? I bought my mom an Almond router a while back and planned to use that to check/update the FW, but turns out she has the older one that does not support Zigbee…


pakmanwg your device handler works on/off flawlessly thank you. Couldn’t get the consumption but doesn’t matter for me. Thanks again.

I just got a peanut plug and I am unable to pair the device.

Just a checklist.

  • Peanut version 2015+
  • SmartThings Hub v1
  • Press the pairing button for 10 seconds on the peanut. Peanut is literally 2 feet away from ST hub.

Could it be my old school hub? It does support Zigbee…

You can try the following, after pressing the pairing button for 10 seconds.

  1. add device from your smartthings app
  2. remove the peanut from your outlet for a few seconds and plug it back. You will see the light on peanut flashing red and green several times and then solid green.

If you don’t see it flashing several times, try repeat pressing the pairing button for 10 seconds and unplug and plug again.

You should see the device found on the screen within ten seconds or so.

1 Like

Hi Danabw

  1. all custom DTH are running in the cloud as far as I know. You can try using the default zigbee switch DTH if you want to run locally.
  2. I am not aware of a way to tell the FW version other than the Securify Router.

Hi eleport1

Great to hear that it is working for you. You need firmware upgrade to get the power data. Somehow they don’t update the firmware when they ship it. I got several new ones from Amazon, they are all old firmware.

Would you have the GitHub settings so I can add them to my update settings? Thanks.