Search found 14 matches
- 11 Aug 2020 10:09
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
To those coming to this thread later and looking for a summary - no, there is no way to reliably match the device ids emitted by the sensor logging app to the actual device itself. The only way I found was to manually build a lookup table and update it every time I add a new device.
- 25 May 2020 10:16
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
Oh, I found it! Pull request raised, though you'll want to rework my translations, I'm sure.
- 25 May 2020 09:45
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
Yikes, I don't think I'll be able to make sense of that without a lot of work. I was hoping just the sensor values logging app was opensource - that seems like a bite-size piece of code I can figure without learning all the other intricacies of the suite. My plan would be simply to add a macro ${nam...
- 05 May 2020 10:30
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
I'd love to know where the -254 comes from! It's the value for one of the events, but otherwise doesn't turn up anywhere in ZWaveApi output. Likewise I can't find an '8' anywhere that might match what I'm seeing in ZAutomation. Is the 254 it reporting the value? Seems unlikely, doesn't really make s...
- 29 Apr 2020 10:29
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
That mostly works, but one device is coming out of the sensor logger as 3-0-113-8-254 but in ZAutomation it's id is: 3-0-113-8-8-A Is that normal? Will it happen for other devices too? I'm hoping to avoid having to code all sorts of weird exceptions here, is there a better way to get the data? Where...
- 29 Apr 2020 09:18
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
Great, that got it thanks. It hadn't clocked the api without authentication still uses an account, and that that account is a separate pre-existing one. Should've poked around in management further though, I would've tried that if I'd found it.
- 26 Apr 2020 23:15
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
Mu apologies, I misread. Devices gives:
Code: Select all
{"data":{"structureChanged":false,"updateTime":1587932081,"devices":[]},"code":200,"message":"200 OK","error":null}
- 26 Apr 2020 06:04
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
Among other things, I tried renaming my device while debugging some issues, to see if it helped - it's now called 'cen', not the default 'zway'. That URL gives me: $ curl -vgL 'http://127.0.0.1:8083/ZAutomation/api/v1/device' * Trying 127.0.0.1... * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0....
- 21 Apr 2020 09:44
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
With that URL string I get 'Invalid ZAutomation request'. I have more luck if I change the 'API' to 'api', in that it no longer reports Invalid request, but no matter how I format the string I can't get anything other than "Device doesn't exist". First I verify the device exists and zway k...
- 17 Apr 2020 09:02
- Forum: Discussions in English
- Topic: Enumerating sensor ids
- Replies: 19
- Views: 13123
Re: Enumerating sensor ids
Cool, cheers. I've managed to work out what the numbers mean, what I need is a way to map this back to the actual device name. Is there some part of the API where I can pass in those numbers and get back a string telling what device it is? I haven't yet found one. Chopping the numbers and changing f...