https://github.com/xaviave/iot_controller_frontend
https://github.com/xaviave/iot_controller_frontend
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xaviave/iot_controller_frontend
- Owner: xaviave
- Created: 2024-02-22T07:52:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T14:42:06.000Z (about 1 year ago)
- Last Synced: 2025-06-21T17:44:56.935Z (6 months ago)
- Language: Dart
- Size: 9.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GMX IOT CONTROLLER
Flutter app connect via gRPC to a [Django server](https://github.com/xaviave/iot_controller_backend).
The app aim to control every different IOT product connected to the server with a simple interface.
## To-Do
- Android Widget
- gRPC web ok on branch but needs a envoy proxy
- identification | firebase or something
- gRPC stream data
### Functionalities
auto on-off:
- wifi detector via django task
- outside brightness (sensor or sunset time)
themes by rooms and on-off button for a room
## Commands
### Run
flutter pub get
flutter run
### Build
flutter build apk
### Installation
Run theses commands:
sudo apt install protobuf-compiler
flutter pub get && flutter pub upgrade
dart pub global activate protoc_plugin
export PATH="$PATH:$HOME/.pub-cache/bin"
Generate gPRC dart files:
protoc -I=protos/ protos/backend.proto --dart_out=grpc:lib/protos --experimental_allow_proto3_optional
## Assets
The `assets` directory houses images, fonts, and any other files you want to
include with your application.
The `assets/images` directory contains [resolution-aware
images](https://flutter.dev/docs/development/ui/assets-and-images#resolution-aware).
## Localization
This project generates localized messages based on arb files found in
the `lib/src/localization` directory.
To support additional languages, please visit the tutorial on
[Internationalizing Flutter
apps](https://flutter.dev/docs/development/accessibility-and-localization/internationalization)