Responsible for presenting data for user. Used to customize names of devices. Data is presented as graphs for periods specified by user (last month, all time). Communicates with ServerRpi using MQTT.
Home screen | Change device name form |
---|---|
are generated manually using protoc_builder and build_runner. Files can be generated using bash script generate_proto_files.sh.
Is implemented using mqtt_client package for asynchronous calls dart_async is used.
is implemented using fl_chart.
Follow instructions from flutter docs
flutter pub add mqtt_client logging
flutter run
# Linux only
./generate_proto_files.sh
# Window (run commands manually)
cp ../proto/light_energy_menagement_system.proto lib/proto
flutter pub run build_runner build
rm lib/proto/light_energy_menagement_system.proto