balena-io-experimental / gps-tracker Goto Github PK
View Code? Open in Web Editor NEWA simple gps tracker built with balenaFin and a Quectel EC25 modem
A simple gps tracker built with balenaFin and a Quectel EC25 modem
The EC25 model seems to no longer be sold by a lot of suppliers, it looks like it has been replaced by the EG25.
I've given the EG25 a go and can't get it working. Has anyone had any success trying this?
Currently there is a weird issue where the --devices directive for mounting the UC20.NMEA
dev into the container doesn't work when setting the privileged: true
flag which is needed to access sysfs to toggle the RGB led, needs more investigation.
Occasionally the modem will not come up as mode 0
in the modemManager list, this is problematic because we currently hardcode the dbus modem path here: https://github.com/balena-io-playground/gps-tracker/blob/master/gps/src/libs/quectel.js#L10 which means dbus fails to connect to the modem in this case.
In some cases, like after reboot, the modem is not detected and connected before the container is started, in this case we need to wait for the modem to come up before we try enable the GPS and read from the serial port
Using a lib like dbus-native
The supervisor API has a method to change the target state so we can hook into the modems sms capability and then remotely enable the VPN if need be.
Currently to use the balena fin boards RGB led, we need access to /sys and the only way I have been able to do that so far is by enabling privileged: true
for the service.
It would be nice to figure how to avoid using privilege and map the serial devices in as such:
devices:
- "/dev/UC20.NMEA:/dev/UC20.NMEA"
- "/dev/UC20.AT:/dev/UC20.AT"
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.