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

SP-816 (SP-103) added as unknown z-wave device #30

Open
bexelius opened this issue Aug 24, 2018 · 17 comments
Open

SP-816 (SP-103) added as unknown z-wave device #30

bexelius opened this issue Aug 24, 2018 · 17 comments

Comments

@bexelius
Copy link

bexelius commented Aug 24, 2018

Hi! I bought 5x SP-103 (modell name updated to SP-816) that is Z-wave + certified.

Link here: https://www.nexa.se/vara-produkter/zwave/sp816-rorelsevakt

  1. When adding SP-103 via application the details say "Click the tamper switch behind the battery cover". Correction is that you need to click it 3 times

  2. After doing that and the application adds the device, it will be added as an unknown z-wave device and you will not be able to use it.

Could you please look into this? Would be awesome if the SP-103 worked :-)

Best regards Victor

skarmklipp 2018-08-24 19 03 19
skarmklipp 2018-08-24 19 02 56
img_20180824_190541
img_20180824_190527

@ralfvd
Copy link
Owner

ralfvd commented Aug 24, 2018 via email

@bexelius
Copy link
Author

bexelius commented Aug 24, 2018

Hi Sir (wow fast reply)
sure - please see attached info:
skarmklipp 2018-08-24 19 18 14

@bexelius
Copy link
Author

"zwave": {
"manufacturerId": 96,
"productTypeId": 257, -> 1
"productId": 1, -> 5
"learnmode": {
"image": "/drivers/SP103/assets/learnmode.svg",
"instruction": {
"en": "Click the tamper switch behind the battery cover", -> Click the tamper switch behind the battery cover 3 times
"nl": "Druk op de tamper knop achter de batterij klep"
}
},

@ralfvd
Copy link
Owner

ralfvd commented Aug 24, 2018 via email

@bexelius
Copy link
Author

Oh sorry, I did not change code. I just read you can install nodejs and install from github hehe :-D
I will do that if you dont have time to change. Thank you again for super fast replies!

@bexelius
Copy link
Author

bexelius commented Aug 24, 2018

Ok pushed :-D Will test on nodejs etc and verify

@bexelius
Copy link
Author

Hm noob here..

✘ Homey App did not validate against level debug:
[
{
"keyword": "type",
"dataPath": ".drivers[8].zwave.defaultConfiguration[0].id",
"schemaPath": "#/properties/defaultConfiguration/items/properties/id/type",
"params": {
"type": "number"
},
"message": "should be number"
}
]

@ralfvd
Copy link
Owner

ralfvd commented Aug 24, 2018 via email

@ralfvd
Copy link
Owner

ralfvd commented Aug 24, 2018

SP816 is now on Github and pending approval in the app store. Let me know how it works.

@bexelius
Copy link
Author

bexelius commented Aug 24, 2018

✓ Validating app...
✓ Homey App validated successfully against level debug
? Choose an active Homey: Homey (online)
You have selected Homey as your active Homey.
✓ Packing Homey App...
✓ Installing Homey App on Homey
✓ Homey App com.everspring successfully installed

skarmklipp 2018-08-24 22 18 16
..

Stack trace:

Error: Cannot find module 'homey-zwavedriver'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object. (/drivers/AN179/driver.js:4:21)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)

Exit code: 1
Exit signal: null

@ralfvd
Copy link
Owner

ralfvd commented Aug 24, 2018 via email

@bexelius
Copy link
Author

Device now added, nice! However motion detection not registered and flow not working

skarmklipp 2018-08-24 22 54 18
skarmklipp 2018-08-24 22 53 13
skarmklipp 2018-08-24 22 52 54

@bexelius
Copy link
Author

Hi Sir,
I am just guessing here but:

  1. New SP-103 modell is now z-wave + compliant

1.1 Source: https://shopcdn.textalk.se/shop/ws27/47027/art42/154548242-1b2484-ZC10-17115829.pdf

1.2 New spec info: https://shopcdn.textalk.se/shop/ws27/47027/art42/154548242-7606c0-SP816_A501112630R_20171030.pdf

  1. Might be that homey-meshdriver is to be used
    2.1 Source: https://github.com/athombv/node-homey-meshdriver

Again, just guessing :)

@xeterixon
Copy link
Contributor

Seems like the device reports motion as a notification.
I made a quick hack in my fork, and it seems to work.
https://github.com/xeterixon/com.everspring
screenshot 2018-10-18 at 18 30 59

I'll test it a bit more, and perhaps try to fix the tamper alarm, before doing a pull request.

@JMeinen69
Copy link

install it in node_modules/homey-zwavedriver

Hi there. i'm totally new to this programming, but fun to learn. I managed to install the app to my homey.
But now i have to instal the zwavedriver to my homey.
Its unclear what you mean bij this. "install it in node_modules/homey-zwavedriver"
i tried the same procedure as installing the app but no luck.
Please give me a walkthrough.

@ferdw
Copy link

ferdw commented Dec 8, 2018

Is there any progress on including this one in the "official" app?

@ralfvd
Copy link
Owner

ralfvd commented Dec 11, 2018 via email

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

5 participants