DoESLiverpool / somebody-should

A place to document practices on the wiki and collect issues/suggestions/to-do items for the physical space at DoES Liverpool
31 stars 11 forks source link

Create a resin.io account to archive and distribute embedded device contents for DoES #933

Open MatthewCroughan opened 5 years ago

MatthewCroughan commented 5 years ago

@DoESLiverpool/directors

@ajlennon Suggested I ask you about this.

We have the door bots on Github, and that's fine, but it would make sense to start backing these up on something like Resin.io, may come in handy for more easily creating distributed setups in the future too. This is more about the future than modifying the existing set up. If I'm going to make a calendar for the entrance based on resin.io, it would make sense for other embedded things to be located there too.

903

amcewen commented 5 years ago

I'm not against us having a resin.io account, but I don't think we should be starting to adopt it more widely given it costs $99/month once you get to 10 devices. Given the calendar device, five doorbots, one for the MQTT gateway, then the Pi managing the network, that's already 8 devices you could argue for, and that's before any of the cameras which presumably are also going to be resin.io devices...

In contrast, the doorbots are on github with (mostly) automated ansible scripts and cost us $0/month. It took me about an hour per doorbot to provision a new one.

ajlennon commented 5 years ago

I don't think we'd want to migrate existing devices over would we? We're just looking at Live Streaming cams at present... And possibly output Displays.

"We'll never need more than 4 of these computers anyway..."

skos-ninja commented 5 years ago

The problem is though is if we do go over the limit at some point we will have built tooling around something that price wise isn't feasible to keep.

On Mon, 1 Oct 2018, 13:37 Alex Lennon, notifications@github.com wrote:

I don't think we'd want to migrate existing devices over would we? We're just looking at Live Streaming cams at present... And possibly output Displays.

"We'll never need more than 4 of these computers anyway..."

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DoESLiverpool/somebody-should/issues/933#issuecomment-425891676, or mute the thread https://github.com/notifications/unsubscribe-auth/AGVbXzBAvnfgQgIQuIIJNyWtLTrt3Qreks5uggx8gaJpZM4W_mb2 .

ajlennon commented 5 years ago

Googling around Resin.io have reiterated their commitment to an OpenSource equivalent to their cloud platform, delivered some time around now. So this looks like a good way forward to keep an eye on

https://resin.io/blog/open-source-resin-io-progress-and-next-steps

ajlennon commented 5 years ago

I've been doing some documenting if anybody fancies setting one up. Would appreciate any feedback on mistakes...

https://github.com/DynamicDevices/makespacelive

ajlennon commented 5 years ago

I've documented a standalone install and a resin.io install.

There's not much to it

Have you got some time to run me through how I would convert my Resin.io Docker file to Ansible @amcewen ?

amcewen commented 5 years ago

Happy to show you the ansible stuff sometime. There's not too much to it, it's mostly a way to script ssh (or at least, that's an easy way to approach it). If you clone my handy-ansible-roles repo the README.md will give you the basic steps to get up and running with a Pi

DoESsean commented 5 years ago

Is this still a thing? I have no idea what any of it means, tbf.

ajlennon commented 5 years ago

Resin.io is now called Balena.io and now has an OpenSource release - I'm working to get a build of this installed on my public facing IP address for testing. It's under active development atm