Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sandeep Mistry
    @sandeepmistry
    let me know once you are settled in NY, I'll intro you to Tom
    Roo Williams
    @roowilliams
    cheers, that'd be great
    Sandeep Mistry
    @sandeepmistry
    you'll see lots of cool projects there, similar to the ones in your portfolio
    Roo Williams
    @roowilliams
    his site looks familiar actually, i think i used it when i was working with the arduino yun a while back
    Sandeep Mistry
    @sandeepmistry
    nice, he's also one of the co-founders of Arduino :)
    Roo Williams
    @roowilliams
    have you tried putting nodejs on android yet?
    apparently it's possible
    Sandeep Mistry
    @sandeepmistry
    not personally, someone emailed me and said they got noble running on it ~6 months ago
    Roo Williams
    @roowilliams
    nice!
    right, i'd better try and get some work done
    speak soon sandeep, cheers for the links!
    Sandeep Mistry
    @sandeepmistry
    cool, np ... later
    Andre Smith
    @Drenerdo
    Hello World!
    Can I use gimbal beacons with this npm package?
    Sandeep Mistry
    @sandeepmistry
    hey @Drenerdo, they can if they are configured in iBeacon mode
    I have some code snippets to detect them and report temperature + battery level, but they rotate their id's, so you would need to query their undocumented REST API to map
    Andre Smith
    @Drenerdo
    Awesome
    I would love to check out the code snippet but in the meantime I will experiment some more on my end
    Sandeep Mistry
    @sandeepmistry

    @Drenerdo turns out I don't have a code snippet, but here's a summary of my findings:

    "960C4A 9B-244C-11E2-B299-00A0C60077AD" represents:
    Battery level = 0xa - 8 = 2
    8 is the fixed offset
    Temperature = 0x9b - 70 = 85 °F
    70 is the fixed offset

    "8C00453659EC9C476B84CE" is the payload that is looked up in the cloud service (0x008c is the Gimbal Company ID).

    If you modify https://github.com/sandeepmistry/noble/blob/master/examples/advertisement-discovery.js to start scanning with duplicates, you can use the above info to extract battery level and temp
    the 0x8c.... is the value of the manufacturer data
    Andre Smith
    @Drenerdo
    Thank you sir
    JoshuaDeaton
    @JoshuaDeaton
    Did something change with the plugin? I've tried installing with and without sudo and using the -g and I still get the following error when trying to start my server: Module._extensionsextension;
    node-bleacon is the only required variable in the server
    Sandeep Mistry
    @sandeepmistry
    @JoshuaDeaton can you provide more details please
    Nick Duncan
    @httpNick
    Do you know if this module would work with react-native to create an android app?
    I think you can just add npm modules to the app, but im still learning how it works.
    Christopher Dro
    @christopherdro
    @httpNick: that’s actually something @jacobrosenthal and I are working on
    don’t have android support yet but im starting to look into as we speak
    theres also a few other roadbumps that needs to clear out so we can make full use of these libraries across native
    Nick Duncan
    @httpNick
    Okay thank you.
    Is that true though? I know in the package.json file for my first react-native project just requires react-native, but is it possible to add additional ones say like Q and use it within the javascript files?
    Christopher Dro
    @christopherdro
    as long as additional ones don’t rely on native node modules it should be fine
    Nick Duncan
    @httpNick
    native node modules? Like fs, events and other ones that come with node? Is that what that means?
    Christopher Dro
    @christopherdro
    yup
    Nick Duncan
    @httpNick
    Oh I see. Why is that? Because node isn't installed on the phone?
    Christopher Dro
    @christopherdro
    although there are options for fs and events through React Native
    i suggest joining the irc or slack channel for react native
    Nick Duncan
    @httpNick
    Do you possibly have a link? Thank you for answering my questions sorry it got outside of the scope
    Christopher Dro
    @christopherdro
    or to join slack: https://reactiflux.slack.com/
    Nick Duncan
    @httpNick
    Thank you, and how can I get an invite to the slack group?
    I tried signing in, but it looks like I need an invite.
    Per Thomas Jahr
    @perja12
    Hi, I'm having some problems getting bleacon example code to work on my RPI2. Should this work?
    var Bleacon = require('bleacon');
    Bleacon.startScanning();
    console.log("Starting...");
    Bleacon.on('discover', function(bleacon) {
    console.log("found beacon");
    });
    Sandeep Mistry
    @sandeepmistry
    @perja12 yes, please open an issue on Github with debug logs: sudo DEBUG=* node <file>.js
    Per Thomas Jahr
    @perja12
    Thanks. The extra debug showed that the adapter was down. So "sudo hciconfig hci0 up" made it work again :-)
    Sandeep Mistry
    @sandeepmistry
    @perja12 cool!
    Simone
    @spizzico7
    hi guys
    i'm using bleacon project implementation on my mac