fiLLLip / namron-homey

Athom Homey app repository to add support for Namron Z-wave devices
GNU General Public License v3.0
8 stars 7 forks source link

Problem adding Namron Z-Wave dimmer 400W (4512710) #24

Closed ovestoerholt closed 4 years ago

ovestoerholt commented 4 years ago

Adding this dimmer results in error.

Used the following steps: Step 1: Step 2: Step 3: Step 4: Step 5: Step 6: After a while shows this (probably times out): Step 7:

ovestoerholt commented 4 years ago

BTW: I am a programmer myself (Android/Spring and Kotlin), but with limited knowledge of Javascript (or Typescript for that matter). Haven't read up on developing for Homey and (if I do) can't expect to master it short term. I can however modify code and create a pull request if desired if you could walk through the structure of a Homey driver with me...

fiLLLip commented 4 years ago

I see you have the heatit app installed. Some users have had issues with these two apps installed at the same time and trying to add devices, since both Namron and HeatIt are using white-label products with same manufacturer and device ids. Not sure why this is an issue since you are selecting Namron app in first step. Could you try to remove/deactivate that app and try to include again? Another tip would be to move your Homey within a couple of meters of the dimmer when including. I know HeatIt thermostat needs to do this when trying to include.

Remark: I don't own a Homey myself, I am just maintaining this app since my sister has one :dancers:

Exerqtor commented 4 years ago

Exact same issue here, even witout any other apps i stalled. The Homey is located 5M from the dimmer, not abstructed by anything. Debug code: 7436f155-20bc-485a-aa14-bdd8da1e2752.

Edit: Ok so it apparently was a signal strength issue for me, when i moved the Homey so it was 50cm from the dimmer it worked. But as soon as i put the Homey back where i initialy intended to have it the issues are back. Even though as i mentioned above there only 5meters apart. Don't know if this is a software fix or what, but since both the dimmer and Homey should do 40meters indoors i find this kinda strange.

fiLLLip commented 4 years ago

Exact same issue here, even witout any other apps i stalled. The Homey is located 5M from the dimmer, not abstructed by anything. Debug code: 7436f155-20bc-485a-aa14-bdd8da1e2752.

Edit: Ok so it apparently was a signal strength issue for me, when i moved the Homey so it was 50cm from the dimmer it worked. But as soon as i put the Homey back where i initialy intended to have it the issues are back. Even though as i mentioned above there only 5meters apart. Don't know if this is a software fix or what, but since both the dimmer and Homey should do 40meters indoors i find this kinda strange.

Thanks for digging into it a little more. I find it strange that this issue can be caused by software. Sounds like a hardware/firmware issue to me. Can you see if it has been included as a secure or non-secure device? I have seen samples in other devices that they do really bad in secure inclusions. Unfortunately I cannot tell you how to either check for it nor how to do specific secure/non-secure inclusions.

ovestoerholt commented 4 years ago

Actually I just got mine working! :-) The reason for the error was that I misinterpreted the instructions on this screen: image

I interpreted is as do 1) or 2)

but it should be 1) then 2)

When doing it correctly the dimmer is set up to work just fine! 👍

fiLLLip commented 4 years ago

but it should be 1) then 2)

When doing it correctly the dimmer is set up to work just fine! 👍

Interesting! I'll update the instructions.

@Exerqtor Could you try this?

Edit: These instructions are copied straight outta the manual, so if this is the solution, Elektroimportøren should also be notified: https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/3641/4512710%20INSTRUCTION%20MANUAL.pdf

Exerqtor commented 4 years ago

Hmm, ok i can try doing it that way as well 😅

Edit: Nah just removed the dimmer from the Z-wave system and placed the Homey 5m from the dimmer and tried re-including it by doing 1) then 2). Same error as before. So in my case it seems like 5m is simply to long away (useless right?).