Git Product home page Git Product logo

sensorsevolve's Introduction

alt text

EvolveSensors

Sensors with an Adafruit M0, Raspberry Pi 4, Docker, BalenaOS, Grafana, NGINX, PHPMyAdmin, WiFi HotSpot, and Apache The Feather M0 is using AM2315 Sensors with a TCA9518A.

This code is written for a AdaFruit M0 WiFi Microcontroller and a Raspberry Pi 4/400/Zero WH/Zero WH 2.

The OS for the Raspberry Pi is BalenaOS. Download this config, then push it to balenacloud to use this with MySQL, PHP, NGINX, Apache, and Grafana.

Currently is this is configured to run with BalenaOS. This sends data to the Raspberry Pi via the WiFi. The Pi must be connect to a router with Ethernet for this to work with BalenaCloud. The Pi creates it's own hotspot that Adafruit's Feather M0 WiFi sends data to the MySQL database.

When the pi is being updated causing the Feather M0 to not beable to connect to the Pi, the M0 with enter a reset state. It will try to connect every 10-15sec, when it fails it will reset, until it has established a connection.

balena deploy button

Things working: -Currently the Admin username and password are "Admin" and "EvolveAdmin".

-PHPMyAdmin login is "root" and "EvolveAdmin"
-only works on local host IP, x.x.x.x:8080

-MySQL login is "root" and "EvolveAdmin" with the sub user for grafana "grafana" and "Evolve" to access "grafanadb".

-Grafana login is "Admin" and "EvolveAdmin"

Setup for MySQL in Grafana is as follows:

Host: 10.42.0.1:3306

User: grafana

Pass: Evolve

Min Time interval: 10s

Weird issue with Grafan In order for the database to show you need to 'Sign In", followed by selecting "Configuration", "Data sources", opening up the MySQL database called "main", enter the password and save.

sensorsevolve's People

Contributors

moondisco avatar

Watchers

 avatar

Forkers

mpous

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.