A system for remote control, data acquisition and visualization for Raspberry Pi.
WIP: Moving from PHP based web stack to Pyton Flask.
A system for remote control, data acquisition and visualization for Raspberry Pi.
This is something to be researched. We have sensitive data in the code. That is the key of google maps access api. It should not be visible in repo's code, I even got a warning email about that. This is a common problem and there must be a nice way to do this and keep the code secret.
https://www.freecodecamp.org/news/how-to-securely-store-api-keys-4ff3ea19ebda/
Everything is kinda "wrongly scaled" and zoomed by default on mobile devices. I have to zoom out every time to fill the screen of my phone properly.
Example:
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_loader5
Notice the animation!
move install dir to /usr/local/bin,
change log names to sth.log
For now I have decided to leave two separate dbs, but it is open to debate.
For any reason they don't work now. They are just blank wrapper with no content. Examine the way they are included. Check if the drawing function should be refactored. Especially the one that renders chart with two datasets (temperature). Also currently it works only if both thermometers have exact same x data. This is dumb and be better fixed.
Should change table names too.
The email should be confirmed by admin.
https://www.youtube.com/watch?v=F0VReccd_44
Now the map doesn't work and not sure why. Examine this, ask me when you find why. This may be because the google maps key expired or something like this. If so I may regenerate it.
This is a complicated one because it's hard to test without hardware. The GPIO buttons worked previously without any problems when they were based on simple img buttons. When moving them to svg something was messed. Now they don't show the state of GPIO correctly after loading the page and they don't update the state after clicking. They should be blue when GPIO is off and red when on. Since no backend was changed when moving from img to svg this must be a frontend issue. Please examine php and js GPIO files they are rather short.
This doesn't really have to be a placeholder per se. We just want to have ensure that the site looks ok when logs database is empty. Currently it is kinda messed and many things are displaced. To check this out simply empty the database and see how it looks then.
Should check if anything can be improved.
Check how the site works on all browsers, add web font etc..
Clearing this should be in the same Python script as #50.
Nice examples:
examples
We need a mysql script that will be run once a week by cron and clean database before it takes all flash space. The script should delete all data older than a week.
Duplicate of #15
Move from less css to something more sensible. Also this was done in kinda wanky way, ensure that it is refactored to work properly.
Activates when Google Maps is squeezed to be higher than wider, in this mode:
Activates when temp chart is higher than smaller
The site can not be more narrow than the loc table requires
A loading circle spinning at the center. Also if you want to play with it you can make the background or the loading wheel change colors gradually from the blue to red and back.
Steps ta accomplish:
overflow: scroll;
Should be logged to sql db:
Error code:
Can not connect with GPS using uart[Errno 13] could not open port /dev/serial0: [Errno 13] Permission denied: '/dev/serial0'
Permissions for ttyAMA0:
lrwxrwxrwx 1 root root 7 lis 3 2016 /dev/serial0 -> ttyAMA0
crw--w---- 1 root tty 204, 64 paź 14 15:27 /dev/ttyAMA0
Depends on #37.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.