1
0
Форкнуть 0
Xamarin.Forms GTK Backend IoT Sample
Перейти к файлу
Javier Suárez Ruiz fcda9aebc1 Updated Xamarin.Forms version
Fixed Reload icon error
Implemented TemperatureSensorService
2018-05-27 19:27:06 +02:00
Images Updated README 2017-08-09 21:31:29 +02:00
src Updated Xamarin.Forms version 2018-05-27 19:27:06 +02:00
.gitattributes 🎊 Added .gitattributes & .gitignore files 2017-08-06 12:14:48 +02:00
.gitignore Updated README 2017-08-22 19:47:02 +02:00
README.md Updated README 2017-10-15 14:27:33 +02:00

README.md

Temperarute Monitor App (Xamarin IoT + Xamarin.Forms GTK Backend)

The Temperature Monitor App is a Xamarin.Forms GTK Backend App running on Linux that reads temperature and humidity sensor data.

Temperarute Monitor App

The App uploads data to Azure Table Storage. In Azure there are also a Net Core Web API that returns the data to the App, to show results in the most visual form. Using Oxyplot charts the App shows the summary of temperatures and humidities per hour each day.

Xamarin.Forms, .NET Core, Linux on server and client, sounds interesting?.

Xamarin IoT

Xamarin.IoT enables developers to write and share C# code across devices, now including internet of things devices such as Raspberry Pi and Intel Edison. It works with any IoT device running Linux (most popular distributions) and integrates seamlessly with the Azure IoT Suite to connect, analyze, and secure your IoT solutions.

You can use MQTT and AMPQ with your Xamarin.IoT projects by just adding a reference to the corresponding packages.

Xamarin IoT

Xamarin.Forms

Xamarin.Forms allows you to build native UIs for iOS, Android, Windows, MacOS and Linux from a single, shared codebase. You can dive into mobile development with Xamarin.Forms by following our free self-guided learning from Xamarin University. This project exercises the following patterns and features:

  • Xamarin.Forms
  • XAML UI
  • Converters
  • Custom Renderers
  • Data Binding
  • IoC
  • MVVM
  • Styles

Prerequisites

  • A Raspberry Pi 3 running Raspbian with Mono and GTK#.
  • Humidity Sensor DHT22.
  • Visual Studio 2017 (Windows or Mac) Community Edition and above.
  • Azure subscription. Not a Visual Studio subscriber? Get a $25 monthly Azure credit by joining Visual Studio Dev Essentials.

Hardware

Xamarin.Forms 3.0 Feed

The Xamarin.Forms 3.0 preview is published to a custom NuGet feed. To get it:

How to try?

The class AppSettings has important configurations to add:

  • StorageConnectionString: Connection string to the Azure Storage.
  • ApiUrl: Base URL of the API deployed onto the App Service.

Enjoy!.

Feedback

Please use GitHub issues for questions and comments.

License

Code released under the MIT license.