Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
/ Jarvis Public archive

Jarvis is an IoT system that includes a main unit, an outdoor unit and an optional server. The main unit is a smart thermostat can communicate with the server and the external unit, it can download weather forecasts from wunderground.com site and is controllable via Blynk for Android and iOS. The outdoor unit will have supplied a temperature sen…

License

Notifications You must be signed in to change notification settings

ThomasAndreini/Jarvis

Repository files navigation

Jarvis Next

This project is not maintained, you can fork this

/ITALIANO/

Jarvis Next è un sistema IoT che include un unità principale, un unità esterna e un server. L'unità principale è un termostato smart in grado di comunicare con il server e l'unità esterna, è in grado di scaricare le previsioni meteo dal sito wunderground.com ed è controllabile tramite Blynk per Android e Ios. L'unità esterna avrà in dotazione un sensore di temperatura, uno di umidità e un elettrovalvola per controllare l'irrigazione del giardino.

Jarvis Next è stato creato perchè arduino diventa instabile durante la lunga e pesante operazione di download e comparazione del meteo, ora le operazioni di parsing meteo vengono effettuate dal server e vengono passate tramite virtual pin Blynk, in questo modo è stato possibile liberare anche spazio su arduino per aggiornamenti futuri. Cambiare gli auth token e la localita' di wunderground e di Blynk nel file getputforecast.py dove scritto "authtoken" "location" e "Blynkauthtoken". In questo progetto è presente anche un nuovo file, "getputforecast.py" deve essere inserito nella directory Blynk all'interno della directory home del server, questo è il file che si occupa di recuperare il meteo e trasmetterlo al server Blynk, per far si che venga eseguito ogni ora è necessario che venga inserita una stringa, basta digitare da terminale "crontab -e", andare in fondo al file, inserire la stringa "0 * * * * python /home/pi/Blynk/getputforecast.py" (escluse virgolette), salvare e uscire.

Il progetto è così composto:

Unità principale:

1x Arduino Mega 1x Smart Display Itead Nextion 3.2" touch 1x Esp8266 1x RTC 1307 I2C 1x DHT 11 (temperatura-umidità) 1x Scheda Relay 220v 10 ampere , 5v comando, GND per ON, +5v per OFF 1x alimentatore 220v AC ---> 5v DC 2 ampere 1x regolatore di tensione da 5v a 3,3v minimo 500 mah

Unità esterna: (da fare)

1x esp8266 esp 12E

Server:

1x Raspberry PI (il mio è il 2 rev B+, ma puoi usarne uno qualunque) 1x Alimentatore 220v AC ---> 5v 2 ampere DC

Caratteristiche unità principale : Calendario completo di gestione dell'ora solare / legale Sincronizzazione data / ora automatica tramite internet o impostazione manuale. Download previsioni meteo per 4 giorni (tramite server) Restituzione previsioni temperature massime e minime e vento primo giorno Icone meteo cambiano secondo giorno / notte Impostazione timer attivazione / spegnimento Impostazione avvio rapido Controllo touch Restituzione temperatura e umidità interna e esterna(quando pronto il modulo esterno) Visualizzazione e impostazione unità esterna. Controllabile e monitorabile tramite app Blynk disponibile per Android e IOS (scansionsionare l'immagine blynkbarcode.png con l'app Blynk per scaricare il progetto)

/ENGLISH/

Jarvis Next is an IoT system that includes a main unit, an outdoor unit and a server. The main unit is a smart thermostat can communicate with the server and the external unit, it can download weather forecasts from wunderground.com site and is controllable via Blynk for Android and iOS. The outdoor unit will have supplied a temperature sensor, a humidity and a solenoid valve to control irrigation of the garden. Jarvis Next was created because Arduino becomes unstable during long and heavy download operation and comparison of the weather, now the weather parsing operations are performed by the server, and are passed through virtual pin Blynk, in this way it was possible to free up space arduino for future upgrades. Change the auth token and location of wunderground and Blynk on file getputforecast.py where is write "authtoken" "location" and "Blynkauthtoken". This project is also a new file, "getputforecast.py" must be inserted in Blynk directory inside the home directory of the server, this is the file that is responsible to retrieve the weather and send it to Blynk server, to ensure to run every time it is necessary that a string is inserted, just type in terminal "crontab -e", go to the bottom of the file, enter the string "0 * * * * python /home/pi/Blynk/getputforecast.py" (quotation marks excluded), save and exit.

The project consists of:

Main unit:

1x Arduino Mega 1x Itead Nextion Smart Display 3.2 "touch 1x Esp8266 1x I2C RTC 1307 1x DHT 11 (temperature-humidity) 1x PCB Relay 220V 10 amperes, 5v control, ON for GND, + 5v to OFF 1x 220v AC power supply ---> 5v DC 2 Amps 1x voltage regulator from 5V to 3.3V minimum 500 mah

Outdoor unit: (to do)

1x esp8266 esp 12E

Server:

1x Raspberry PI (mine is 2 Rev. B +, but you can use one any) 1x 220v AC power supply ---> 5v 2 amperes DC

Main Unit Features: Calendar Full Time / Daylight Management Synchronizing date / time automatically via the internet or manual setting. Download weather forecast for 4 days (by server) Returning maximum and minimum temperatures and wind forecast first day weather icons change according to the day / night Setting timer on / off Quick Start setting touch control internal and external temperature and humidity return (when ready, the external module) Viewing and outdoor unit setting. Operated and monitored via Blynk app available for Android and IOS (scansionsionare the blynkbarcode.png image with Blynk app to download the project)

About

Jarvis is an IoT system that includes a main unit, an outdoor unit and an optional server. The main unit is a smart thermostat can communicate with the server and the external unit, it can download weather forecasts from wunderground.com site and is controllable via Blynk for Android and iOS. The outdoor unit will have supplied a temperature sen…

Resources

License

Stars

Watchers

Forks

Packages