-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multisite and mysql #48
Comments
Yes, would be cool, but would significantly increase complexity. I will not implement it, at least from today's perspective :D |
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. |
Yep, I agree. It would almost need a rewrite from scratch. I will remain content querying my remote sites with some scripts and such. |
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. |
I love this utility and the tweaks made here. I'm thinking I could use this across all my sites if I had multisite support and MySQL.
I imagine an RPI at every site, all reporting home to a single DB. That would be cool !
The text was updated successfully, but these errors were encountered: