These are chat archives for nebrius/raspi-io

7th
Mar 2016
ajfisher
@ajfisher
Mar 07 2016 04:55
Just had a delivery of 5 RPi 3s leand on my desk - time to see if we can make this BT / WIFI stuff work seamlessly.
Luis Montes
@monteslu
Mar 07 2016 04:55
would be awesome if noble just builds straight away on it
ajfisher
@ajfisher
Mar 07 2016 04:55
@monteslu Got a short howto somewhere I how I get browser BT to talk to a service exposed via the RPI?
ha snap!!!
So I have a stack and I want to solve this, this week as I'm trying to design this year's advanced NodeBots kit...
Luis Montes
@monteslu
Mar 07 2016 04:57
so I need to try out a blocker that supposed to land in chrome 50. Might be in there already.
last piece until I can have noble in browser without all the hacks I'm doing right now
Promised a couple of people a blog on it, just kinda wanted that part ready before I talk it up :)
ajfisher
@ajfisher
Mar 07 2016 04:58
so plan is to try and get as much of this running tonight then solve for how I wrap it all up into a nice package people can just use - eg my host ap scripts to expose wifi so you can shell on, a hat to use 3.7v lipos with conversion up to 5v and 6v and then expose out some connectors for things like servos etc rather than going direct onto the GPIO and what not, also USB charging for the lipo. Idea being peeps can just charge it and use it all day as they are hacking on it without having to reboot all the time
okay well I can hack through sketch notes to help battle test that blog post for you. And if I can get this working RPi3 side, write up the other side of that...
Luis Montes
@monteslu
Mar 07 2016 04:59
sounds like fun !
if you want it to be a device that a browser or another BLE client talks to you should be able to use noble/bleno to make it a device
I'm betting that stuff works as is, but not sure yet
ajfisher
@ajfisher
Mar 07 2016 05:09
Okay - that's what I'm sort of thinking at the moment. Browser would be client and then code running on RPi interpreting messages etc which interfaces with raspi-io
Luis Montes
@monteslu
Mar 07 2016 05:11
I did something a while back that had the pi host a server with sort of the chromebots UI: https://github.com/monteslu/remotepi
used socket.io instead of a serial
here's video of it on an a+ https://www.youtube.com/watch?v=chlin--UViw
node-red or pagenodes is also an option
though none of that is BLE
lots of options :)
ajfisher
@ajfisher
Mar 07 2016 05:24
Okay - will try and get this configured and start there at least and see where we go...
ajfisher
@ajfisher
Mar 07 2016 10:05
Alright - well I've managed to get my rpi up and running relatively quickly... given the crapness that is my home connection. Thankfully a lot of usual stuff (eg git etc) comes bundled in Jessie these dats
about to try and blink a LED and make sure everything is at least nominally working
also - first impressions of RPI3 - it's FAST
so much faster than even a v2 B
building stuff is actually like quick... almost tempted to do my OpenCV benchmark on it
ajfisher
@ajfisher
Mar 07 2016 10:29
@nebrius small mod to raspi-board as I've got a different revision set in my ones. Once I added that one it was all good and working fine on RPi3..
Holy crap - I just realised what you did with that remote-io @monteslu
ajfisher
@ajfisher
Mar 07 2016 10:38
my internet here sucks so much but I'm loving being able to multi task at speed with this new board. Compile on one core, apt-get update on another, node on a third... loads of RAM, heaps of speed.... brilliant
Luis Montes
@monteslu
Mar 07 2016 16:57
@ajfisher it's been a difficult thing to explain :)
If I ever get my tessel2, I'm probably gonna run remote-io + mqtt serial on it to hit it from pagenodes
Bryan Hughes
@nebrius
Mar 07 2016 17:43
@ajfisher thanks for testing. Are you going to submit a PR, or do you want me to do it?
ajfisher
@ajfisher
Mar 07 2016 21:06
Should be done.
Actually that's so weird it didn't do it via GH. 2 mins and I'll redo.
Bryan Hughes
@nebrius
Mar 07 2016 21:15
@ajfisher code is merged, I’ll try and spin a new release when I get a chance in a few hours
ajfisher
@ajfisher
Mar 07 2016 23:02
cool - thanks chief
not sure why my first PR didn't work - was very sleepy by the time I did that last night...
So @monteslu I now have a basic RPi build. Tonight's task is to make the hostapd and dnsmasq stuff work out of the box along with auto hostname / wifi based on mac address and script all of that up so basically this would be a drop in solution to give you a bot that spin up it's own AP (like what I did at RobotsConf etc) and what not.
So far I haven't been able to get BT to work on the board - seems like I need to switch something on but am going to see if I can get BT up as well and have it do network over BT so you can do stuff like shell onto the board via BT and pull down packages etc using the PC connection to the network. If that's the case you'd end up with a board that is quite manageable
Bryan Hughes
@nebrius
Mar 07 2016 23:06
that would be very handy indeed!
ajfisher
@ajfisher
Mar 07 2016 23:12
yeah - I was trying to get the USB gadget stuff working on an A+ but was a no go. Will be great on Pi0 however the thought occurred to me with the Pi3 that it should be theoretically possible to do the same over BT (it's all just routing right?)