Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 17 2019 11:12
    sdy8181 starred zettajs/zetta
  • Jan 16 2019 11:34
    cdiaz starred zettajs/zetta
  • Jan 16 2019 08:48
  • Jan 04 2019 17:25
    AdamMagaluk edited #368
  • Jan 04 2019 17:19
    sealedair-elliott commented #368
  • Jan 03 2019 03:38
    landlessness updated the wiki
  • Dec 21 2018 09:23
    crisslab commented #374
  • Dec 20 2018 22:58
    AdamMagaluk closed #374
  • Dec 20 2018 22:58
    AdamMagaluk commented #374
  • Dec 20 2018 21:37
    AdamMagaluk commented #374
  • Dec 20 2018 16:02
    crisslab opened #374
  • Dec 20 2018 06:56
    tigdw starred zettajs/zetta
  • Dec 17 2018 11:44
    MarcelOlivian starred zettajs/zetta
  • Dec 15 2018 07:20
  • Dec 12 2018 01:46
    Kishy-nivas starred zettajs/zetta
  • Dec 11 2018 14:10
    q6332139 starred zettajs/zetta
  • Dec 11 2018 12:11
    AdamMagaluk synchronize #373
  • Dec 11 2018 12:11

    AdamMagaluk on spdy-upgrade

    Add osx to travis (compare)

  • Dec 11 2018 03:08
    AdamMagaluk review_requested #373
  • Dec 11 2018 03:07
    AdamMagaluk opened #373
mingsheng88
@mingsheng88
Hi. I am setting up a basic pc-pi-led setup, using the zetta server on the pc to toggle the led attached to pi. I'm wondering if I am configuring the app wrongly because i get an exception after the LED switches on when i make the call using led.call('turn-on') inside server.observe. backtrace traces to line 99 in virtual_device.js and it seems err isn't initialized...
Kevin Swiber
@kevinswiber
@mingsheng88 Can you show what your driver and app code look like? Also, if you can provide the full stack trace, that would also be helpful. Thanks.
mingsheng88
@mingsheng88
@kevinswiber really apologize for the delayed response. haven't found time to properly respond to you. I have uploaded some necessary info here: http://dumptext.com/VEVU4FZA.
Kevin Swiber
@kevinswiber
@mingsheng88 Can you try adding a callback to the .call method? led.call('turn-on', function() { });
I think that should get rid of the error. Let me know if that works, and we'll try to get an issue filed.
Kevin Swiber
@kevinswiber
@mingsheng88 I was able to reproduce this error. You can just use the empty callback function as a workaround until the fix is merged. There's a Pull Request here: zettajs/zetta#241
mingsheng88
@mingsheng88
@kevinswiber yup that works. zetta is interesting. are there any examples of larger-scale projects deployed for zetta-js as of now? (something of larger scale than the robot hand at apigee office)
Kevin Swiber
@kevinswiber
@mingsheng88 There are a few larger deployments in the conception/planning phase. We use the same open source Zetta as the runtime for Apigee Link (http://apigee.com/about/products/apigee-link) in the cloud.
Kevin Swiber
@kevinswiber
@mingsheng88 That Pull Request has been reviewed, accepted, and merged. The fix will go out with the next release, which is targeted to be 1.0.0-beta1, on the 23rd of October.
Thank you!
Krister Johansson
@fotoKrille
Hi, is there some one here?
Kevin Swiber
@kevinswiber
@fotoKrille Hi there. I'm always here in spirit. I pop in when activity happens. How goes it?
Brennan Kinney
@polarathene
This link from Sep 2014 mentions Zetta integrating with Z-Wave devices, but I don't see any driver or documentation mentioning it anymore, was the support removed for some reason?
suhas95
@suhas95
Hi, My name is Suhas Patel. I am proficient in C, Java, Node.js and C++. I would like to contribute to Zetta project. Can somebody guide me how to get started?
Kevin Swiber
@kevinswiber
Hi, @suhas95. There are several ways to contribute. The most common way is through the module ecosystem. For examples, you can see the list here: http://www.zettajs.org/modules/. You can learn more about building device drivers here: https://github.com/zettajs/zetta/wiki.
For the Zetta core, there's a list of issues here: https://github.com/zettajs/zetta/issues
Let us know if you have any questions!
We'd be happy to review any Pull Requests. :)
mingsheng88
@mingsheng88
This link from Sep 2014 mentions Zetta integrating with Z-Wave devices, but I don't see any driver or documentation mentioning it anymore, was the support removed for some reason?
Kevin Swiber
@kevinswiber
@mingsheng88 I'm not sure I know of any drivers currently using Z-Wave. It would be possible to build a Zetta device driver for a Z-Wave device using something like this to handle the communication: https://github.com/jperkin/node-openzwave
Anh Le (Andy)
@anhldbk
Hi there, I see many unresolved issues & PRs. It seems that zettajs's not actively maintained.
Michallis Pashidis
@t1tcrucible
really appreciated the tutorial videos from Matthew Dobson, are there more following?
Matthew Dobson
@mdobson
Hi @anhldbk zetta is in fact actively maintained. Our latest release was 25 days ago as our final release candidate for the 1.0.0 milestone. Breaking API changes, and feature development has slowed, and we now favor bug fixes and stability improvements.
@t1tcrucible I took a break from putting the tutorials together, but will be trying to setup something in the near future. Anything in particular you'd be interested in me going over?
Michallis Pashidis
@t1tcrucible
@mdobson It would be interesting explaining the query possibilities on the interface, as how a device can be registered, unregistered, blocked,… A second part where I’m interested at, more information about coupling Zetta hubs to eachother, how to manage, and some more info about how the websocket ‘inter-communication’ works.
Joachim Schirrmacher
@jschirrmacher
Hey, I just started experimenting with zettajs and try to follow the HelloWorld tutorial http://www.zettajs.org/projects/2014/10/13/Hello-World.html. In "Blink the LED from the PC" it requests to open http://browser.zettajs.io/#/overview?url=http://127.0.0.1:1337, but this cannot work due to CORS. Any recommendations what to do anyone?
Nicolas Duran
@NicolasDuran
Hi :)
What is the current state of the project ? I couldn't find any roadmap. I'm interested into using in my company but some drivers of the project look like already abandoned such as zetta-led-mock-driver that I couldn't find in the github
Kevin Swiber
@kevinswiber
@NicolasDuran The project is alive and well. It forms the core of Apigee’s IoT offering, and it has become relatively stable. (Reference: https://apigee.com/api-management/#/products?jump=slider_group_section7&sub=2)
Rizwan Haider
@rizvanhaider
Hey, I am unable to create the relations in my loopback project, any one can plz help.
http://stackoverflow.com/questions/41637593/unhandledpromiserejectionwarning-unhandled-promise-rejection-rejection-id-2
Kevin Swiber
@kevinswiber
@rizvanhaider I think you want https://gitter.im/strongloop/loopback
Gianluca Cornetta
@gcornetta
Hi, really great project thanks for sharing. When are you planning to upgrade zetta dependencies to make it run on Node 8.x without any patch (see GitHub issue #336)?
Bjarki Madsen
@bjerkins
hey guys :) is there any way to add an app module dynamically to a running instance of zetta server ?
Kevin Swiber
@kevinswiber
@bjerkins I haven’t tried it out, but it’s theoretically possible.
Apps are just passed an instance of the runtime when they’re instantiated.
You could bootstrap additional apps from a single app instance.
zetta()
  .use(runtime => {
    appsEmitter.on(‘ready’, app => {
      app.call(null, runtime);
    });
  })
  .listen(process.env.PORT || 1337);
Kevin Swiber
@kevinswiber
Something like that.
@AdamMagaluk I think you’re the new Benevolent Dictator of Zetta. Any thoughts on @gcornetta’s question?
Bjarki Madsen
@bjerkins
@kevinswiber thanks !
Simon Vogl
@svogl
Hi all, I've played a little with Zetta and connected our Arduino-based line camera - there's a live plot: http://lab.voxel.at/zetta/zb/#/overview?url=http:%2F%2Flab.voxel.at:3338%2F
I have two data streams, one raw data, one with detection results. I'd like to update the detection result stream only if something interesting happens, but this freezes the output. I have no clue yet where this happens - should I look in the browser code or somewhere deeper?
Kevin Swiber
@kevinswiber
@svogl Do you know if this is a browser-only issue? Does a direct WebSocket subscription using something like wscat work as expected?
Simon Vogl
@svogl
@kevinswiber good question :) will try a few things and report…
The extensions per se are not too terrific, I just added a basic plot functionality to zb (https://github.com/voxel-dot-at/zetta-browser) , the device is also quite basic, reading from serial and forwarding what it gets (plus some basic computations; https://github.com/voxel-dot-at/zetta-liner if you want to peek )
Kevin Swiber
@kevinswiber
Ah, okay. There may be parts of the browser that don’t work well in Firefox. We pretty much only tested on Chrome, and there might have been some IE/Edge compatibility updates.
But I don’t recall.
Simon Vogl
@svogl
nah, have to revise - had it running for 10 minutes now and both work
still, seems to be some garbage collector issue or so
cross-browser stuff has been fun for >15years now ;)
Kevin Swiber
@kevinswiber
I remember doing browser-sniffing to enable/disable features between Internet Explorer and Netscape back in the late 90s. :D
“Best viewed with Internet Explorer"
Simon Vogl
@svogl
haha, yea - the ‘good’ old days ...