Fibaro Z-Wave Motion Sensor

Ok so the default is that it wont report lux until lux changes by 200lux…try shining a light directly at the one that isn’t reporting…see what happens in the log

likewise i have updated the code, this should now work for inactive…if the tile doesn’t update please forward the logs again…failing this if someone is up for a remote session by Teamviewer or even Screensharing over skype we could speed this process up tenfold try this latest code and PM me if you want to go down this route

1 Like

Good news I’ve seen the first vibration not detected…and no motion :fireworks:

I think we may have a working device type… I’ll keep a watch and see what happens

Thank you…you need a beer or 3 :grin:

coolio, nice to know we have a working device type for when i get some of these new ones…long winded that was :slightly_smiling:

any other issues let me know, gonna sign off for a bit for food etc…

1 Like

Thanks dude! I really appreciate your guys work on this. I held off ordering a second one for fear I wouldnt be able to use it.

@Fuzzyligic
Looking good so far…I’ll keep an eye on the lux issue but that was a marathon and I appreciate your efforts

Edit…Lux issue just needed time half hour after the last update it fixed itself.

Well considering we only communicated via the forum, i thought 5 hours wasn’t too bad considering…would probably have taken an hour if i had a device in hand…it could have been far far worse :slight_smile:

Excellent updates to this thread - I have yet to figure out how to install custom code but I am going to give it a try now seen as though you went to all this trouble its the least I can do!!!

Copy it and then paste it in IDE. Go to IDE. Select My device handlers, select create new device handler. Select the tab to copy and paste code. Past the code over and save. Publish to me.

Now go over to my devices. Edit the device in question. In this case the motion sensor possibly listed as smoke detector and change the device handler to the new one you just created. Save and your golden.

I get the following error
Org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script14570353226281230873782.groovy: 75: expecting ‘}’, found ‘:’ @ line 75, column 32. 75 fingerprint deviceId: “0x0701”, inClusters: “0x5E,0x20,0x86,0x72,0x5A,0x59,0x85,0x73,0x84,0x80,0x71,0x56,0x70,0x31,0x8E,0x22,0x30,0x9C,0x98,0x7A” ^ 1 error

Wow, this could be an episode of @pstuart 's live coding Fridays! :sunglasses: Good work, folks!

1 Like

Good work! Just a pain that I’ve lost my developer access and can’t get it back! :angry: Waiting for smartthings UK response

Any one know why I get an error when I paste the code into the handler code box and press create? Thanks :slight_smile:

Are you using the newest version of the code?

I am using it direct from GitHub and its showing as latest so I think so.

Are clicking on the paste code tab?

Should be pasting it into the FROM CODE tab

Yes I am doing that - then copy and paste the code from git hub and then press create.

Yeah thats right. Are you on V2 hub? If so then I dont know but im sure someone will be along shortly who can tell you.

Yes I am on V2. Is that a different process?

No its not. Just making sure. Someone will be able to help. Just have to wait. Im fairly novice myself. At least we can get them working now which is great!