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

Device support Bticino Living Now #2707

Closed
zinoalex opened this issue Apr 22, 2020 · 101 comments
Closed

Device support Bticino Living Now #2707

zinoalex opened this issue Apr 22, 2020 · 101 comments
Labels

Comments

@zinoalex
Copy link

zinoalex commented Apr 22, 2020

Hi guys, would be possible to expand the support to the Bticino Living Now devices?
I was able to include (only on channel 11 and after device's firmware upgrade) and use:

K4027C shutter controller (light in Phoscon)
F20T60A: DIN energy monitor mistakenly called Legrand DIN power consumption module (not visible in phoscon)
K4531C: power consumption module (light in Phoscon)
K4027CW: wireless shutter command (not visible in phoscon)
In all those devices the manufacturer is wrong reporting Legrand.

Unable to use:
K4003C: connected deviator
This one is recognized and included in the network after FW upgrade to v22 and channel 11 but it doesn't report the actual status. Toggle mode in deconz works. Any ideas to do that? I read a post about zigbee2mqtt and they were able to control this device.

Device
Screenshots

@Smanar
Copy link
Collaborator

Smanar commented Apr 22, 2020

Hello, was my question here ^^ #2674 (comment)

How are you using deconz for this device ?
The api haven't toogle fonction, it have only "on" and "off" ?

And it doesn't report status because this device is not in whitelist for binding. I can add it in the code (just one line to add).

To activate the reporting, waiting for code modification, you can use deconz

First make the bind

  • Display the bind dropbox
  • drag and drop the cluster 0006 from your device to the "source box"
  • drag and drop the endpoint 01 (the title of the node") from the conbee to the "destination box"
  • press "bind" button

Then enable attribute reporting

  • display the cluster 0006 on/off in deconz
  • on the table on the bottom, select the attribute 0x0000
  • double click, press "read" and check values, 1 /300 is not bad value.

Or if you can compile the code, I can make modification now, but I need to understand how it work, because there is no real "on" and "off", if you use the output 2 it will be "off" but if you use the output 1 it will be "on".

And if you are using a not connected deviator on the same circuit, it can be on and off without action on the device.

@zinoalex
Copy link
Author

Sorry Smanar I've missed the post.
I'm using the GUI accessible via VNC latest release (.75) in docker with Conbee II.
toggle
I have these functions: Off, On and toggle. With off nothing happens, with On and Toggle the device switches between pin 1 and 2.

The result after you instructions:
binding
the value stays "false" either with power on pin 1 and 2

@Smanar
Copy link
Collaborator

Smanar commented Apr 26, 2020

Ok, so if the value stay false, it will be a problem, I will check z2m to see If I found more information

But can you use the device ATM with the API (phoscon or HA) ? There is no toogle command on it, how are you using the device ? If you seend multiple "on" command it toogle the output ?

@Smanar
Copy link
Collaborator

Smanar commented Apr 26, 2020

Ok so I have found something

The device has a single command button that commutes the phase(L) between the 2 outputs (two-way-switch/va-et-vient) so one of the 2 output is always 'ON', and a little reset/paring button (not accessible when the cover is mounted/during normal operation) + LED. As you can see the device always reports back the state of OFF (but the light is ON)

But

Both my K4003C are responding correctly to ON OFF commands and reports back correct state even when switching ON/OFF from non smart switches (two way wiring)

So I think the device can check the consumption or current presence, are you making try with a bulb or other thing that consumme current ?

@zinoalex
Copy link
Author

Update: I connected the device with a bulb and another deviator and actually works correctly. Now the ON/OFF status changes between true and false, so it must have a kind of consumption meter inside.

@Smanar
Copy link
Collaborator

Smanar commented Apr 28, 2020

Realy nice hardware, seriously, was a good idea to use something hardware to guess if it's on or off for this kind of situation.
IDK why we haven't it in france, perhaps because we don't use neutral for switch.

So, nothing to change ? I just need to enable the binding/report automaticly ?

@zinoalex
Copy link
Author

I think so, anyway I connected all the 4 deviators that were previously connected to the Bticino gateway and everything is working great with Home Assistant, the trick was to connect a load in order to change the on/off flag.
yes is actually a very smart piece of hardware, the only limitations are that you need the Bticino Living Now series which is quite new and a neutral wire.
Merci anyway Smanar

@Smanar
Copy link
Collaborator

Smanar commented Apr 28, 2020

All is already working ?
You have done the binding/report manually, or they don't need it for state return ?

@zinoalex
Copy link
Author

No need for manual binding

@Smanar
Copy link
Collaborator

Smanar commented Apr 30, 2020

Ok thx, so I let the code as it.

@Mimiix
Copy link
Collaborator

Mimiix commented Jun 5, 2020

It seems this issue is inactive / resolved. If it is not, please re-open or create another issue!

@Mimiix Mimiix closed this as completed Jun 5, 2020
@lambu76
Copy link

lambu76 commented Oct 25, 2020

Hi all, I have a strange problem with a BTicino connected deviator (N4003C) and Conbee II.

I have a fresh installation of deCONZ (last version V2_05_86).

Once configured to use the channel 11 and reset the deviator to default factory I can see inot the zigbee network, connected t the Conbee II, but after a few minutes the binding is lost and it's not anymore possible to add it.

let me underline between the automatic adding into the network and the lost of bidning I didn't perform any action...just waiting for the lost of bidnding.

Any ideas ?

thx

@Smanar
Copy link
Collaborator

Smanar commented Oct 26, 2020

Yep, probably a bad inclusion.
Legrand device join easily a network but if the procedure is not respected they leave immediatly after.

What if your inclusion procedure ? remember you need to use the hidden button not the deviator itself.

@lambu76
Copy link

lambu76 commented Oct 26, 2020

mmmmm.....maybe I missed something...I'm very rookie on this topic.

Could you please remember which is the proper procedure ?

Personally I just pressed the reset button in order to restore default factory settings into the deviator, but nothing else.

It has been joined to the Zigbee network.

thx

@Smanar
Copy link
Collaborator

Smanar commented Oct 26, 2020

I have only Legrand device on my side, not Bticino but for me it's

Long press to reset, ignoring the first blink, , release, then short press.
You have a led blinking, you need to have green color.

@lambu76
Copy link

lambu76 commented Oct 26, 2020

ok thx I will try.

Just a quick question.

Do you have the original gateway in place ?

Currently I'm trying such kind of test without the Legrand/Bticino gateway.

thx

@Smanar
Copy link
Collaborator

Smanar commented Oct 26, 2020

I have it, but in a box, not connected.
But it's not the same procedure, it s easier with the original gateway.

You don't need the long press on it, for deconz, you need the red led fixe (at least for legrand)

@lambu76
Copy link

lambu76 commented Oct 26, 2020

unfortunately with BTicino if I take pressed button for reset I have the first blink, but after that if I release and repress the button nothing else happen.

I need someone else who have already integrated a BTicino component.

@lambu76
Copy link

lambu76 commented Oct 26, 2020

No need for manual binding

Hi, can I kindly ask you your help ?

thx

@Smanar
Copy link
Collaborator

Smanar commented Oct 26, 2020

You need to ignore the first blink, and keep pressed.

If @zinoalex have another procedure ?

@zinoalex
Copy link
Author

Hi lambu,
first of all you need to pair your deviator with the original Bticino gateway in order to update the firmware (at least v22, it takes quite a few time), than reset to factory pressing the button (keep it pressed). Switch off the bticino gateway and all the other zigbee gateways (Hue, ecc) except the conbee II. Turn on the discovery as a light and start to press the deviator reset button. Remember that is not immediate, vnc page is very useful to check if it is included or not. Most of my network problems were from the double zigbee network (hue and conbee) + wifi channel overlapping. Now i use 3 deviator, 3 blind controller and a couple of scenery button since months with no issues at all. Anyway check the channels https://community-assets.home-assistant.io/original/3X/2/f/2fa03d15dd0a963475c38cb03d776b8e8750c9b5.png

@Smanar
Copy link
Collaborator

Smanar commented Oct 27, 2020

But it works too without the gateway ?
For Legrand not updated device are easier to include. I can send too the firwmare to update it with deconz but need to check if I have it, and the actual deconz version have some problem with OTA.

@lambu76
Copy link

lambu76 commented Nov 1, 2020

Hi dear,
I resetted the deConz installation and paying more attention about how to press the reset button I was able to connect all the below BTicino items, buying for perfomring some use cases test before implementing in the real electrical plan in my new house:

  • Relè 3584C
  • switch N4003C
  • socket N4531C
  • shutter L4027C

All of them are visible into HomeAssistant (Hass.IO distribution) and I was able to integrate them in Google Home.

All of them works fine by switching on and off what is connected to, except the shutter.

If I press UP /Open and Down / Close Exec button in "Cluster info" windows within deConz interface the shutter motor rotate clockwise and anti clock wise properly, as when I press the shutter itself, but when I click UP arrow and Down arrow within Home Assistant the rotation happen always in the same direction.

Do you know whihc could be the reason ?

thx

@Smanar
Copy link
Collaborator

Smanar commented Nov 1, 2020

Yeah ^^, I m already on it > #3532

By hazard can you compile the code to test it ? The other user don't have unix machine.

@lambu76
Copy link

lambu76 commented Nov 1, 2020

unfortunately I installed deconz on Windows and Hass.IO as virtual appliance by downloading a VHDX virtual disk.

I took a look to the post mentioend by you, but I'm not getting if you are mentioning my same identical problem or something else.

thx

P.S.
if you are italian you can contact me on my mail:

user: lambu76
domain: gmail.com

@Smanar
Copy link
Collaborator

Smanar commented Nov 1, 2020

Ha yep sorry, the discution have started on discord, but it s a similar issue, if you want to make it working you need to use the "open" command, HA use "bri" and this command is buggy witht his device.

I will make the PR in blind mode, but I think it will be enought, I have mimic the other shutter device.

@lambu76
Copy link

lambu76 commented Nov 1, 2020

I'm a little bit lost but happy to know that can work...could you please support me in order to instruct HA to send the proper command?
Which conf file I have to update?

Thx a lot

@Smanar
Copy link
Collaborator

Smanar commented Nov 1, 2020

I don't know at all HA.
But you can't update your files on Hassio to test the new version.

You need to change the command done by the app to make try with the not corrected version, or use direclty the API with Curl for exemple.

@lambu76
Copy link

lambu76 commented Nov 1, 2020

Where did you find that the reason for this bug is a wrong command send by HA ?

Maybe I could find someone else in some community to help me with HA, since unfortuantely you are not using it.

thx

@LucaBors
Copy link

Hi guys, did it with a ‎K4003C, all good so far and it's connected correctly to my home assistant. I'd like to use the led inside (the blue one) so that, when light is off led is on. I've found something that can work but it's based on mqtt.
– service: mqtt.publish
data:
topic: “zigbee2mqtt/FRIENDLY_NAME/set”
payload: “{\”led_when_on\”: \”ON\”, \”permanent_led\”: \”OFF\”}”

there's a way to "traslate" it natively to deconz?

Thank you

@Smanar
Copy link
Collaborator

Smanar commented Feb 15, 2022

Yes it's probably already in the XML file.
But only possible if you have access to the GUI ?

Its on the Legrand cluster, it s called "option 2" or "option 3",

@LucaBors
Copy link

oh, thank you! this run perfect! :)

@s1gmund80
Copy link

Hi all guys, since a couple of month the Bticino DIN power consumption module always stop working after 24h from the host restart.
To let it work again I need to restart the Host (core or supervisors are not enough), but It will last only 24h
Anyone else has the same behaviour? Any suggestion?

I'm on HA (core-2022.3.8, supervisor-2022.05.0, Home Assistant OS 7.6) with Phoscon/ Deconz (2.15.03 / 21/4/2022 - 26720700)

@Smanar
Copy link
Collaborator

Smanar commented May 7, 2022

And other zigbee module still working ? Only this one stop working ?
Can you show the device json when it have stoped working ? (in phoscon / help / API Information /sensors )

@s1gmund80
Copy link

Yes, every other zigbee device works fine. As soon as it stops again i’ll post the json (i still need to wait few hours)

@s1gmund80
Copy link

s1gmund80 commented May 9, 2022

And other zigbee module still working ? Only this one stop working ?
Can you show the device json when it have stoped working ? (in phoscon / help / API Information /sensors )

Here the json in phoscon as "switch":

{
    "config": {
        "group": null,
        "on": true,
        "reachable": true
    },
    "ep": 1,
    "etag": "247145422c578308c66b138fa37cc61d",
    "lastannounced": null,
    "lastseen": "2022-05-09T08:27Z",
    "manufacturername": "Legrand",
    "mode": 1,
    "modelid": "DIN power consumption module",
    "name": "DIN BTicino consumo",
    "state": {
        "buttonevent": null,
        "lastupdated": "none"
    },
    "swversion": "0036",
    "type": "ZHASwitch",
    "uniqueid": "00:04:74:00:00:a1:5c:02-01-0006"
}

And here as sensor:

{
    "config": {
        "on": true,
        "reachable": false
    },
    "ep": 1,
    "etag": "f6b39bb442737488f010b5652eb04a03",
    "lastannounced": null,
    "lastseen": "2022-04-03T08:12Z",
    "manufacturername": "Legrand",
    "modelid": "DIN power consumption module",
    "name": "Power 8",
    "state": {
        "lastupdated": "2022-05-09T08:30:51.484",
        "power": 733
    },
    "swversion": "0036",
    "type": "ZHAPower",
    "uniqueid": "00:04:74:00:00:a1:5c:02-01-0b04"
}

The sensor says it is not reachable, but in the stream tab I can see the event sent.

@Smanar
Copy link
Collaborator

Smanar commented May 9, 2022

Ha yes, we can see the "lastupdated" in date but only the ZHASwitch have "reachable" to true.

        "reachable": false
        "lastseen": "2022-04-03T08:12Z",
        "lastupdated": "2022-05-09T08:30:51.484",

"lastseen" is not updated, It remember me an old issue.

BTW do you know how to edit a file on your OS ? (to try to create a DDF for this device)

@s1gmund80
Copy link

s1gmund80 commented May 9, 2022

Now I see the point of your question. On HA I can't find the folder where the DDF device are, but I can access to the visual editor of deconz, where I saved the DDF as a new file, and I guess/home I can edit it from there.

If it helps I may restart HA too just to get the same info in the 24h window when everything works.

@Smanar
Copy link
Collaborator

Smanar commented May 10, 2022

No, it s ok.
I have enought information for the moment.
Manup seem interested by this issue, so I prefer let him search for it, for me it s a problem in DDF core, and I don't know a lot this part.

Will see after if a DDF can help or not.

@s1gmund80
Copy link

Should I open a new issue rather than monitoring this closed one?

@Mimiix
Copy link
Collaborator

Mimiix commented May 20, 2022

I'll reopen.

@Mimiix Mimiix reopened this May 20, 2022
@Smanar
Copy link
Collaborator

Smanar commented May 20, 2022

Your issue is almost the same than here https://forum.phoscon.de/t/since-migrating-deconz-plugin-from-2-14-1-to-2-15-3-heiman-hs2wd-e-siren-sensors-become-note-reachable-after-a-few-hours/1951

Manup have updated the firwmare since, but I don't think he had enought time to check the issue.

@Smanar
Copy link
Collaborator

Smanar commented Jun 3, 2022

Your issue is probably solved with this PR #6106

@github-actions
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Jun 25, 2022
@eternum79
Copy link

eternum79 commented Jun 26, 2022

Has anyone been able to solve the problem of the open / close percentage not recognized by the k4027c device?
deconz on homeaasistant.
Thanks

@github-actions github-actions bot removed the stale label Jun 27, 2022
@github-actions
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Jul 18, 2022
@github-actions
Copy link
Contributor

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.

@mariomaz87
Copy link

Has anyone been able to solve the problem of the open / close percentage not recognized by the k4027c device? deconz on homeaasistant. Thanks

Did you? I have been struggling with this today. I have successfully added the device on Deconz\Phoson but I can only open or closed it. Thanks!

@Smanar
Copy link
Collaborator

Smanar commented Nov 27, 2023

Are you sure your device support it ?
You can try direclty with the GUI on the covering cluster.

If yes, pls open a new issue with all the needed information to make a new DDF.

@mariomaz87
Copy link

Are you sure your device support it ? You can try direclty with the GUI on the covering cluster.

If yes, pls open a new issue with all the needed information to make a new DDF.

Yes, using the GUI it works. I opened the issue thanks!

@lambu76
Copy link

lambu76 commented Nov 27, 2023

Are you sure your device support it ? You can try direclty with the GUI on the covering cluster.
If yes, pls open a new issue with all the needed information to make a new DDF.

Yes, using the GUI it works. I opened the issue thanks!

does it mean you are able to open cover to a specific percentage ?

@mariomaz87
Copy link

Are you sure your device support it ? You can try direclty with the GUI on the covering cluster.
If yes, pls open a new issue with all the needed information to make a new DDF.

Yes, using the GUI it works. I opened the issue thanks!

does it mean you are able to open cover to a specific percentage ?

Yes, it’s working as expected.

@Smanar
Copy link
Collaborator

Smanar commented Nov 27, 2023

I think the next will be here #7390 (comment)

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

No branches or pull requests

10 participants