by

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
Kevin Swiber
@kevinswiber
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 ...
my MSc was based on some Netscape VRML plugin (beta, at that time…)
oh well.
need to rush off - will update once I found it.
Kevin Swiber
@kevinswiber
Great.
Simon Vogl
@svogl
Hmm, seems to work now but don’t ask why. Btw, what was the rationale to have data flowing from right to left in the graphs?
Kevin Swiber
@kevinswiber
@svogl So the latest data point ends up on the right-hand side and the X-axis reads as a timeline from left-to-right.
Simon Vogl
@svogl
agreed, and it makes sense to have a correlation between graphical and numeric values at the same end. Conceptuallz, I had more a data-cockpit like view in the back of my mind when I gave it a try first.
Simon Vogl
@svogl

seems there is a delta between code and docs: I tried to set 2 parameters (a, b) via map():

 .map('thresh', this.setThresh, [
                   {'type':'Number','name':'thresh'}
                   ,{'type':'text','name':'config'}
                   ] )

seems my callback gets called as setThresh(threshValue, configValue, cb()) instead of setThresh(propertiesMap, cb())

also, is there a way to set an initial value? I’d like to specify something like

   {'type':'Number','name':’thresh’, ‘value’: this.threshold }

?

Kevin Swiber
@kevinswiber
@svogl We discussed doing allowing a value in transition config a few years ago. Not sure where we ended up. I apologize for my fogginess. I haven’t been a Zetta maintainer in quite a while. Perhaps @AdamMagaluk knows.
I’d expect the above config to come back as setThresh(threshValue, configValue, cb). Can you point to the broken docs?
Simon Vogl
@svogl

Ok, I replayed my search; I started looking at https://github.com/zettajs/zetta/wiki/Device at the config.map() docs, which explains how stuff works with one argument; the documentation is consistent here with the behaviour, but adding an example with 2 could clarify the situation

In order to find out what happens (because my callback failed ( with a ‘cb is not a function prototype’), I tripped over the config.remoteUpdate(handler) which does pass a properties object, so I assumed the callback could do the same thing..

as for value: It’s used as a default value right now: When I leave a field in the web browser empty, the function gets called with this value.

the remoteFetch / remoteUpdate look pretty much usable for what I need ;)
多多指教
@toby20130333
Hi which's nodejs version for zetta?
My nodejs version is v8.9.3
but npm install zetta --save got some build warnning