Git Product home page Git Product logo

iotdatasendtoexternalrecipients's Introduction

IoTDataSendToExternalRecipients

⚠️ The Azure function uses .NET Core 3.1. Azure functions is not implemented for .NET 5. Note that the libraries/packages (declared in the .csproj) file must use versions compatible with .NET Core 3.1

:informationsource: I've started to work under the assumption that code should be self-explanatory. The code should not contain things that is so _clever that an explanation is needed. You would probably not remember or understad what you have done after 1 year. Such code if used will be explained ;-)

Explanation

This Azure function (library?) contains various (in the future?) Azure Functions that sends data to various external recipients (as of Dec. 2020, this is only EnergyManager). A function in this library is a HTTP trigger that is used by StreamAnalytics service.

Installation

Eventually the function will be deployed from GGitHub directly to Azure. You must add the following Azure Environment variables IoTHubEndpointEM.

The following procedure must be used to deploy the function(s):

# git pull https://github.com/Sarpsborg-kommune/IoTDataSendToExternalRecipients.git
# cd IoTDataSendToExternalRecipients
#  func azure functionapp publish {functioappname}

Azure/azure-functions-host#5399

iotdatasendtoexternalrecipients's People

Watchers

 avatar  avatar

iotdatasendtoexternalrecipients's Issues

Send normaliserte verdier for batteristatus

Hvis du sender en status på batteriet, f.eks. fra 0 til 100%, er dette enklere å tolke enn VDD/batterispenning som sendes i dag. Dette er et 3,6V batteri, så du kan normalisere med dette, dvs. VDD/3600, eller Math.Min(VDD/3600.0, 1.0) for å være sikker på å være mellom 0 og 1.

Send normaliserte verdier for motion

Motion sendes som antall bevegelser. Dette bør normaliseres på tilsvarende måte som batteri, se #1. Motion er verdi mellom 0 og 255, så normalisert blir motion/255.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.