Seems the serializer doesn't specify content type when there's no content.
Why using POST with empty parameters at all?
GET should do the same without this error.
Search found 688 matches
- 17 Oct 2015 00:09
- Forum: Discussions in English
- Topic: ios zway authentication - help
- Replies: 13
- Views: 15083
- 16 Oct 2015 22:53
- Forum: Discussions in English
- Topic: ios zway authentication - help
- Replies: 13
- Views: 15083
Re: ios zway authentication - help
Are you not specifying content type for post request?
- 16 Oct 2015 19:58
- Forum: Discussions in English
- Topic: HTTP Device quick hack help
- Replies: 4
- Views: 6346
Re: HTTP Device quick hack help
Are you sure you want to set value for sensorMultilevel and not switchMultilevel? How do you expect to set value on a sensor?
If you've meant switchMultilevel, it also supports "/command/on" and "/command/off", and also "/command/exact?level=75" to set specific value.
If you've meant switchMultilevel, it also supports "/command/on" and "/command/off", and also "/command/exact?level=75" to set specific value.
- 16 Oct 2015 18:01
- Forum: Discussions in English
- Topic: ios zway authentication - help
- Replies: 13
- Views: 15083
Re: ios zway authentication - help
/var/log/z-way-server.log
- 16 Oct 2015 17:58
- Forum: Обсуждение на русском / Discussions in Russian
- Topic: http-устройство в Z-Way
- Replies: 8
- Views: 15108
Re: http-устройство в Z-Way
А в логе zway что?
И я, кажется, ошибся насчет того, что ему подходят значения 0 и 1, посмотрел не в ту ветку.
Тогда придется немного извратиться:
И я, кажется, ошибся насчет того, что ему подходят значения 0 и 1, посмотрел не в ту ветку.
Тогда придется немного извратиться:
Code: Select all
["off","on"][/(?:^|;)1:(0|1)(?:;|$)/.exec($$)[1]]
- 16 Oct 2015 16:32
- Forum: RaZberry
- Topic: what is the code of get "level" about CC 38 of Instance 0 of
- Replies: 1
- Views: 3097
Re: what is the code of get "level" about CC 38 of Instance
zway_cc_switch_multilevel_get() only queues "get value" request to device. First of all, it is not necessarily sent out immediately, because device may be sleeping (so it will postpone sending until device is awake). Second, device might answer that request with delay, or not reply at all....
- 15 Oct 2015 17:42
- Forum: Discussions in English
- Topic: Opening blinds every morning
- Replies: 7
- Views: 9514
Re: Opening blinds every morning
ZAutomation usually doesn't have Basic CC as a device if there's more specific command class (like Multilevel Switch) present, so there's no exact analog for your command. But here's something similar:
Code: Select all
.../ZAutomation/api/v1/devices/ZWayVDev_zway_13-0-38/command/exact?level=80
- 15 Oct 2015 17:30
- Forum: Discussions in English
- Topic: ios zway authentication - help
- Replies: 13
- Views: 15083
Re: ios zway authentication - help
Try to add this: manager.responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/plain"]; Valid response should always be json, so there's no need to do that. And if you look at error.data provided, it says "Uncaught TypeError: Cannot read property 'toLowerCase' of un...
- 15 Oct 2015 17:01
- Forum: Discussions in English
- Topic: NEW UI
- Replies: 2
- Views: 4424
Re: NEW UI
No offence, but icons look awful to me: 1) overall gradient (and its shape in particular) is awkward; 2) icons themselves are skeuomorphic while all other design is mostly flat; 3) pixelated corners suggest upscaling at least 4 times, which makes icons blurred badly. Also there's something wrong wit...
- 14 Oct 2015 22:34
- Forum: Обсуждение на русском / Discussions in Russian
- Topic: http-устройство в Z-Way
- Replies: 8
- Views: 15108
Re: http-устройство в Z-Way
Абракадабра внутри /…/ – это регулярное выражение в js. Про их синтаксис нужно читать много и отдельно, так что я оставлю это на самостоятельное изучение, расскажу лишь про конкретный частный случай. Скобками обозначается группа. Запись ?: в начале группы означает, что группа не попадет отдельно в к...