Hello everyone! It’s been (gasp) over 2 years since the Android app had some love. Wow! Well here’s some news:
New Open Beta Program
Google play now supports “open enrollment”, for anyone wanting early access to new app versions. I’m trying it out with this release, and will generally stage versions there for a few days or weeks first, depending on complexity.
Wifi kegboard support (alpha): Supports the brand new, experimental wifi kegboard device. Yes, this means you can run a Kegbot on a modern tablet, no USB required!
Go to settings -> kegerator to add a “network controller”.
USB support bugfixes: Some under-the-hood updates to the USB support library. There should be bugfixes… and maybe new bugs!
If you give this version a try, whether or not you’re using the wifi support, I’d love feedback on whether things still work. It’s been a while since I touched the code… I’m rusty!
Thanks for the report back! Hmmm… I think the most likely explanation is I messed up the release somehow, as there aren’t any other requirements that would keep you from seeing the option.
I’ll take a look at this tonight or this weekend at the latest - thanks!
Sure enough, I had cut the release a bit too hastily. Beta 86 has been posted to the beta channel, and the android sources have been updated as well. Enjoy!
I only had a few minutes to try it. I was allowed to add the controller and it picked up the serial number from the Photon. But when assigning the flow meter to a tap, it only offered “flowN” rather than “meterN”. The app would not recognize any pours though I could see via the serial port that they are being sent.
I tried updating the Photon code to send “meterN.ticks=#”, but that doesn’t work any differently.
Also the app did stop a few times, but that may be the tablet I’m using (Samsung Galaxy Tab3).
I forgot that I tacked a timestamp onto the end of the message so I could see when the ticks were reported. I expected the parser would ignore the extra crap at the end, but no.
When I restored the firmware to use “meter” and deleted my timestamp, pours are now captured correctly.
I am still in proof-of-concept mode, so I don’t have a true production configuration.
I am most interested in the Particle Photon network controller and that is what I am testing with now, but I do have a couple of Arduinos around that I was previously experimenting with.
My comment above was feedback for Mikey that my Android tablet seems to lose connection to the Photon network controller and rebooting the Android appears to reconnect things. Restarting the Kegbot app without restarting the Android does not seem sufficient in my limited tests.
I don’t have a proton, but I do have a bunch of wemos 8266s laying around that I could give a try. The way the android app works isn’t exactly what I would want to do if I was using WiFi. I would want multiple devices that handle one flow meter, one RFID reader, and one relay each. The devices would sleep until they get RFID or flow.
To debug your problem you need to see if it is a problem in the android or in the proton. Make sure that when you restart you are force closing the app all the way. Go to settings apps and kegbot, and force close it. Then reopen and see if it reconnects.
Just got mine up and running. i have to tip my hat to you mr Mike. It works as of now flawlessly on my Shield, i have not tried it on my Samsung yet. but will stress test the Photon tonight i guess( Saturday and the kegs are full) Anyway! Thanks again for this fantastic code!!
I’ve just connected up my photon and running beta 87 on my tablet and it is happily logging ticks to the particle cloud. The kegboard settings option is ‘kegboard hostname’ only, there is no option to add network controller. If i input the photon name nothing changes and I can’t add taps?
I should mention that I’ve had a 4 tap kegbot setup for around 2 years and have had a few issues with kegberry and virtual machines. I’m super green when it comes to coding and developing but hoping to help with any beta testing or debugging.
Sorry for the confusion: You’ll want to input the local IP address of the photon in order for the app to work. (While the firmware also reports to the cloud, there’s not currently support for using that in the app.)