2
Choose style:

Author Topic: R83 Websocket Server Documentation  (Read 13581 times)

0 Members and 1 Guest are viewing this topic.

Offline cswilly

  • Backer
  • *
  • Posts: 65
  • Thanks: 1
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
R83 Websocket Server Documentation
« on: December 15, 2015, 01:51:20 pm »
The blog mentioned "New Websocket Server added."

Where can I find documentation on the New Websocket Server?

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #1 on: December 15, 2015, 02:04:51 pm »
The blog mentioned "New Websocket Server added."

Where can I find documentation on the New Websocket Server?

Blog Post
https://blog.securifi.com/firmware-r083-released

R83 Announcement thread
https://forum.securifi.com/index.php/topic,3898.0.html


The Web Socket Server is mentioned in the Blog post and in the R83 release thread but I don't think anyone else has posted this question yet about R83, though many have been asking about the API for some time.  A little "sniffing" will yield some interesting info but best to get the official word.

We are waiting on the API documentation right now, it is supposed to be released after the rollout of R83. Perhaps Ashok will chime in with details. 8)
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

Offline Ashok

  • Securifi Staff
  • *
  • Posts: 2770
  • Thanks: 3
  • Registered : 25/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #2 on: December 15, 2015, 03:23:08 pm »
Yes, we are working on it as we speak and once it is ready, would be happy to update it.

Offline cswilly

  • Backer
  • *
  • Posts: 65
  • Thanks: 1
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #3 on: December 16, 2015, 07:02:32 am »
@SecureComp yes API doc.

@Ashok Yes please.

Offline czyzczyz

  • Backer
  • *
  • Posts: 49
  • Thanks: 0
  • Registered : 23/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #4 on: December 27, 2015, 02:03:11 pm »
Any updates on this?

Even a simple list of commands that it accepts?


Offline Ashok

  • Securifi Staff
  • *
  • Posts: 2770
  • Thanks: 3
  • Registered : 25/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #5 on: December 28, 2015, 08:12:09 am »
@ czyzczyz,

We are still working on it and as per the update I got, it won't be taking much time now.

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #6 on: December 28, 2015, 03:23:06 pm »
@ czyzczyz,

We are still working on it and as per the update I got, it won't be taking much time now.

Very Good news!  8)

It will be Excellent news when it is released;D
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #7 on: January 06, 2016, 12:06:48 am »
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

Offline czyzczyz

  • Backer
  • *
  • Posts: 49
  • Thanks: 0
  • Registered : 23/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #8 on: January 31, 2016, 04:44:48 pm »
Fantastic.

I'm working my way towards understanding how to use it. I've hit a wall and posted a question to stack exchange, but will hopefully figure this out.

http://stackoverflow.com/questions/35119833/is-it-possible-to-both-listen-and-send-messages-to-a-remote-socket-using-node-re

Offline lrosenstein

  • Backer
  • *
  • Posts: 3
  • Thanks: 0
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #9 on: February 01, 2016, 10:42:01 pm »
I'm not familiar with node.js. I'm using Go with https://github.com/gorilla/websocket for the websocket API, and only one connection is necessary to both read and write.

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #10 on: February 02, 2016, 08:31:12 am »
I am using a single socket as well.

There was an answer posted on Stack Exchange. Hope it helps.
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

Offline lmmmmm

  • Chestnut
  • ***
  • Posts: 72
  • Thanks: 0
  • Registered : 15/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #11 on: February 02, 2016, 03:09:29 pm »
what's a good resource to read up on websockets.

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

Offline fillibar

  • Backer
  • *
  • Posts: 2060
  • Thanks: 4
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #13 on: February 02, 2016, 04:47:25 pm »
Anyone know of a websockets library or arduino-compatible code sample that can work without DNS? I have been trying to work with existing libraries but most want to go to yourdomain.com and port... Not 10.10.10.1 (or whatever the internal IP for the router may be). I COULD make it accessible on a domain... But since it is not WSS I worry about the security.
Almond 3 mesh handling the home.

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R83 Websocket Server Documentation
« Reply #14 on: February 02, 2016, 06:46:44 pm »
you should be able to you localhost or hard code something in /etc/hosts and use that
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

 

Page created in 0.033 seconds with 17 queries.

bottleneck