dresden-elektronik / deconz-rest-plugin

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

Heiman HS1SA-N problem #2323

Closed Sjonnie2018 closed 4 years ago

Sjonnie2018 commented 4 years ago

Hi All,

I am having a hard time getting my Heiman HS1SA-N smoke detectors to show up in the Phoscon app and get them properly configured in Domoticz.

Some basic info: ConBee II: latest firmware on Raspberry Pi 3B + (264A0700) Deconz: latest version (2.05.72) Domoticz: latest stable (4.10717) Domoticz DeConz plugin from @Smanar : latest version (1.0.11)

I can add the sensor in the Phoscon app, it gets detected but after I press "ready" to confirm the pairing the device does not show up. It is however visible in DeConz gui on my RPi3. The DeConz Plugin for Domoticz parses the sensors to Domoticz but there is shows the devices as On/Off switch. Which is to be expected for unknown devices.

The information I get from DeConz: Deconz-settings-Heiman-HS1-SA-N

This is what I see in Domoticz: Heiman-Smoke-sensors-in-Domoticz

I have to coding skills of a Kangaroo. I hope you can help me and explain to me how to get this to work in "noob" speak ;) I have looked at issue #1711 but I can't make heads or tails of it :(

TIA

Greetz,

Sjonnie

SwoopX commented 4 years ago

Can you please also post a screenshot of the basic cluster while having read the attributes?

Sjonnie2018 commented 4 years ago

Hi SwoopX,

Tx for your reply! I have added a screenshot of the basic cluster of the smoke sensor. Weird values :?

Basic-Cluster-Info-Smoke-Sensor-after-Read

EDIT: I did a read of the attributes before making the screenshot of course ;)

SwoopX commented 4 years ago

Strange indeed. Have you tried reading it multiple times? Eventually, this does not always work on the first time. Without that data, there's not too much we can do here...

ebaauw commented 4 years ago

You probably need to press the test button when reading the attributes, to wake the device. Be sure to cover your ears.

SCoe2k commented 4 years ago

I have the same sensor, but cannot connect at all via phoscon web gui. Pressed the button with the needle for 5 secs. Green led is blinking, but will not be seen by phoscon web. Hardware conbee2 stick. Is this maybe a new hardware release?

Any clue?

SCoe2k commented 4 years ago

A28C3839-2562-4823-8C04-A3CCBDC7E6CE

Sjonnie2018 commented 4 years ago

If you press the button for 5 seconds you reset the devices networksettings. Press the button for no more than 2 seconds.

By the way: your stick is not on the latest firmware I believe and the latest version of the software is 72

⁣BlueMail voor Android downloaden ​

Op 18 jan. 2020 09:16, om 09:16, Scoe2k notifications@github.com schreef:

I have the same sensor, but cannot connect at all via phoscon web gui. Pressed the button with the needle for 5 secs. Green led is blinking, but will not be seen by phoscon web. Hardware conbee2 stick. Is this maybe a new hardware release?

Any clue?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2323#issuecomment-575877769

Sjonnie2018 commented 4 years ago

OK, if I press the test button, something happens alright. Not sure if it is enough (sensor is not available in Phoscon). A few data is greyed out. That happened when I pressed the read button and the test button on the device at the same time.

The screenshots: Heiman-HS1-SA-N-Basic-Cluster-info

Heiman-HS1-SA-N-Diagnostics-Cluster-info

Heiman-HS1-SA-N-IAS-WD-Cluster-info

Heiman-HS1-SA-N-IAS-ZOne-Cluster-info

Heiman-HS1-SA-N-Identify-Cluster-info

Heiman-HS1-SA-N-OTAU-Cluster-info

Heiman-HS1-SA-N-Power-Cluster-info

ebaauw commented 4 years ago

A few data is greyed out.

That's normal, these are attributes that the sensor simply doesn't support. The greying happens, because the sensor reports back unsupported attribute, so it's awake alright.

sensor is not available in Phoscon

Phoscon is "just" another REST API client. Like any other client, it needs to be updated to support new devices/device types, after support has been added to the REST API. Note that Phoscon is not open source, so only dresden elektronik can add support for new devices in Phoscon.

Sjonnie2018 commented 4 years ago

Tx for the explanation. I don't really mind the sensor is not available in the Phoscon app. I only use that to check devices after setting them up. All other settings, scenes and scripts are stored in Domoticz. If it's possible to have it show up there as a smoke sensor I am more than happy :)

SCoe2k commented 4 years ago

If you press the button for 5 seconds you reset the devices networksettings. Press the button for no more than 2 seconds. By the way: your stick is not on the latest firmware I believe and the latest version of the software is 72 ⁣BlueMail voor Android downloaden ​ Op 18 jan. 2020 09:16, om 09:16, Scoe2k notifications@github.com schreef:

Thanks for the 2s vs 5s. Firmware is as per my Knowledge uptodate

SCoe2k commented 4 years ago

A few data is greyed out.

That's normal, these are attributes that the sensor simply doesn't support. The greying happens, because the sensor reports back unsupported attribute, so it's awake alright.

sensor is not available in Phoscon

Phoscon is "just" another REST API client. Like any other client, it needs to be updated to support new devices/device types, after support has been added to the REST API. Note that Phoscon is not open source, so only dresden elektronik can add support for new devices in Phoscon.

Thank you. Makes Sense. Did Not think about seeing phoscon as rest-API Client. That explains some things.

Sjonnie2018 commented 4 years ago

ConBee II status Might be up to date but I am not sure ;)

SwoopX commented 4 years ago

So, is it working? Also noticed we have a new jennic MAC for Heiman here...

SCoe2k commented 4 years ago

No. Just tried it this morning with 2s. Does not connect to network. Maybe I am doing something wrong. Up to now I only connect via phoscon app. Is there any other way to connect a new end-device? @Sjonnie2018 : Strange Firmware topic. A0 is the highest number, but 90 has the latest timestamp

Sjonnie2018 commented 4 years ago

Unfortunately no. The device is still "translated" by @Smanar plugin as a switch so that means it is not recognized. Funny thing is that after the read sessions the battery status of the sensor does show up in Domoticz.

Is here anything I can do? I have three of these little gems and plan to have them switch on all lights in case of an alert and send a message to my cell. I can only do that in Domoticz so I am eager to get it working.

TIA

Sjonnie2018 commented 4 years ago
  • jennic MAC for Heiman*

Sorry for my ignorance but what's a jennic MAC? Especially the jennic part ;)

Never mind. Found out Jennic is a supplier of communication chips amongst others.

Sjonnie2018 commented 4 years ago

No. Just tried it this morning with 2s. Does not connect to network. Maybe I am doing something wrong. Up to now I only connect via phoscon app. Is there any other way to connect a new end-device? @Sjonnie2018 : Strange Firmware topic. A0 is the highest number, but 90 has the latest timestamp

I had some trouble getting the device to connect to the Phoscon app. I went to the sensor part in the app and selected Sensors - Other Brand (or something similar) after which I pressed the button on the device for 5 (or 6) seconds to get the device blinking green fast. Then waited about 5 seconds and pressed the button for two seconds. It might have taken two or three tries but eventually the device connected and the app showed the "ready" button. Unfortunately it didn't show up in the app after that though.

About the firmware issue: I wouldn't know what's the best/latest firmware.

@SwoopX and @ebaauw : Can I provide you with more info? Can I test some or other setting that would make the device show up like a sensor? I truly appreciate your help so far but I am still stuck here :-| I hope you can help!

SCoe2k commented 4 years ago

Tks. Still cannot connect. Did exactly as described. No connection possible via phoscon. Even updated firmware to 264A0... Hope the new device request will help.

Is there any way to connect a new zigbee device to deconz without phoscon?

Sjonnie2018 commented 4 years ago

Tks. Still cannot connect. Did exactly as described. No connection possible via phoscon. Even updated firmware to 264A0... Hope the new device request will help.

Is there any way to connect a new zigbee device to deconz without phoscon?

You could try the DeCONZ-gui to add devices. The manual that is installed describes how to do that. I haven't tried myself because I am "lucky" enough that the Phoscon app at least discovers the (as yet) unsupported devices.

Sjonnie2018 commented 4 years ago

I have opened a "device support request" #2373 and we are discussing the support for this device over there. To minimize the amount of open issues here I thought it best to close this issue.

juul79 commented 4 years ago

Exactly the same problem here. I'm using ConBee2 + Deconz and Phoscon App on an Intel NUC running Ubuntu shell (without GUI).

Sensors of Xiaomi (door, temp., humidity), Switches of Xiaomi + IKEA and IKEA-lights shown up in Phoscon App... But the HEIMAN Gas- and CO-sensors won't!

The HEIMAN sensors are shown up in Apple HomeKit, using HomeBridge as a bridge between HomeKit and Deconz. So despite they are not visible in the Phoscon App, they seem to be connected.

But activity- and battery-statuses are not updated in HomeKit, so I think they are supported partialy by Deconz/Phoscon at this moment.

I'm using Version: 2.05.75 8-3-2020 Firmware: 26530700

SwoopX commented 4 years ago

The device is not visible in Phoscon, as it is closed source and apparently not added. For the value changes, that should have been resolved with the current release. In doubt, redo the binding manually https://discord.com/channels/494922323518947329/704252638727897188/709120485862146161

igeorgie commented 4 years ago

I can confirm that Heiman devices are not visible in Phoscon, but working perfectly within Home Assistant. Phoscon says it has detected a device, but that's it. Battery level, sensor and switch (for the siren) are detected and can be used in your automations in HA.

GitHubxtsnl commented 4 years ago

I'm currently experiencing the same issue. Phoscon and deCONZ both cannot detect the Heiman hs1sa Fire SmokeSensor-N-3.0 . running HA 0.114.3 and deCONZ 6.2.3 on a ConBee II stick runningk 2.05.79 - 5/22/2020 - 26580700. Any way to troubleshoot this further?