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.
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.