Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Salus SP600 Smart Plug #812

Closed
GadgetUK opened this issue Sep 28, 2018 · 46 comments
Closed

Support for Salus SP600 Smart Plug #812

GadgetUK opened this issue Sep 28, 2018 · 46 comments

Comments

@GadgetUK
Copy link

This appears as a light switch, but no metering functionality is available.

Details of the device can be found here

https://salus-controls.com/uk/product/sp600/#description

Happy to provide more info if instructions on how to get required data are available.

@ebaauw
Copy link
Collaborator

ebaauw commented Sep 28, 2018

@GadgetUK
Copy link
Author

Ok, think this the right stuff
screen shot 2018-09-29 at 10 29 46
screen shot 2018-09-29 at 10 30 08
screen shot 2018-09-29 at 10 30 30

@ebaauw
Copy link
Collaborator

ebaauw commented Sep 29, 2018

Could you try and read the attributes for the Basic cluster? We need the Model identifier and, preferably, the Manufacturer name.

Could you also please post a screenshot of the Simple metering and Temperature measurement clusters, again, after reading the attributes? The metering might provide life-time consumption and current power, but the scale typically differs per device type. I haven’t seen a plug before, that reports temperature, but if it’s functional, we could support it.

It would be good to know if the plug supports attribute reporting, but we haven’t yet described how to determine that in the Wiki. I’ll see if I can find some for that time this weekend.

@GadgetUK
Copy link
Author

Ok. Here goes.
screen shot 2018-09-29 at 16 41 44

screen shot 2018-09-29 at 16 40 12

screen shot 2018-09-29 at 16 40 26

screen shot 2018-09-29 at 16 41 18

@GadgetUK
Copy link
Author

If I've followed the deconz manual correctly....

screen shot 2018-09-29 at 17 16 49

@ebaauw
Copy link
Collaborator

ebaauw commented Sep 29, 2018

Thanks.

When you connect something to the plug and turn it on, does the value for Instantaneous demand change? Current Summation Delivered typically takes a while - it's usually updates every 10Wh or so. You want to try setting the reporting config to Min: 1, Max: 300, Change: 1 and create a binding from that cluster to the RaspBee. Select the Bind Dropbox from the Panels menu, drag the 0x702 cluster to Source and drag the 0x01 endpoint on the coordinator to Destination and press Bind:
screenshot 2018-09-29 at 19 05
Could you try the same for the OnOff attribute and the OnOff cluster?

The temperature cluster seems to measure internal temperature (49°C), so that doesn't seem too useful.

@GadgetUK
Copy link
Author

Ok. Writing changed values to the reporting configuration fails.

@ebaauw
Copy link
Collaborator

ebaauw commented Sep 30, 2018

Does it come back quickly with an error message, or does it take a longer time? Sometimes the GUI doesn’t seems to miss the ack. What happens if you close the popup window, re-open it and read the config?

@GadgetUK
Copy link
Author

Ok, seems to have worked
screen shot 2018-09-30 at 17 45 31
Although the reportable change is now greyed out.

@ebaauw
Copy link
Collaborator

ebaauw commented Sep 30, 2018

The GUI doesn’t handle the int24 well.

@GadgetUK
Copy link
Author

GadgetUK commented Oct 1, 2018

Is there anything more that I can do to progress support ?

@GadgetUK
Copy link
Author

Feel like this has stalled.

@Smanar
Copy link
Collaborator

Smanar commented Dec 21, 2018

Lol, I haven't the device so I can't make test but the GUI can handle int24 now ? So you can configure reporting now ?
I had similar problem on another device, and the GUI was corrected (was dat16 for me)

@GadgetUK
Copy link
Author

GadgetUK commented Dec 24, 2018

Ok, still seems that it's not possible to set the reporting configuration (specifically the reportable change)
image

You can however see that it does correctly report the power usage (in this case a heater)

Half Power

image

Full Power

image

@GadgetUK
Copy link
Author

More info from the Smartthings support

https://github.com/paulsheldon/SmartThings-PS/blob/master/devicetypes/paulsheldon/zigbee-switch-power.src/zigbee-switch-power.groovy

fingerprint profileId: "0104", inClusters: "0000, 0001, 0003, 0004, 0005, 0006, 0402, 0702, FC01", outClusters: "0019", manufacturer: "Computime", model: "SP600", deviceJoinName: "Salus SP600 Smart Plug"

@ebaauw
Copy link
Collaborator

ebaauw commented Feb 16, 2019

@GadgetUK with 2.05.59, you should be able to set Reportable Change, at least for Current Summation Delivered.

@manup, I don't think Instantaneous Demand is working. This is s24 instead of u24, which is working.

@manup
Copy link
Member

manup commented Feb 16, 2019

@manup, I don't think Instantaneous Demand is working. This is s24 instead of u24, which is working.

Good catch, on it.. this will work in 2.05.60.

@GadgetUK
Copy link
Author

@ebaauw Ok Can now set Reportable Change for Current Summation Delivered so that's a positive step forward 👍

image

@stale
Copy link

stale bot commented Jun 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 16, 2019
@stale stale bot closed this as completed Jun 23, 2019
@brettjenkins
Copy link

@GadgetUK how are you getting on with it? Is it working alright? I'm currently on the lookout for zigbee power plugs with reporting to replace my WiFi ones which keep dropping off the network. (I use them to monitor dishwasher, tumble dryer and washing machine)

@ebaauw
Copy link
Collaborator

ebaauw commented Jun 29, 2019

I use them to monitor dishwasher, tumble dryer and washing machine

Better double-check the power rating of the plug. I blew a couple of innr plugs on my dryer, that apparently likes to draw a bit more power than its rating would suggest.

@hmonteiro
Copy link

Are there any plans for officially supporting this plug in the future?

@hmonteiro
Copy link

@ebaauw Any hints on how to hack something together to make the consumption visible to the Phoscon app as a sensor? When I look at the mesh, I see that the both the instantaneous and summary consumption appear to work, but I don't know what I have to do to make them visible.

In the logs I see some lines related to the 702 cluster:

16:35:29:633 APS-DATA.indication srcAddr: 0x518f, srcEp: 0x09 dstAddrMode: 2, profile: 0x0104, cluster: 0x0702, lqi: 255, rssi: -58
16:35:29:633 	asdu: 08430a00042a1b0000
16:35:29:633 Node data 0x001e5e09021460d5 profileId: 0x0104, clusterId: 0x0702
16:35:29:638 ZCL attribute report 0x001E5E09021460D5 for cluster 0x0702, ep 0x09
16:35:29:638 	payload: 00042a1b0000
16:35:29:638 APS-DATA.request id: 81, addrmode: 0x02, addr: 0x518f, profile: 0x0104, cluster: 0x0702, ep: 0x01 -> 0x09 queue: 1 len: 5 tx.options 0x00

@ebaauw
Copy link
Collaborator

ebaauw commented Nov 16, 2019

Not a clue; Phoscon is not open source.

@SwoopX
Copy link
Collaborator

SwoopX commented Jan 13, 2020

Better late than never, I can assist in properly integrating those. However, I need a lab rat for tweaking...

@djashjones
Copy link

Just got mine cus it was cheap. The only sensor I see is temperature.

@SwoopX
Copy link
Collaborator

SwoopX commented Mar 20, 2020

Lemme double check the code.

Why are you buying all the stuff that keeps me busy??? 😁

@SwoopX
Copy link
Collaborator

SwoopX commented Mar 20, 2020

Could you please provide a screenshot of the node info panel? In the screenshot further up, the value is missing. This could be the showstopper...

@djashjones
Copy link

It really sucks for certain things in the UK But I would not spend too much time on this mate. It's slightly cheaper than the samsung plug. The quality, well I'm not too impressed but it does come with a 5 year warranty.

deconz
temp 50
mode

@djashjones
Copy link

HA

@SwoopX
Copy link
Collaborator

SwoopX commented Mar 20, 2020

So you got consumpton, but power is missing? Looks like consumption is there...

@djashjones
Copy link

yes mate

@SwoopX
Copy link
Collaborator

SwoopX commented Mar 21, 2020

Hm, strange that 2 sensors got created and 1 is still missing. But when there's load applied you see an according value under simple metering for attribute 0x0400 after the attributes have been read in deconz GUI? At times, it also helps to re-read the simple descriptors while searching for sensors in Phoscon...

@djashjones
Copy link

I've found a workaround for the time being. I'm still evaluating this plug but I am leaning more towards the samsung.
sensor yaml
power

@djashjones
Copy link

I've extracted the power from the consumption sensor in home assistant
power2

@SwoopX
Copy link
Collaborator

SwoopX commented Mar 21, 2020

Ah, so it requires amendments on the HA side. I don't have any such devices having power and consumption on the same sensor, but I could have thought about mentioning it. Sry.

Then we're good here?

@djashjones
Copy link

I think so. Hopefully this will useful to others. I did search for sensors and re-read the "read power descriptor" but that did nothing.

@SwoopX
Copy link
Collaborator

SwoopX commented Mar 21, 2020

Alright, then I assume it is working as expected. Just to be clear on that detail: sensors are created on a cluster basis. Since it only has simple metering (besides temperature), there will be no further sensor. In case of this device, however, consumption and power is exposed. That is not a too common combination.

@mike182uk
Copy link

mike182uk commented Apr 27, 2020

I might be missing something here, but why would a plug socket also report temperature?

I have set up the plug via phoscon so i can use in Home Assistant (via deconz plugin) similar to what @djashjones has done ahove and the temperature reads ~40°c, which is not accurate for the room its in (by about 20°c) (unless some kind of conversion needs doing on the value)?

@SwoopX
Copy link
Collaborator

SwoopX commented Apr 27, 2020

To be honest, no clue. A questions Salus has to answer. Maybe they consider it more as device temperature (although there's a cluster for it on its own).

@djashjones
Copy link

Could be for their heating products or a safety reason.

I've stopped using mine. Found a disturbing issue which would be nice if someone else can confirm this.

When the plug loses connection to the network, it switches itself one & off every so often. Which is no good if its attached to say something like a server!!!

@hmonteiro
Copy link

Regarding the temperature, I have other temperature sensors in the same room and, from anecdotal evidence, the socket temp always looks to be reading about twice as much, so maybe they just report 2x the value?

@keemyb
Copy link

keemyb commented Nov 18, 2020

Could be for their heating products or a safety reason.

I've stopped using mine. Found a disturbing issue which would be nice if someone else can confirm this.

When the plug loses connection to the network, it switches itself one & off every so often. Which is no good if its attached to say something like a server!!!

I am experiencing this. what are you using as a replacement? I wanted to use this as something to track my server power usage as well, but I can't really afford an unexpected shut down just because of an intermittent connection loss. I've only had mine for a day or so, but when I was trying to set it up, I noticed them turning off /on when I left one in pairing mode.

I think I may just get a UPS with power monitoring functionality and get stats from there, because even if I use something less power hungry like a RasPi, I can't say for certain whether or not I could guarantee a connection 100% of the time. A shame, because otherwise it's perfect.

Edit: I just remembered that I have a Samsung Smart Plug that I thought was incompatible with my Conbee 2, until I realised I just needed a lengthy usb 2 extension cable to get things pairing. I'll try and see what that does when it can't connect. I'll just use the Salus' somewhere that isn't critical.

I do wonder if the plug behaves like this when paired with the official Salus hub. Seems strange to change the power state mid operation.

@djashjones
Copy link

All my zigbee plugs are the Samsung ST 2019 version

@incarvr6
Copy link

incarvr6 commented Dec 2, 2021

I know issue is closed but I found that now power reading is out 1 decimal
Total 500w showing as 5kw and load 5w showing 50w.
One other thing, current load is available as attribute, it should be presented as entity.

Or maybe it is better to start new issue?

@incarvr6
Copy link

incarvr6 commented Dec 2, 2021

Screenshot_2021-12-02-13-14-54-64_c3a231c25ed346e59462e84656a70e50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests