Search found 29 matches

by jhmartin
03 Sep 2015 00:26
Forum: Discussions in English
Topic: Any Plans for Amazon Echo support
Replies: 4
Views: 7370

Re: Any Plans for Amazon Echo support

+1 for echo support. I have some very very basic support configured where I have a ruby app that calls the appropriate zway api for certain commands. https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit describes the interface. It should be possible to get to the point where you can ...
by jhmartin
02 Sep 2015 07:33
Forum: Recipes
Topic: [HowTo] Amazon Dash / scene activation
Replies: 1
Views: 8619

[HowTo] Amazon Dash / scene activation

I have a MikroTik RouterBOARD 750GL as my router and a Pi running the Razberry. I have a Amazon Dash that I've co-opted to trigger a light scene. A similar configuration will work with any router that lets you set a destination NAT. First I configured a static IP for my Dash based on its MAC address...
by jhmartin
01 Sep 2015 18:02
Forum: Discussions in English
Topic: First Alert - Smoke and CO Detector
Replies: 27
Views: 31296

Re: First Alert - Smoke and CO Detector

From the linked discussion it sounds like once interview is complete (and it does not support WAKEUP), it goes into a send-only mode and won't respond to any commands?
by jhmartin
24 Aug 2015 06:20
Forum: Discussions in English
Topic: HTTP w/multipart form-data
Replies: 0
Views: 3201

HTTP w/multipart form-data

I am trying to interface with MailGun, and it requires that its HTTP request send their options as multipart/form-data. Looking at the developer guide I do not see a way to do this. Is there any other option?

https://documentation.mailgun.com/api-s ... ml#sending
by jhmartin
23 Aug 2015 18:33
Forum: Discussions in English
Topic: First Alert - Smoke and CO Detector
Replies: 27
Views: 31296

Re: First Alert - Smoke and CO Detector

Oh? I'll send them one if that can get it fixed.
by jhmartin
20 Aug 2015 05:53
Forum: Discussions in English
Topic: First Alert - Smoke and CO Detector
Replies: 27
Views: 31296

Re: First Alert - Smoke and CO Detector

Any suggestions on how to further debug this device?
by jhmartin
16 Aug 2015 23:56
Forum: Discussions in English
Topic: API for device
Replies: 2
Views: 4350

Re: API for device

Aha! I am logged in to 192.168.1.3. $ ifconfig|grep inet|head -1 inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 $ curl -s http://192.168.1.3:8083/ZAutomation/api/v1/devices -b /tmp/cookies2 |python -mjson.tool|grep -w id|wc -l 67 $ curl -s http://localhost:8083/ZAutomation/api/v1/devic...
by jhmartin
16 Aug 2015 22:04
Forum: Discussions in English
Topic: API for device
Replies: 2
Views: 4350

API for device

I have a garage door sensor that I can see in the Smorthome ui at http://192.168.1.3:8083/smarthome/#/element/ZWayVDev_zway_3-0-48-1 , yet when I query it (after authenticating) via the devices api it says it does not exist: $ curl -b /tmp/cookies2 -s http://localhost:8083/ZAutomation/api/v1/devices...
by jhmartin
16 Aug 2015 19:56
Forum: Discussions in English
Topic: API authentication
Replies: 2
Views: 8326

Re: API authentication

Some tcpdumping tells me the actual login is different: POST /ZAutomation/api/v1/login HTTP/1.1 Host: 127.0.0.1:8080 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:39.0) Gecko/20100101 Firefox/39.0 Accept: application/json, text/plain, */* Accept-Language: en-US,en;q=0.5 Accept-Encoding...
by jhmartin
16 Aug 2015 19:50
Forum: Discussions in English
Topic: API authentication
Replies: 2
Views: 8326

API authentication

While trying to perform API authentication using IP:8083/smarthome/#/?login=admin&password=admin I am not getting a cookie response. It looks like curl is refusing to send data after the #: root@raspberrypi:~# /usr/bin/curl http://192.168.1.3:8083/smarthome/\#/?login=admin\&password=admin -s...