dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.89k stars 490 forks source link

[Request Device Support] Samsung SmartPlug 2019 Model ID: 7A-PL-Z-J3 #2121

Closed smartypantsuk closed 4 years ago

smartypantsuk commented 4 years ago

I have just purchased a 2019 Smartthings Smart Plug which supports power monitoring. Deconz treats it as an on/off plug and works fine in that respect, but I'd love to get power monitoring working. These plugs are a reasonable price without breaking the bank so would be brilliant if the energy side worked.

I have a feeling that these plugs could be manufacturered by Innr, but I aren't certain. The manufacturer code is 0x1168, which according to this page is an Innr reference, Innr2 to be precise Perhaps Innr use the '2' designation for products they manufacturer but release under a difference brand?..

They are almost identical to the Innr plug with size, shape and power switch location, but there are some tiny differences regarding depth and bevel at the front lip. The build quality is identical to the Innr device.

I have attached the important stuff, If i've missed anything please advise.

Model ID: 7A-PL-Z-J3

Thank you

node node-info basic-cluster simple-metering-cluster electrical-measurment-cluster

and some debug info, in which I turned the smart plug on and off:

debug.txt

and perhaps there is some information from this smartthings github page which mentions the same model/make of ZB-ONOFFPlug-D0005 and LDS

SmartThingsPublic

avotronics101 commented 4 years ago

I'd like this working too. I've just purchased 6 of these smartthings smart plugs to use with Homeseer via deconz. The only alternative which support energy monitoring is the Aeotec or Fibaro smart plugs but they are twice the price, around £60 each which is far too much money. The Samsung plugs support energy monitoring and cost 50% less, approx. £30. We just need to get it needed. Have you found a way yet?

smartypantsuk commented 4 years ago

I'd like this working too. I've just purchased 6 of these smartthings smart plugs to use with Homeseer via deconz. The only alternative which support energy monitoring is the Aeotec or Fibaro smart plugs but they are twice the price, around £60 each which is far too much money. The Samsung plugs support energy monitoring and cost 50% less, approx. £30. We just need to get it needed. Have you found a way yet?

Unfortunately I'm no programmer. We need someone else involved?

SwoopX commented 4 years ago

Let me see if I can help you with that. I'd definitively require your feedback regarding correct values for power and consumption...

smartypantsuk commented 4 years ago

Let me see if I can help you with that. I'd definitively require your feedback regarding correct values for power and consumption...

That would be great and very appreciated. I can help you as long as I understand the question 😆

smartypantsuk commented 4 years ago

Let me know what you need.

Thanks

SwoopX commented 4 years ago

No worries. Right now, I just need a little bit of time. Keep an eye on this issue and I'll ping you once ready.

Hope you're not running on docker? It would help if you could compile the plugin and do some testing once the changes are ready. Right now, I'd say I only need some feedback if the values are plausible. If not, the divisor for calculating the consumption needs to be amended.

smartypantsuk commented 4 years ago

No I'm on Windows but I can get my Linux box out of the cupboard if needed

SwoopX commented 4 years ago

Ok, should be good to go now. You may try the version from my repo https://github.com/SwoopX/deconz-rest-plugin.

Before you do that, please provide me with screenshots for the reporting configuration from deconz GUI. In the GUI, please go to Simple Metering and double click on attribute 0x0000 (Current Summation Delivered). Then, read config. Please do the same for Electrical Measurement and attribute 0x050B.

Good luck ;)

smartypantsuk commented 4 years ago

I tried that unfortunately it seems to give me a NOT_FOUND message when I click on read config. I hope this doesn't mean we're out of luck? I did unlock network prior to clicking the button. I can try again tomorrow when I'm not so tired.

SwoopX commented 4 years ago

Just have the device paired and plugged in should suffice. I wonder that it says not found, doesn't really make sense...

However, nothing serious, I was just after the default values. We can give it pretty much what we want to have in the end.

smartypantsuk commented 4 years ago

I tried again today, device was paired, plugged in and switched on but no load. I still got the NOT_FOUND error on read config.

You did mean 0x050B and not 0x0508? Either way, the reading was the same outcome.

And... pardon my ignorance, I assume that I need to compile the version in your repo for windows? Is there some guidance on that?

current-summation active-power

SwoopX commented 4 years ago

You did mean 0x050B and not 0x0508?

0x050B is correct.

I tried again today, device was paired, plugged in and switched on but no load. I still got the NOT_FOUND error on read config.

Thanks for double checking. Currently no idea why this is but let's put that aside for the time being.

And... pardon my ignorance, I assume that I need to compile the version in your repo for windows? Is there some guidance on that?

All good. I don't know how to compile on Windows to be honest as my stuff is running on a RPi. For Linux, it should work out with the prerequisites mentioned here. Once the repo is added to apt, the dev-pachakge must be installed via sudo apt-get install deconz-dev Lastly, the instructions for compiling the plugin are mentioned in the repo readme.

Hope, that helps.

smartypantsuk commented 4 years ago

Thanks, I'm looking at compiling it tonight.

smartypantsuk commented 4 years ago

SwoopX,

I have compiled the plugin and I 'think' I am running it in deCONZ but is there anyway to tell I'm actually running your plugin version, just in case I messed up?

Also, is there any way to tell if the plugin changes you made are working without connecting to deCONZ via a thrid-partry home controller? I normally use Homeseer but that's on my other windows system. I can install a controller if need be.

SwoopX commented 4 years ago

Also, is there any way to tell if the plugin changes you made are working without connecting to deCONZ via a thrid-partry home controller? I normally use Homeseer but that's on my other windows system. I can install a controller if need be.

Sure it is. you could use e.g. Rested plugin for Firefox (or any other REST-Plugin will do). However, to connect, you must have a valid API key. To get one, login to Phoscon via browser. Then, open a console and open deconz' DB, located in the home directory of the user deconz is running under (requires sqlite3 to be installed)

sqlite3 .local/share/dresden-elektronik/deCONZ/zll.db select * from auth;

First values are the API key. Copy it and call the following URL (use either your local IP or 127.0.0.1 when calling it directly on the device): http://192.168.XXX.XXX/api/<APIKEY>/sensors

Look for 2 sensors haveing the model identifier as in your screenshot above. The should be there and show values while a load is connected. Make sure to refresh the API query several times to see the changes.

but is there anyway to tell I'm actually running your plugin version

Not too sure to be honest. Didn't care much about that since Ive got a dedicated test system and gateway.

wvuyk commented 4 years ago

@smartypantsuk You can also find the API key JowiHue is using on the properties of the gateway device, the JowiHue tab. You can use that as well.

smartypantsuk commented 4 years ago

@smartypantsuk You can also find the API key JowiHue is using on the properties of the gateway device, the JowiHue tab. You can use that as well.

I'm running latest Jowihue but not seeing API key. I can see the API version info. I went to the jowihue tab of the bridge device as specified.

smartypantsuk commented 4 years ago

Also, is there any way to tell if the plugin changes you made are working without connecting to deCONZ via a thrid-partry home controller? I normally use Homeseer but that's on my other windows system. I can install a controller if need be.

Sure it is. you could use e.g. Rested plugin for Firefox (or any other REST-Plugin will do). However, to connect, you must have a valid API key. To get one, login to Phoscon via browser. Then, open a console and open deconz' DB, located in the home directory of the user deconz is running under (requires sqlite3 to be installed)

sqlite3 .local/share/dresden-elektronik/deCONZ/zll.db select * from auth;

First values are the API key. Copy it and call the following URL (use either your local IP or 127.0.0.1 when calling it directly on the device): http://192.168.XXX.XXX/api/<APIKEY>/sensors

Look for 2 sensors haveing the model identifier as in your screenshot above. The should be there and show values while a load is connected. Make sure to refresh the API query several times to see the changes.

but is there anyway to tell I'm actually running your plugin version

Not too sure to be honest. Didn't care much about that since Ive got a dedicated test system and gateway.

Thanks SwoopX

wvuyk commented 4 years ago

Check the Bridge user field, that is the API key for the plugin you need. Should have mentioned that in the first post :-)

smartypantsuk commented 4 years ago

Check the Bridge user field, that is the API key for the plugin you need. Should have mentioned that in the first post :-)

I actually thought it might be that but when I tried it I got an unauthorised user error. I'll try again later.

smartypantsuk commented 4 years ago

Check the Bridge user field, that is the API key for the plugin you need. Should have mentioned that in the first post :-)

I couldn't get that API key to work, whereas the method in SwoopX instructions worked, don't know why, everything in Jowihue works well.

smartypantsuk commented 4 years ago

Look for 2 sensors haveing the model identifier as in your screenshot above. The should be there and show values while a load is connected. Make sure to refresh the API query several times to see the changes.

So I tried this, but the Samsung Smart Plug shows up under 'Lights' and not sensors. It also is listed only once, as below:

listed-as-light

SwoopX commented 4 years ago

Thanks, that's not really the expected behaviour... I'd like to see the debug output from the join process. Could you please delete the device from Phoscon and then rejoin as a light? Before doing so, stop the deconz GUI service with the first command and enable debug output to be written to a file with the 2nd command

sudo systemctl stop deconz-gui
deCONZ --http-port=80 --ws-port=8888 --dbg-error=1 --dbg-info=1 > sam_join

Then, please post the file here.

smartypantsuk commented 4 years ago

Okay, think I got this right. Note: The Samsung Plug is the LightNode 8 or Light 8, I'm not sure why the other nodes were responding.

19:26:37:066 HTTP Server listen on address 0.0.0.0, port: 80, root: /usr/share/deCONZ/webapp/ 19:26:37:078 CTRL. 3.22.019:26:37:693 ZCLDB init file /home/dan/.local/share/dresden-elektronik/deCONZ/zcldb.txt 19:26:38:105 parent process bash 19:26:38:105 gw run mode: normal 19:26:38:105 GW sd-card image version file does not exist: /home/dan/.local/share/dresden-elektronik/deCONZ/gw-version 19:26:38:107 DB sqlite version 3.22.0 19:26:38:109 DB PRAGMA page_count: 30 19:26:38:109 DB PRAGMA page_size: 4096 19:26:38:109 DB PRAGMA freelist_count: 0 19:26:38:109 DB file size 122880 bytes, free pages 0 19:26:38:109 DB PRAGMA user_version: 6 19:26:38:109 DB cleanup 19:26:38:110 DB create temporary views 19:26:38:122 don't close database yet, keep open for 900 seconds 19:26:38:123 started websocket server at port 8888 19:26:38:129 found node plugin: libde_rest_plugin.so - REST API Plugin 19:26:38:133 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin 19:26:38:157 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin 19:26:38:312 Device firmware version 0x26490700 19:26:38:318 unlocked max nodes: 200 19:26:38:469 Device protocol version: 0x010B 19:26:38:515 new node - ext: 0x00212effff04fc3b, nwk: 0x0000 19:26:38:627 don't close database yet, keep open for 900 seconds 19:26:38:628 LightNode 1: Color temperature light 1 added 19:26:38:640 don't close database yet, keep open for 900 seconds 19:26:38:641 LightNode 2: Color temperature light 2 added 19:26:38:659 don't close database yet, keep open for 900 seconds 19:26:38:659 LightNode 3: Color temperature light 3 added 19:26:38:670 don't close database yet, keep open for 900 seconds 19:26:38:671 LightNode 4: Dimmable light 4 added 19:26:38:699 SensorNode 2 set node 0x001788010670ad57 19:26:38:712 don't close database yet, keep open for 900 seconds 19:26:38:712 LightNode 5: Color temperature light 5 added 19:26:38:723 don't close database yet, keep open for 900 seconds 19:26:38:724 LightNode 6: Color temperature light 6 added 19:26:38:762 CTRL [d0:cf:5e:ff:fe:ff:dc:9d] not viable in zll.db, skip load cache (101) 19:26:38:763 CTRL [00:17:88:01:06:35:b4:d3] not viable in zll.db, skip load cache (101) 19:26:38:764 CTRL [00:0d:6f:ff:fe:45:a0:bb] not viable in zll.db, skip load cache (101) 19:26:38:765 CTRL [00:17:88:01:06:37:f8:3f] not viable in zll.db, skip load cache (101) 19:26:38:766 CTRL [00:17:88:01:04:f2:72:7d] not viable in zll.db, skip load cache (101) 19:26:38:766 CTRL [00:15:8d:00:03:f1:00:3b] not viable in zll.db, skip load cache (101) 19:26:38:766 CTRL [00:15:8d:00:03:f0:fd:50] not viable in zll.db, skip load cache (101) 19:26:38:979 Current channel 25 19:26:38:997 CTRL got nwk update id 0 19:26:38:003 CTRL ANT_CTRL 0x03 19:26:39:042 Device protocol version: 0x010B 19:26:39:078 UPNP socket not bound, state: 0 19:26:39:120 Current channel 25 19:26:39:139 CTRL got nwk update id 0 19:26:39:145 CTRL ANT_CTRL 0x03 19:26:39:206 ZCL attribute report 0x0017880104F2727D for cluster 0x0001, ep 0x02 19:26:39:215 no button handler for: RWL021 ep: 0x02 cl: 0x0001 cmd: 0x0A pl[0]: 0x21 19:26:39:215 ZCL attribute report 0x001788010670AD57 for cluster 0x0001, ep 0x02 19:26:43:057 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26490700.bin.GCF 19:26:43:057 GW firmware version: 0x26490700 19:26:43:057 GW firmware version is up to date: 0x26490700 19:26:43:752 Announced to internet http://dresden-light.appspot.com/discover 19:26:46:299 new node - ext: 0x00158d0003f0fd50, nwk: 0x49E3 19:26:51:062 don't close database yet, keep open for 900 seconds 19:26:55:941 saved node state in 3 ms 19:26:56:016 sync() in 74 ms 19:27:01:338 New websocket 10.0.2.15:35844 (state: 3) 19:27:02:235 Websocket disconnected 10.0.2.15:35844 (state: 0) 19:27:04:620 New websocket 10.0.2.15:35848 (state: 3) 19:27:09:917 send permit join, duration: 59 19:27:23:118 DeviceAnnce of LightNode: 0x001788010472d5b2 Permit Join: 46 19:27:23:119 device announce 0x001788010472D5B2 (0xCBE7) mac capabilities 0x8E 19:27:23:119 device announce 0x001788010472D5B2 (0xCBE7) mac capabilities 0x8E 19:27:23:242 ZDP discovery done in 124 ms19:27:36:945 Current channel 25 19:27:36:951 CTRL got nwk update id 0 19:27:36:958 Device TTL 3122 s flags: 0x7 19:27:39:594 APS-DATA.indication from unknown node 0xCCCCCCFFFE6E2F7D 19:27:39:594 CTRL restore cached node 0xccccccfffe6e2f7d 19:27:39:594 Node zombie state changed 0xccccccfffe6e2f7d 19:27:39:595 new node - ext: 0xccccccfffe6e2f7d, nwk: 0x8D12 19:27:39:596 device announce 0xCCCCCCFFFE6E2F7D (0x8D12) mac capabilities 0x8E 19:27:39:596 device announce 0xCCCCCCFFFE6E2F7D (0x8D12) mac capabilities 0x8E 19:27:39:760 DB UPDATE device_descriptors SET data = x'01408e6811525200002c520000', timestamp = 1576438059 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 0 AND type = 2 19:27:39:760 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 0, 2, x'01408e6811525200002c520000', 1576438059 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 19:27:39:771 don't close database yet, keep open for 900 seconds 19:27:40:058 don't close database yet, keep open for 900 seconds 19:27:40:059 don't close database yet, keep open for 900 seconds 19:27:40:059 LightNode 8: Smart plug 8 added 19:27:40:060 DB UPDATE device_descriptors SET data = x'01040151000108000003000400050006000207040b82fc0303000a001900', timestamp = 1576438060 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 1 AND type = 4 19:27:40:061 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 1, 4, x'01040151000108000003000400050006000207040b82fc0303000a001900', 1576438060 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 19:27:40:076 don't close database yet, keep open for 900 seconds 19:27:40:294 DB UPDATE device_descriptors SET data = x'f2e0a161000000012100', timestamp = 1576438060 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 242 AND type = 4 19:27:40:294 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 242, 4, x'f2e0a161000000012100', 1576438060 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 19:27:40:301 don't close database yet, keep open for 900 seconds 19:27:40:440 ZDP discovery done in 844 ms19:27:41:005 Add to group response for light 8. Status:0x00, capacity: 0 19:27:49:938 saved node state in 5 ms 19:27:49:960 sync() in 21 ms 19:28:09:827 Search sensors done 19:28:09:928 don't close database yet, keep open for 900 seconds 19:28:12:071 0x001788010472D5B2 error APSDE-DATA.confirm: 0xE9 on task 19:28:22:670 Websocket disconnected 10.0.2.15:35848 (state: 0) 19:28:25:693 ZCL attribute report 0x001788010635B4D3 for cluster 0x0001, ep 0x02 19:28:26:857 saved node state in 3 ms 19:28:26:879 sync() in 21 ms 19:28:26:880 REST API plugin shutting down 19:28:26:886 sync() in 5 ms

djashjones commented 4 years ago

I've just got mine, watching with interest :o)

djashjones commented 4 years ago

Just got mine. Doing a good deal on amazon at the 1 = £30, 3 = £75, 5 = £120

smart plug

Shows up in Home Assistant. Can switch it on/off through HA but the if I use the plugs button, the state is not updated in HA unless I do a 'read' in Deconz. No energy monitoring.

smartypantsuk commented 4 years ago

Good deal for good plugs just need monitoring.

SwoopX commented 4 years ago

@smartypantsuk thanks for sharing, very strange. Could you please try it again but this time searching for sensors? Maybe it would also help if you put any load on it while pairing.

smartypantsuk commented 4 years ago

Will do.

SwoopX commented 4 years ago

Great. Meanwhile, I'll double check how one of my innr plugs behaves.

smartypantsuk commented 4 years ago

@smartypantsuk thanks for sharing, very strange. Could you please try it again but this time searching for sensors? Maybe it would also help if you put any load on it while pairing.

It's difficult to put a load on while pairing because, I think in order to pair it again you have to factory reset it, which turns off the load when you do it.

SwoopX commented 4 years ago

I see. Then maybe give it another go with the sensor search. I checked the innr plug but it pretty much goes the same as the Samsung does. Eventually, the sensors drop just in too slowly and another option could be to increase search duration for light in Phoscon under Gateway -> Advanced (at the bottom) to 3 mins.

Btw, you can also shortcut to check if the sensors have been created by having a look inside the deconz DB (as you'd do for the API key). While connected with SQLite3, use the query select * from sensors;

smartypantsuk commented 4 years ago

I see. Then maybe give it another go with the sensor search. I checked the innr plug but it pretty much goes the same as the Samsung does. Eventually, the sensors drop just in too slowly and another option could be to increase search duration for light in Phoscon under Gateway -> Advanced (at the bottom) to 3 mins.

Nevermind, I worked out that if I reset the plug first, then turned it on/off I could power a load while it was in pair mode. Here is the output while searching for sensors, but I don't think anything has changed.

20:40:07:034 HTTP Server listen on address 0.0.0.0, port: 80, root: /usr/share/deCONZ/webapp/ 20:40:07:046 CTRL. 3.22.020:40:07:770 ZCLDB init file /home/dan/.local/share/dresden-elektronik/deCONZ/zcldb.txt 20:40:08:294 parent process bash 20:40:08:294 gw run mode: normal 20:40:08:294 GW sd-card image version file does not exist: /home/dan/.local/share/dresden-elektronik/deCONZ/gw-version 20:40:08:296 DB sqlite version 3.22.0 20:40:08:298 DB PRAGMA page_count: 30 20:40:08:298 DB PRAGMA page_size: 4096 20:40:08:298 DB PRAGMA freelist_count: 0 20:40:08:298 DB file size 122880 bytes, free pages 0 20:40:08:299 DB PRAGMA user_version: 6 20:40:08:299 DB cleanup 20:40:08:300 DB create temporary views 20:40:08:314 don't close database yet, keep open for 900 seconds 20:40:08:316 started websocket server at port 8888 20:40:08:323 found node plugin: libde_rest_plugin.so - REST API Plugin 20:40:08:328 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin 20:40:08:356 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin 20:40:08:535 Device firmware version 0x26490700 20:40:08:541 unlocked max nodes: 200 20:40:08:657 Device protocol version: 0x010B 20:40:08:722 new node - ext: 0x00212effff04fc3b, nwk: 0x0000 20:40:08:876 don't close database yet, keep open for 900 seconds 20:40:08:877 LightNode 1: Color temperature light 1 added 20:40:08:891 don't close database yet, keep open for 900 seconds 20:40:08:892 LightNode 2: Color temperature light 2 added 20:40:08:915 don't close database yet, keep open for 900 seconds 20:40:08:916 LightNode 3: Color temperature light 3 added 20:40:08:929 don't close database yet, keep open for 900 seconds 20:40:08:930 LightNode 4: Dimmable light 4 added 20:40:08:959 SensorNode 2 set node 0x001788010670ad57 20:40:08:973 don't close database yet, keep open for 900 seconds 20:40:08:974 LightNode 5: Color temperature light 5 added 20:40:08:988 don't close database yet, keep open for 900 seconds 20:40:08:989 LightNode 6: Color temperature light 6 added 20:40:09:027 CTRL [d0:cf:5e:ff:fe:ff:dc:9d] not viable in zll.db, skip load cache (101) 20:40:09:028 CTRL [00:17:88:01:06:35:b4:d3] not viable in zll.db, skip load cache (101) 20:40:09:029 CTRL [00:0d:6f:ff:fe:45:a0:bb] not viable in zll.db, skip load cache (101) 20:40:09:031 CTRL [00:17:88:01:06:37:f8:3f] not viable in zll.db, skip load cache (101) 20:40:09:031 CTRL [00:17:88:01:04:f2:72:7d] not viable in zll.db, skip load cache (101) 20:40:09:271 UPNP socket not bound, state: 0 20:40:09:318 Current channel 25 20:40:09:336 CTRL got nwk update id 0 20:40:09:344 CTRL ANT_CTRL 0x03 20:40:09:398 Device protocol version: 0x010B 20:40:09:484 Current channel 25 20:40:09:502 CTRL got nwk update id 0 20:40:09:508 CTRL ANT_CTRL 0x03 20:40:09:555 no button handler for: RWL021 ep: 0x02 cl: 0x0001 cmd: 0x0A pl[0]: 0x21 20:40:09:555 ZCL attribute report 0x001788010670AD57 for cluster 0x0001, ep 0x02 20:40:09:561 APS-DATA.indication from unknown node 0x87AF 20:40:09:561 ZCL attribute report 0x0000000000000000 for cluster 0x0402, ep 0x01 20:40:09:569 APS-DATA.indication from unknown node 0x87AF 20:40:09:569 ZCL attribute report 0x0000000000000000 for cluster 0x0405, ep 0x01 20:40:11:750 new node - ext: 0xccccccfffe6e2f7d, nwk: 0x8D12 20:40:13:404 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26490700.bin.GCF 20:40:13:404 GW firmware version: 0x26490700 20:40:13:404 GW firmware version is up to date: 0x26490700 20:40:14:138 Announced to internet http://dresden-light.appspot.com/discover 20:40:15:413 new node - ext: 0x00158d0003f0fd50, nwk: 0x49E3 20:40:20:238 don't close database yet, keep open for 900 seconds 20:40:25:238 saved node state in 4 ms 20:40:25:266 sync() in 26 ms 20:40:27:889 ZCL attribute report 0x001788010637F83F for cluster 0x0001, ep 0x02 20:40:31:974 ZCL attribute report 0x0017880104F2727D for cluster 0x0001, ep 0x02 20:40:48:549 New websocket 10.0.2.15:38470 (state: 3) 20:40:49:805 Websocket disconnected 10.0.2.15:38470 (state: 0) 20:40:54:496 ZCL attribute report 0x001788010635B4D3 for cluster 0x0001, ep 0x02 20:40:54:927 New websocket 10.0.2.15:38492 (state: 3) 20:41:01:218 send permit join, duration: 59 20:41:07:264 Current channel 25 20:41:07:270 CTRL got nwk update id 0 20:41:07:279 Device TTL 2934 s flags: 0x7 20:41:28:750 DeviceAnnce of LightNode: 0x001788010472d5b2 Permit Join: 32 20:41:28:751 device announce 0x001788010472D5B2 (0xCBE7) mac capabilities 0x8E 20:41:28:751 device announce 0x001788010472D5B2 (0xCBE7) mac capabilities 0x8E 20:41:28:864 ZDP discovery done in 114 ms20:41:44:685 CTRL skip polling while permit join is set 20:41:48:767 CTRL skip polling while permit join is set 20:41:54:115 CTRL skip polling while permit join is set 20:41:54:140 device announce 0xCCCCCCFFFE6E2F7D (0x8D12) mac capabilities 0x8E 20:41:54:140 device announce 0xCCCCCCFFFE6E2F7D (0x8D12) mac capabilities 0x8E 20:42:00:651 Search sensors done 20:42:02:218 send permit join, duration: 59 20:42:03:725 no button handler for: RWL021 ep: 0x02 cl: 0x0001 cmd: 0x0A pl[0]: 0x21 20:42:03:726 ZCL attribute report 0x001788010670AD57 for cluster 0x0001, ep 0x02 20:42:05:834 DB UPDATE device_descriptors SET data = x'01408e6811525200002c520000', timestamp = 1576701725 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 0 AND type = 2 20:42:05:835 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 0, 2, x'01408e6811525200002c520000', 1576701725 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 20:42:05:843 don't close database yet, keep open for 900 seconds 20:42:06:230 don't close database yet, keep open for 900 seconds 20:42:06:231 don't close database yet, keep open for 900 seconds 20:42:06:232 LightNode 8: Smart plug 8 added 20:42:06:233 DB UPDATE device_descriptors SET data = x'01040151000108000003000400050006000207040b82fc0303000a001900', timestamp = 1576701726 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 1 AND type = 4 20:42:06:234 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 1, 4, x'01040151000108000003000400050006000207040b82fc0303000a001900', 1576701726 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 20:42:06:241 don't close database yet, keep open for 900 seconds 20:42:06:389 DB UPDATE device_descriptors SET data = x'f2e0a161000000012100', timestamp = 1576701726 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 242 AND type = 4 20:42:06:390 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 242, 4, x'f2e0a161000000012100', 1576701726 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 20:42:06:398 don't close database yet, keep open for 900 seconds 20:42:06:535 ZDP discovery done in 12395 ms20:42:06:608 Add to group response for light 8. Status:0x00, capacity: 0 20:42:07:280 Current channel 25 20:42:07:287 CTRL got nwk update id 0 20:42:07:292 Device TTL 2874 s flags: 0x7 20:42:13:566 verified group capacity: 11 and group count: 1 of LightNode 0xccccccfffe6e2f7d 20:42:13:567 0xccccccfffe6e2f7d found group 0xFFF0 20:42:14:261 verified group capacity: 22 and group count: 3 of LightNode 0x00178801048405bc 20:42:14:261 0x00178801048405bc found group 0xFFF0 20:42:14:261 0x00178801048405bc found group 0x0001 20:42:14:261 0x00178801048405bc found group 0x0002 20:42:15:007 verified group capacity: 22 and group count: 3 of LightNode 0x001788010472f097 20:42:15:008 0x001788010472f097 found group 0xFFF0 20:42:15:008 0x001788010472f097 found group 0x0002 20:42:15:008 0x001788010472f097 found group 0x0004 20:42:15:758 verified group capacity: 22 and group count: 3 of LightNode 0x0017880104aa7f0d 20:42:15:758 0x0017880104aa7f0d found group 0xFFF0 20:42:15:758 0x0017880104aa7f0d found group 0x0002 20:42:15:758 0x0017880104aa7f0d found group 0x0004 20:42:16:224 saved node state in 4 ms 20:42:16:238 sync() in 13 ms 20:42:16:538 verified group capacity: 23 and group count: 2 of LightNode 0x0017880100df1065 20:42:16:539 0x0017880100df1065 found group 0xFFF0 20:42:16:539 0x0017880100df1065 found group 0x0003 20:42:17:271 verified group capacity: 22 and group count: 3 of LightNode 0x001788010472d5b2 20:42:17:271 0x001788010472d5b2 found group 0xFFF0 20:42:17:271 0x001788010472d5b2 found group 0x0002 20:42:17:271 0x001788010472d5b2 found group 0x0003 20:42:18:036 verified group capacity: 22 and group count: 3 of LightNode 0x0017880104c1a306 20:42:18:036 0x0017880104c1a306 found group 0xFFF0 20:42:18:036 0x0017880104c1a306 found group 0x0001 20:42:18:036 0x0017880104c1a306 found group 0x0002 20:42:27:261 Websocket disconnected 10.0.2.15:38492 (state: 0) 20:42:30:289 New websocket 10.0.2.15:38534 (state: 3) 20:42:45:274 Websocket disconnected 10.0.2.15:38534 (state: 0) 20:42:48:214 saved node state in 4 ms 20:42:48:243 sync() in 29 ms 20:42:48:244 REST API plugin shutting down 20:42:48:263 sync() in 5 ms

smartypantsuk commented 4 years ago

No sensors have been created. I'll try the light search for longer.

2|Dimmer Switch|ZHASwitch|RWL021|Philips|00:17:88:01:06:70:ad:57-02-fc00|6.1.1.28573|{"buttonevent":null,"lastupdated":null}|{"battery":100,"group":"6416","on":true,"reachable":true}|{"d":2096,"ep":2,"in":[0,1,64512],"out":[6,8,5],"p":49246}|normal|1 1|Daylight|Daylight|PHDL00|Philips|00:21:2e:ff:ff:04:fc:3b-01|1.0|{"dark":true,"daylight":false,"lastupdated":"2019-12-18T20:53:33","status":230,"sunrise":"2019-12-18T08:03:03","sunset":"2019-12-18T15:53:24"}|{"configured":true,"lat":"51.507351","long":"-0.127758","on":true,"sunriseoffset":30,"sunsetoffset":-30}||normal|1 3|Dimmer Switch (2)|ZHASwitch|RWL021|Philips|00:17:88:01:06:35:b4:d3-02-fc00|5.45.1.17846|{"buttonevent":null,"lastupdated":null}|{"group":"10483","on":true,"reachable":true}|{"d":2096,"ep":2,"in":[0,1,64512],"out":[6,8,5],"p":49246}|normal|1 sqlite>

SwoopX commented 4 years ago

U were a bit too fast on this one according to the timestamps (~40 secs) ;) But it worked a bit better, as we haven't had the group search before.

smartypantsuk commented 4 years ago

The sensor search opens for 3 mins. The light search for 1 min. Is there some difference between light and sensor search in terms of what it looks for?

SwoopX commented 4 years ago

Not that I'm aware of but I'd assume it would skip the search for any light node (besides duration of course). The log should show something like this upon success SensorNode 3: Power 3 added

smartypantsuk commented 4 years ago

So this time I've set the light search for 3 minutes, I also placed a larger load on the smart plug just in case the load was too small before. Sadly no change in the sensors being added.

21:24:49:405 HTTP Server listen on address 0.0.0.0, port: 80, root: /usr/share/deCONZ/webapp/ 21:24:49:420 CTRL. 3.22.021:24:50:678 ZCLDB init file /home/dan/.local/share/dresden-elektronik/deCONZ/zcldb.txt 21:24:51:091 parent process bash 21:24:51:092 gw run mode: normal 21:24:51:092 GW sd-card image version file does not exist: /home/dan/.local/share/dresden-elektronik/deCONZ/gw-version 21:24:51:093 DB sqlite version 3.22.0 21:24:51:095 DB PRAGMA page_count: 30 21:24:51:095 DB PRAGMA page_size: 4096 21:24:51:095 DB PRAGMA freelist_count: 0 21:24:51:095 DB file size 122880 bytes, free pages 0 21:24:51:095 DB PRAGMA user_version: 6 21:24:51:095 DB cleanup 21:24:51:096 DB create temporary views 21:24:51:110 don't close database yet, keep open for 900 seconds 21:24:51:112 started websocket server at port 8888 21:24:51:117 found node plugin: libde_rest_plugin.so - REST API Plugin 21:24:51:121 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin 21:24:51:143 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin 21:24:51:292 Device firmware version 0x26490700 21:24:51:299 unlocked max nodes: 200 21:24:51:416 Device protocol version: 0x010B 21:24:51:467 new node - ext: 0x00212effff04fc3b, nwk: 0x0000 21:24:51:587 don't close database yet, keep open for 900 seconds 21:24:51:588 LightNode 1: Color temperature light 1 added 21:24:51:600 don't close database yet, keep open for 900 seconds 21:24:51:601 LightNode 2: Color temperature light 2 added 21:24:51:622 don't close database yet, keep open for 900 seconds 21:24:51:623 LightNode 3: Color temperature light 3 added 21:24:51:635 don't close database yet, keep open for 900 seconds 21:24:51:635 LightNode 4: Dimmable light 4 added 21:24:51:646 SensorNode 3 set node 0x001788010635b4d3 21:24:51:661 SensorNode 2 set node 0x001788010670ad57 21:24:51:673 don't close database yet, keep open for 900 seconds 21:24:51:673 LightNode 5: Color temperature light 5 added 21:24:51:684 don't close database yet, keep open for 900 seconds 21:24:51:684 LightNode 6: Color temperature light 6 added 21:24:51:714 CTRL [d0:cf:5e:ff:fe:ff:dc:9d] not viable in zll.db, skip load cache (101) 21:24:51:716 CTRL [00:0d:6f:ff:fe:45:a0:bb] not viable in zll.db, skip load cache (101) 21:24:51:717 CTRL [00:17:88:01:06:37:f8:3f] not viable in zll.db, skip load cache (101) 21:24:51:718 CTRL [00:17:88:01:04:f2:72:7d] not viable in zll.db, skip load cache (101) 21:24:51:936 Current channel 25 21:24:51:953 CTRL got nwk update id 0 21:24:51:959 CTRL ANT_CTRL 0x03 21:24:51:996 Device protocol version: 0x010B 21:24:52:064 UPNP socket not bound, state: 0 21:24:52:073 Current channel 25 21:24:52:096 CTRL got nwk update id 0 21:24:52:102 CTRL ANT_CTRL 0x03 21:24:54:888 new node - ext: 0x00158d0003f0fd50, nwk: 0x49E3 21:24:56:067 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26490700.bin.GCF 21:24:56:067 GW firmware version: 0x26490700 21:24:56:067 GW firmware version is up to date: 0x26490700 21:24:56:814 Announced to internet http://dresden-light.appspot.com/discover 21:25:04:964 saved node state in 9 ms 21:25:04:990 sync() in 25 ms 21:25:11:624 created username: 3F430DA686, devicetype: Phoscon#B833x471 21:25:16:419 New websocket 127.0.0.1:42258 (state: 3) 21:25:16:883 don't close database yet, keep open for 900 seconds 21:25:17:000 Websocket disconnected 127.0.0.1:42258 (state: 0) 21:25:21:119 New websocket 127.0.0.1:42288 (state: 3) 21:25:27:497 0x00178801048405BC error APSDE-DATA.confirm: 0xE9 on task 21:25:28:237 ZCL attribute report 0x00158D0003F0FD50 for cluster 0x0405, ep 0x01 21:25:36:819 ZCL attribute report 0x001788010637F83F for cluster 0x0001, ep 0x02 21:25:39:790 0x00178801048405BC error APSDE-DATA.confirm: 0xE9 on task 21:25:41:209 ZCL attribute report 0x0017880104F2727D for cluster 0x0001, ep 0x02 21:25:48:958 Current channel 25 21:25:48:964 CTRL got nwk update id 0 21:25:48:971 Device TTL 2944 s flags: 0x7 21:25:55:686 0x00178801048405BC error APSDE-DATA.confirm: 0xA7 on task 21:26:04:551 no button handler for: RWL021 ep: 0x02 cl: 0x0001 cmd: 0x0A pl[0]: 0x21 21:26:04:551 ZCL attribute report 0x001788010635B4D3 for cluster 0x0001, ep 0x02 21:26:04:797 0x00178801048405BC error APSDE-DATA.confirm: 0xE9 on task 21:26:20:198 Websocket disconnected 127.0.0.1:42288 (state: 0) 21:26:20:297 0x00178801048405BC error APSDE-DATA.confirm: 0xA7 on task 21:26:22:458 New websocket 127.0.0.1:42312 (state: 3) 21:26:23:809 Websocket disconnected 127.0.0.1:42312 (state: 0) 21:26:26:755 New websocket 127.0.0.1:42314 (state: 3) 21:26:35:380 0x00178801048405BC error APSDE-DATA.confirm: 0xA7 on task 21:26:38:756 set gwNetworkOpenDuration to: 180 21:26:43:305 0x00178801048405BC error APSDE-DATA.confirm: 0xE9 on task 21:26:44:009 don't close database yet, keep open for 900 seconds 21:26:45:845 APS-DATA.indication from unknown node 0x00158D0003F0FB7D 21:26:45:845 ZCL attribute report 0x00158D0003F0FB7D for cluster 0x0402, ep 0x01 21:26:45:857 APS-DATA.indication from unknown node 0x00158D0003F0FB7D 21:26:45:858 ZCL attribute report 0x00158D0003F0FB7D for cluster 0x0405, ep 0x01 21:26:45:863 APS-DATA.indication from unknown node 0x00158D0003F0FB7D 21:26:45:863 ZCL attribute report 0x00158D0003F0FB7D for cluster 0x0403, ep 0x01 21:26:47:801 Websocket disconnected 127.0.0.1:42314 (state: 0) 21:26:48:955 Current channel 25 21:26:48:964 CTRL got nwk update id 0 21:26:48:971 Device TTL 2884 s flags: 0x7 21:26:53:481 New websocket 127.0.0.1:42316 (state: 3) 21:26:56:722 verified group capacity: 22 and group count: 3 of LightNode 0x001788010472f097 21:26:56:722 0x001788010472f097 found group 0xFFF0 21:26:56:722 0x001788010472f097 found group 0x0002 21:26:56:722 0x001788010472f097 found group 0x0004 21:26:57:476 verified group capacity: 22 and group count: 3 of LightNode 0x0017880104aa7f0d 21:26:57:476 0x0017880104aa7f0d found group 0xFFF0 21:26:57:476 0x0017880104aa7f0d found group 0x0002 21:26:57:476 0x0017880104aa7f0d found group 0x0004 21:26:58:222 verified group capacity: 23 and group count: 2 of LightNode 0x0017880100df1065 21:26:58:222 0x0017880100df1065 found group 0xFFF0 21:26:58:222 0x0017880100df1065 found group 0x0003 21:26:58:985 verified group capacity: 22 and group count: 3 of LightNode 0x001788010472d5b2 21:26:58:985 0x001788010472d5b2 found group 0xFFF0 21:26:58:985 0x001788010472d5b2 found group 0x0002 21:26:58:985 0x001788010472d5b2 found group 0x0003 21:26:59:116 0x00178801048405BC error APSDE-DATA.confirm: 0xA7 on task 21:26:59:742 verified group capacity: 22 and group count: 3 of LightNode 0x0017880104c1a306 21:26:59:742 0x0017880104c1a306 found group 0xFFF0 21:26:59:743 0x0017880104c1a306 found group 0x0001 21:26:59:743 0x0017880104c1a306 found group 0x0002 21:27:00:848 Websocket disconnected 127.0.0.1:42316 (state: 0) 21:27:03:108 New websocket 127.0.0.1:42322 (state: 3) 21:27:08:928 send permit join, duration: 59 21:27:11:555 no button handler for: RWL021 ep: 0x02 cl: 0x0001 cmd: 0x0A pl[0]: 0x21 21:27:11:555 ZCL attribute report 0x001788010670AD57 for cluster 0x0001, ep 0x02 21:27:14:404 0x00178801048405BC error APSDE-DATA.confirm: 0xA7 on task 21:27:16:882 Bind response success for 0x001788010670ad57 cluster 0xFC00 21:27:20:913 APS-DATA.indication from unknown node 0xCCCCCCFFFE6E2F7D 21:27:20:919 new node - ext: 0xccccccfffe6e2f7d, nwk: 0x9384 21:27:20:921 device announce 0xCCCCCCFFFE6E2F7D (0x9384) mac capabilities 0x8E 21:27:20:921 device announce 0xCCCCCCFFFE6E2F7D (0x9384) mac capabilities 0x8E 21:27:21:075 DB UPDATE device_descriptors SET data = x'01408e6811525200002c520000', timestamp = 1576704441 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 0 AND type = 2 21:27:21:075 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 0, 2, x'01408e6811525200002c520000', 1576704441 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 21:27:21:083 don't close database yet, keep open for 900 seconds 21:27:21:385 don't close database yet, keep open for 900 seconds 21:27:21:386 don't close database yet, keep open for 900 seconds 21:27:21:386 LightNode 8: Smart plug 8 added 21:27:21:387 DB UPDATE device_descriptors SET data = x'01040151000108000003000400050006000207040b82fc0303000a001900', timestamp = 1576704441 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 1 AND type = 4 21:27:21:388 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 1, 4, x'01040151000108000003000400050006000207040b82fc0303000a001900', 1576704441 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 21:27:21:400 don't close database yet, keep open for 900 seconds 21:27:21:620 DB UPDATE device_descriptors SET data = x'f2e0a161000000012100', timestamp = 1576704441 WHERE device_id = (SELECT id FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d') AND endpoint = 242 AND type = 4 21:27:21:621 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 242, 4, x'f2e0a161000000012100', 1576704441 FROM devices WHERE mac = 'cc:cc:cc:ff:fe:6e:2f:7d' 21:27:21:631 don't close database yet, keep open for 900 seconds 21:27:21:771 ZDP discovery done in 850 ms21:27:22:519 Add to group response for light 8. Status:0x00, capacity: 0 21:27:31:951 saved node state in 5 ms 21:27:31:972 sync() in 21 ms 21:27:41:019 verified group capacity: 11 and group count: 1 of LightNode 0xccccccfffe6e2f7d 21:27:41:019 0xccccccfffe6e2f7d found group 0xFFF0 21:27:48:972 Current channel 25 21:27:48:978 CTRL got nwk update id 0 21:27:48:984 Device TTL 2824 s flags: 0x7 21:28:07:929 send permit join, duration: 59 21:28:48:957 Current channel 25 21:28:48:963 CTRL got nwk update id 0 21:28:48:969 Device TTL 2764 s flags: 0x7 21:28:56:093 GW firmware version: 0x26490700 21:28:56:094 GW firmware version is up to date: 0x26490700 21:29:06:932 send permit join, duration: 59 21:29:48:959 Current channel 25 21:29:48:964 CTRL got nwk update id 0 21:29:48:972 Device TTL 2704 s flags: 0x7 21:30:01:049 new node - ext: 0x00158d0003f1003b, nwk: 0x87AF 21:30:06:871 Search sensors done 21:30:10:958 saved node state in 6 ms 21:30:10:972 sync() in 13 ms 21:30:10:986 don't close database yet, keep open for 900 seconds 21:30:11:234 0xCCCCCCFFFE6E2F7D onOff 0 --> 1 21:30:38:104 ZCL attribute report 0x001788010637F83F for cluster 0x0001, ep 0x02 21:30:42:487 ZCL attribute report 0x0017880104F2727D for cluster 0x0001, ep 0x02 21:30:48:391 0x00178801048405BC error APSDE-DATA.confirm: 0xE9 on task 21:30:48:959 Current channel 25 21:30:48:968 CTRL got nwk update id 0 21:30:48:975 Device TTL 2644 s flags: 0x7 21:30:54:797 0x0017880104C1A306 error APSDE-DATA.confirm: 0xE9 on task 21:30:55:367 Websocket disconnected 127.0.0.1:42322 (state: 0) 21:31:03:526 saved node state in 4 ms 21:31:03:568 sync() in 41 ms 21:31:03:569 REST API plugin shutting down 21:31:03:581 sync() in 3 ms

smartypantsuk commented 4 years ago

I've just deleted and recompiled your plugin just to make sure I was running the right one. Same outcome.

SwoopX commented 4 years ago

Sorry, I cannot really wrap my head around that. You may try manually reading the simple descriptors once again in deconz GUI (next to the bullet giving you all the cluster IDs). Also, not sure if you tried that, please restart deconz.

@ebaauw would you have any other ideas here? Might be difficult otherwise without a sniff.

smartypantsuk commented 4 years ago

Sorry, I cannot really wrap my head around that. You may try manually reading the simple descriptors once again in deconz GUI (next to the bullet giving you all the cluster IDs). Also, not sure if you tried that, please restart deconz.

@ebaauw would you have any other ideas here? Might be difficult otherwise without a sniff.

Ok I'll give another go over holidays

SwoopX commented 4 years ago

Just received the EU version of the plug today. Of course, its different than the UK version :( Curious to see if I can get than one to work.

smartypantsuk commented 4 years ago

Just received the EU version of the plug today. Of course, its different than the UK version :( Corious to see if I can get than one to work.

Bloody typical 👎 How is it different, do you mean just physically? or software?

SwoopX commented 4 years ago

Well, I'd say in any regard. Different manufacturer, different MAC address, different clusters... grafik Your version reminds me of the innr SP 120 EU version. mine on the innr SP 240 UK version.

djashjones commented 4 years ago

Well I just brought a Heiman UK plug. I hope that works. Why is it so hard to buy a zigbee plug with power monitoring that's supported in the UK?

smartypantsuk commented 4 years ago

Well I just brought a Heiman UK plug. I hope that works. Why is it so hard to buy a zigbee plug with power monitoring that's supported in the UK?

This^ Maybe we're just undeserved 😂. I'm not buying zwave plugs as much as I would prefer to. Too expensive.

smartypantsuk commented 4 years ago

Well, I'd say in any regard. Different manufacturer, different MAC address, different clusters... grafik Your version reminds me of the innr SP 120 EU version. mine on the innr SP 240 UK version.

I had the Innr UK plug SP222 but it never supported power monitoring.

djashjones commented 4 years ago

Can't even blame Brexit, lol.

Yes, I have 4 fibaro plugs. great devices, lots of config but £55 each!!!!. The TKB Home TZ69E has energy monitoring and the cheapest is around £35, less options and huge.

SwoopX commented 4 years ago

Guys, what should I say. adding support for the EU plug and everything works as it should.

Can you guys try putting a load on the plug (e.g. charge a mobile) and have a look at deconz GUI, electrical measurement, cluster 050B and see, if you get any values? That should at least give us some insights if anything is measured at all.

However, my Samsung plug is kinda useless to me. Simple metering is missing and upon swithcing, I feel the fuse is popping right out with it. Keep sticking with the inner SP120. Also, less than half the price here.

djashjones commented 4 years ago

I put a 60w light bulb on mine and the values changed when I did a read