michaelschnyder / ondo Goto Github PK
View Code? Open in Web Editor NEWComplete IoT Solution to manage and control air control (Daikin and others) with an ESP8266/Arduino
License: MIT License
Complete IoT Solution to manage and control air control (Daikin and others) with an ESP8266/Arduino
License: MIT License
A log a day
Add time & Date in log and filename
Delete old logfiles
Suggested implementation
Commandline Sample
ondo-update --firmware <ardunio-binary.bin>
: Shows a list of devices and user has to enter select a specific itemondo-update --firmware <arduino-binary.bin> --target <ip | deviceId>
: flash a specific device in local networkondo-update --firmware <ardunio-binary.bin> --target all
: All discoverable devices are updatedLinks
Azure contains a sample for that: https://github.com/Azure-Samples/web-apps-node-iot-hub-data-visualization
Whenever a device receives a command and adjusts it's local settings and talks to AC, after completion, a message with the current state should be transmitted to MQTT
When changing Vertical Swing, nothing happens
When changing fan speed, nothing happens
When changing Quiet, the change is not reflected in the UI
Every 60s, the device should send information about
the device should only send update temperature information if there was an actual change, but at least once every 60s
A dedicated agent is required for this. See: https://devblogs.microsoft.com/premier-developer/azure-devops-build-pipelines-for-arduino-microcontrollers/
Suggested workflow
Links
After receiving the setup command, a device should send IrCommands to make it easier to position it. The device should send 10 commands during 10s.
The MQTT should offer functionality to update reported properties on Azure IoT Device twin according to IoT Hub DevGuide
Replace the Losant API calls with Azure IoT Hub calls.
Two options
Option 2) is preferred as it offers a more secure way to connect to Azure API (does not expose connection String) and offers more flexibility in the long term (i.e. support for Alexa)
It seems that sometimes the MQQT connection (or WIFI) is unreliable and a re-connect happens frequently. Should the connection be unreliable, this results in extremely frequent connection requests.
Idea: Increase the delay between re-connection attempts every time a connection got disconnected after short connection time.
The current tokens used by the embedded devices only last for max 365 days.
Options
Usage of the library EspSaveCrash and upload the results via http to the cloud.
Things to consider
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.