Skip to content

chrisn-au/auto-pi-ux

Repository files navigation

autopi_pi-ux

Flutter test local app web/android/ios for AutoPi - very much in pre Alpha - Demonstrate capabiity

Environment

Install flutter

https://flutter.dev/docs/get-started/install

enable for web developemnt

https://flutter.dev/docs/get-started/web

runs locally (Mac Catalina)- docker config to come

It currently requires licence key to SyncFusion which can be got for free from

https://www.syncfusion.com/downloads/communitylicense

Setup

The sample currently requires auto-pi-ws to porvide test data.

clone auto-pi-ws

npm install
node testserver.js

This simply runs a trivial node ws server to push trivial test data

clone auto-pi-ux

create file assets/config.json from assets/config.sample

{ "SyncFusionKey" : "yourkey" }

run the web version

flutter run -d Chrome 

Installing dcoker onto the pi3.

For thos with a PI 3 and wanting to install docker (for ease of testing) I suggest this link is a great help

I chose the option to install the deb packages. Not it failed on the third deb the first time for me. I rebooted and it worked fine

https://blog.alexellis.io/how-to-fix-docker-for-raspbian-buster/

I need help

It is currently a pre pre pre alpha just to demonstrate technical components

I am after help in

  1. Creation of a python module to replace the auto-pi-ws module. This needs to run on the autopi and publish on a ws data from PIDs and discovery data

As a start the format for the ws message is

{ "pid" : "pid" , "value" : value}

Discovery message to be described

  1. Layout of the dashboards - from very simple (beta versions) to more complex. I indent to be using the SyncFusion package although happy to consider alternatives

Reach out to me if you want to help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published