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

Osram Smart+ Switch #2

Open
bderenzo opened this issue Jan 31, 2018 · 7 comments
Open

Osram Smart+ Switch #2

bderenzo opened this issue Jan 31, 2018 · 7 comments

Comments

@bderenzo
Copy link

Hi,

I tried to add an Osram Smart+ Switch but it don't seem to work.
The pairing works, I then add it to the UI. But the switch does nothing when toogle, moreover nothing appears in the log file.

Here the debug log when pairing the device :

[custom_components.zigate.zigate2hass] ZIGATE SIGNAL :
[custom_components.zigate.zigate2hass] - Signal   : zgt_signal_update_9c34
[custom_components.zigate.zigate2hass] - Property : MAC
[custom_components.zigate.zigate2hass] - Data     : 84182600000d9ede
[zigate] RESPONSE 004d : Device Announce
[zigate]   * From address   : b'9c34'
[zigate]   * MAC address    : b'84182600000d9ede'
[zigate]   * MAC capability : b'\x8e]'
[zigate]   # encoded : b'0102104d0210021ccd9c3484182602100210021d9ede8e5d03'
[zigate]   # decoded : 0100 4D 00 0C CD 9C 34 84 18 26 00 00 0D 9E DE 8E 5D03
[zigate]   (@timestamp : 21:56:24)
[zigate] --------------------------------------
[zigate] RESPONSE 8701: Route Discovery Confirmation
[zigate]   - Sequence       : b'00'
[zigate]   - Status         : b'00'
[zigate]   - Network status : b'5d'
[zigate]   - Message data   : b'00005d'
[zigate]   # encoded : b'0187021102100213d8021002105d03'
[zigate]   # decoded : 0187 01 00 03

Here is my configuration.yaml :

switch:
  - platform: zigate
    name: 'Osram'
    address: 9c3403
    default_state: 'state'
@ISO-B
Copy link
Collaborator

ISO-B commented Feb 1, 2018

So pressing physical buttons from switch doesn't show anything to log? I have Ikea Trådfri remote controller and pressing buttons from it doesn't add anything to log.

Could you try to send following raw_commands to zigate? We could get bit more information from device:
command: '0042', data: '9C34' Node Descriptor (lots of device info)
command: '0043', data: '9C3401' Cluster List from endpoint 01 (Common)
command: '0044', data: '9C34' Power info
command: '0045', data: '9C34' Endpoint listing

If your device address has changed change it to data parameters.

@elric91
Copy link
Owner

elric91 commented Feb 1, 2018

For reference, 1st infos available here : http://zigate.fr/osram-lightify-prise-pilotee/
The commands for switches are not implemented yet (but will 😃 )

@lolorc
Copy link

lolorc commented Feb 5, 2018

I managed to control mine yesterday using raw commands
{
"cmd":"0092",
"data":"02XXXX010202"
}
I don't know if the plug is supposed to report its status when its button is locally actionned tho.

@ISO-B
Copy link
Collaborator

ISO-B commented Feb 5, 2018

Is it plug or switch? If I am right @bderenzo has switch like https://www.osram-lamps.com/ecatalog/smart-home/smart-home-components/smart-switch/index.jsp .

If your plug doesn't automatically report state change you could try to configure it to do so. I haven't tested it but command 0x0120 could work.

@bderenzo
Copy link
Author

@ISO-B @elric91
Here is the result from the different request : osram_switch_result
I confirm the product is the following : http://zigate.fr/osram-lightify-prise-pilotee/

@bderenzo
Copy link
Author

@ISO-B or @lolorc I tried to manage the plug but doesn't manage. I trier différent command, none of them seems to work. Any Idea ?

@lolorc
Copy link

lolorc commented Mar 9, 2018

i own two of them, with latest HASS_zigate they work straightaway with config as simple as

platform: zigate
    name: 'prise_01'
    address: XXXX03

but they don't report their status when you manually action them. (I haven't been courageous enough to read about attribute reporting)

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

No branches or pull requests

4 participants