openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
820 stars 251 forks source link

Update FIND optional package to version 3 #632

Closed EliasGabrielsson closed 4 years ago

EliasGabrielsson commented 5 years ago

A new major rewrite of the FIND framework have been released. Would be nice have our script updated as well to install that version.

mstormi commented 5 years ago

it's been on my TODO list (I had been doing the old v2 package, too)

EliasGabrielsson commented 5 years ago

You are using it, perfect! Know what it does but aren't using it. Okey if I assign it to you?

EliasGabrielsson commented 5 years ago

Make sure this rewrite uses the internal MQTT server of openhab so we can deprecate Eclipse Mosquitto MQTT package. https://github.com/openhab/openhabian/issues/628

This patch should if possible install the internal MQTT broker by openHAB rest interface if needed.

mstormi commented 5 years ago

Mmh, I wouldn't eliminate Mosquitto in the first place. MQTT broker is brand new and not proven to work yet, and even if FIND3 did work with it there's many MQTT clients out there that may or may not.

mstormi commented 4 years ago

also update dashboard tile .gif with https://www.internalpositioning.com/splash-static/splash.gif

ecdye commented 4 years ago

I'm working on a update. I will share more when it is closer to completion.

mstormi commented 4 years ago

Good you mention it. So did I a few days back. But I got stuck. I see HTTP requests going but it's not generating the DB like it did in earlier attempts and FIND2.

And don't start as root that'll create DB file that cannot be written to once you start as another user, resulting in server crash.

ecdye commented 4 years ago

Yeah, also I saw you had trouble installing scipy I figured out a workaround. Use apt-get install --yes python3-scipy it took me hours to figure it out.

mstormi commented 4 years ago

for scipy https://github.com/schollz/find3/pull/201

ecdye commented 4 years ago

I saw that, but the way to circumvent that for the moment is to use apt-get install --yes python3-scipy