Mycodo icon indicating copy to clipboard operation
Mycodo copied to clipboard

this is deployable to Balena, and i2c is working!

Open nargetdev opened this issue 2 years ago • 3 comments

I would imagine that this totally butchers the default install modality (i haven't actually tried) but it is one click deployable to any balena device.. which i'm personally quite stoked about.

This isn't really meant to be merged but I wanted to make available to check out.

nargetdev avatar Jul 26 '22 18:07 nargetdev

What do you mean I2C now works? It worked previously, did it not?

kizniche avatar Jul 27 '22 19:07 kizniche

Ah, I must have misdiagnosed other troubles (probably influxdb disconnect). I know now to test simply i.e. Mycodo: Free Space input.

I think i was just excited seeing Mycodo more or less working w/ one-click deploy to balena devices.

In doing this I had to flatten the repository structure. This obviously is not desirable for merging.. but it works for me now including running on influx2.3, and I'm running docker-compose up natively on Mac OS X which is nice to have.

Do you think I should write a script to flatten the repo with symlinks on demand in an isolated balena-mycodo directory? i.e. without breaking normal install compatibility. I'll start moving in that direction unless you have some advice otherwise. (all because context: ../ is illegal in the balena ecosystem)

nargetdev avatar Jul 30 '22 20:07 nargetdev

Couldn't you leave everything in the docker directory and just move the docker-compose.yaml to the root directory?

kizniche avatar Jul 31 '22 04:07 kizniche

I mentioned in the main Docker thread - I'm ditching Balena in favor of k3s which will be doable without mutilation of directory structure.

nargetdev avatar Nov 09 '22 00:11 nargetdev