-
Notifications
You must be signed in to change notification settings - Fork 506
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
Add Support for iHorn Temperature and Humidity Sensor #2406
Comments
Have you tried pairing more than once? It happens that those need a couple of attempts. Also, make sure you're close enough to a zigbee router device. |
yeah many times and with different devices running the software. conbee2 with my windows notebook, raspberry with raspian and with the image from the website. |
Ok, then let's check the details. Can you please provide the screenshots required as described in the wiki for requesting device support? Also, please make sure to read the attributes before taking them. |
Basic cluster is more important. |
Sorry, but you forgot to read the attribute. Thanks. |
tried it but it doesn't work in the basic view. |
That's a bit strange. However, having a closer look at your initial screenshot, it seems that you run an older version of deconz. I'd recommend an update and giving it another try. Also, please check if you've the latest firmware applied. |
|
Just realized that I misread the vendor (thought it was Xiaomi, not Huawei). Those devices will not bee seen in Phoscon, as it is a different software and closed source on top of that. Does the sensor work anyway with whatever middleware you might use? Otherwise, you must make a device support request out of it. |
I'll try if i can use it directly in home assistant but it would be nice if the device gets supported. |
Check out HA first. Otherwise, ti would be sufficient to just rename the issue. I guess all relevant screenshots are already there. |
@SwoopX renamed the issue because i didn't found a way to get it into ha. |
How did the pairing go while searching for new sensors, did it end with a green success message? If not, you may need to wake it up while pairing. See if there's any physical button and press it during the procedure. I hope that those sensors are not fiddled together like the Xiaomi ones because that would pretty much require traffic sniffing. Even after a successful paring, it will not show up in Phoscon as it is a different software and we cannot do any integration there. Best way to verify if the sensors have been created successfully would be via REST API calls. Nothing automatically created in HA so far? Btw, new version .74 is out since today so no need any more (for now) to manually compile the plugin. |
@SwoopX Trying to see how to get the devices integrated into HA when they don't show up in the phoscon app. Is there a user guide or instructions somewhere that talks about this process? Also, I am using the deconz add-on in home assistant. How would I go about getting the latest version? |
Are you using docker? |
I am using hassio which uses docker. Here's the link to the Deconz hassio add-on : https://github.com/home-assistant/hassio-addons/tree/master/deconz |
I think it was the green dot was there, but i can confirm that tomorrow. Last thing i tried today was the rest api thing: Wanted to try this Home Assistant Rest integration: btw im using docker for deCONZ and HA, but for testing i installed a fresh ubuntu 18.04 on my intel nuc. |
Just to be clear, I meant sensor search in Phoscon, not deconz GUI. Successful pairing should look like this: I don't have any experience with HA since I'm using a different middleware. However, since you haven't seen the sensors via the API call, it looks like they haven't been created. Xiaomi devices e.g. may be a little stubborn at times and require re-pairing multiple times. You may want to repeat pairing a couple of times to see if that helps, if you haven't tried already. |
Ah ok, i tought they must be connected first in the deconz gui (with the green line). What do you mean with "it looks like they haven't been created"? When deconz gui sees the zigbee device and can read the values, it should be possible to read them via api right? |
Unfortunately not. with the modifications made, there should have been at least 2 sensors created (temperature and humidity) accessible via API. As this is not the case, we need to find out why. Could have various reasons... But debugging, it's good that you can compile and test changes I provide to my repo. Meanwhile, another thing you could give a try is the following:
Also have another idea. I'd like to see the debug output from the join process. Could you please delete the device from Phoscon and then rejoin it? 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
Then, please post the file here. |
hm, the first test (Rest + pull battery) didnt work. Here ist the output: ps.: we can write in german if you want. |
Would prefer to stay with english, so the rest of the people may follow. Thanks for the log. Are you 100% sure you're using deconz version .74 on your ubuntu? The log shows the previous version
Additionally, could you please provide a screenshot of the IAS Zone cluster (again, after the attributes have been read)? |
Ah sry didnt noticed that there is a update available. Now im on 2.05.74 And here is the new file: |
Thanks again. Just to be sure, have you reset the sensor every time before pairing? I'd assume not because I don't see some particular data I'm after. Also, have you restarted deconz after the update? |
Yep, i rebooted the whole system. |
This still does not look right. How did you reset the sensor? Have you hold a button somewhere on the device for like 10 seconds and what does the manual say about it. Point is, essential information regarding the pairing process is not there, but it must be... |
The manual is in chinese but with google translate i found out that i have to press the button 5 sec. I can show you that over teamviewer, otherwise i think i should dump that sensor and get another one... |
That could eventually be the reason. I never tried this to reset a device to be honest, but please give it another go physically on the device. Usually, it gives you some kind of feedback upon a successful reset (e.g. some lights blinking or so). After physical reset, give the sensor search in Phoscon another go with the debug output enabled. If it remains stubborn for whatever reason, we can see if we can have a session on the weekend or you send it over. |
The manual says 5 sec to reset the sensor and after that it enters network distribution state. Here is antoher log where i tried that; |
Finally made it:
|
It seems this issue is resolved or otherwise inactive. If it is not, please re-open! |
Hi,
I'm having trouble adding this iHorn (Huawei) Temperature and Humidity Sensor as a Sensor in the Phoscon App.
When i put the temp sensor into paring mode the deconz application detects this device:
The webinterface doesnt detect it and tells me "Failed to connect".
Is there something i can try or do i have to wait till this device gets eventually supported?
cheers
The text was updated successfully, but these errors were encountered: