Giter Site home page Giter Site logo

Multisite and mysql about pi.alert HOT 4 CLOSED

juancabrio avatar juancabrio commented on June 19, 2024
Multisite and mysql

from pi.alert.

Comments (4)

leiweibau avatar leiweibau commented on June 19, 2024

Yes, would be cool, but would significantly increase complexity. I will not implement it, at least from today's perspective :D

from pi.alert.

leiweibau avatar leiweibau commented on June 19, 2024

This is not even about replacing sqlite3 with MySQL. The challenge is how Pi.Alert works in the database (single user vs. multiuser). The current way of working is not designed for multiuser database transactions.

The only "quick" approach I can think of here would be an extra database for each Pi.Alert on the MySQL server. But then you need a special interface to look at the data of all databases. And also this special case would mean a lot of work, which I can't do as a small hobby developer.

from pi.alert.

juancabrio avatar juancabrio commented on June 19, 2024

Yep, I agree. It would almost need a rewrite from scratch. I will remain content querying my remote sites with some scripts and such.

from pi.alert.

jokob-sk avatar jokob-sk commented on June 19, 2024

Sorry to comment on a closed issue, just thought of a possible workaround - You could use a Home Assistant instance as your hub - I noticed @leiweibau added support for HA so if you @juancabrio are already using HA, this might be a way forward. I did something similar in my fork with MQTT as well. Just food for thought.

from pi.alert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.