Comments (3)
The application by default assumes you're using sqlite3 as your database. Someone added code to include support for MariaDB however they didn't include instructions on how to add the additional modules into appdaemon. As it turns out the home assistant team moved the the location of the history data in the database so the application is broke. I just made some changes that pull the information from the new location. When I did this I got the same error you received about the missing module. While I don't use MariaDB I'm trying to see if I can figure out where to include the required modules in the Home Assistant configuration. If I figure it out I'll post you an update. If I don't figure it out I'll just submit the change with the MariaDB code commented out. At which point hopefully whoever added the MariaDB change will provide the additional details.
from replaylightshistory.
So to address the issue you need to modify your addons.json file that's in the base directory for home assistant. On my supervised install of home assistant this is /use/share/hassio/addons.json. If you search for packages you should find this section:
'''
"options": {
"system_packages": [],
"python_packages": [],
"init_commands": []
},
'''
You need to add in PyMySQL as shown below
'''
"options": {
"system_packages": [],
"python_packages": [
"PyMySQL"
],
"init_commands": []
},
'''
At which point I rebooted to get HA to update the appdaemon docker container and include the PyMySQL package.
from replaylightshistory.
Thank you for taking care of this so quickly. Adding PyMySQL fixed the issues that I had. I am currently testing the replay with my lights and everything seems to run smoothly. Great work and fantastic add-on
from replaylightshistory.
Related Issues (13)
- Error in appdeamon ligs HOT 5
- Pulling sensors and automations HOT 3
- Failed to parse HOT 2
- DB changes kill this code HOT 3
- Date field from database didn't parse correctly after uodate to version f7fa646 HOT 3
- Unable to start the app HOT 3
- Unexpected error in worker for App replay_lights HOT 3
- Does this still work? HOT 7
- Question not an issue. HOT 2
- Stopped working some time in the past 4 months HOT 4
- Error HOT 4
- error: Unknown column 'created' in 'field list HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from replaylightshistory.