Raspberry pi temperature monitoring

szabo
Raspberry pi temperature monitoring

WTM-01

Web Temperature Monitoring project brief description



This system are designed for greenhouse temperature and humidity monitoring and can control some things remotely via Internet or SMS messages.

It was developed since 2013 and are tested and maintained up to now.

Based on Raspberry Pi 2 or 3, using Raspbian OS with core scripts writen in python and JS can be usable OS independently by user with an JS compatible internet browser.



Base idea was given by my friend Veress Norbert Andras (https://www.facebook.com/andrasirex) for using WebIOpi IoT framework to control things. It's was enough for me to start development of these system.

WebIOpi framework mentioned above is developed originally by Eric PTAK (http://www.businesswire.com/news/home/20151117005497/en/WebIOPi-Inventor-Veteran-Raspberry-Pi-Developer-Eric) thats a great solution. Now I using only some parts from these and was writen my own script for this purposes





The full system is divided in two unit, server side unit and client side unit(s).



The server are builded with one Raspberry Pi 3 and an SIM800 GSM module. This purpose is to connect client unit to their user and make administration of client units more easily and efficiently. In this way don't need external/public IP on client side. For this solution I use SSH reverse tuneling.

The server also verify all client side units, check if is alive and send warning initiated by server if no response from respective client. This is like a watch-dog functionality.

All warnings from client units are duplicated by the server to increase efficiency of system reliability and was sended via SMS also.

This server unit are stored at ISP (Internet Service Provider l) with an external/public IP access. This IP adress are used to access all client units for their users and for maintenance or administrative task.

All logs with illegal accesses are automatically extracted and analysed.



The client side unit contains one battery backup circuit which supply the Raspberry Pi and auxiliary circuits. Client unit features are:

- 1...12 DS18(S)20 or DS18B20 sensors, can be mixed using. Parasite power mode used for 1Wire interconnection network and a high speed current limiting implementation to be suitable for longer cable network that makes possible up to 200m range of twisted pair cable for all sensors.

- 1...8 DHT11 or DHT22 sensors, can be mixed using also. Two wire implementation used that works up to 500m long cable for each sensor. See diagram linked below and feel free to use.



- TDAQ3 interface (with ATmega328 MCU, code are writen with Codevision and bootloader used for remote firmware upgrade)

- SIM800 GSM module are used for IoT backup purposes (if no or broken internet) and all commands can be initiated via SMS also.

- All settings can be done via web access or SMS control, and all warnings are received via email and SMS also

- Can you modify your user related settings, temperature warning options, visualise temperatures and humidity charts back to months ago and some other features.



The client-side unit as the server-side unit also are fully protected, preventing illegal reproduction of these systems.

For this purpose I use file system encryption algorithms and all configuration are locked to SD card serial number.



For better explanation of system please take a look on these links below:





WTM-01

Web Temperature Monitoring project brief description



This system are designed for greenhouse temperature and humidity monitoring and can control some things remotely via Internet or SMS messages.

It was developed since 2013 and are tested and maintained up to now.

Based on Raspberry Pi 2 or 3, using Raspbian OS with core scripts writen in python and JS can be usable OS independently by user with an JS compatible internet browser.

The full system is divided in two unit, server side unit and client side unit(s).



The server are builded with one Raspberry Pi 3 and an SIM800 GSM module. This purpose is to connect client unit to their user and make administration of client units more easily and efficiently. In this way don't need external/public IP on client side. For this solution I use SSH reverse tuneling.

The server also verify all client side units, check if is alive and send warning initiated by server if no response from respective client. This is like a watch-dog functionality.

All warnings from client units are duplicated by the server to increase efficiency of system reliability and was sended via SMS also.

This server unit are stored at ISP (Internet Service Provider l) with an external/public IP access. This IP adress are used to access all client units for their users and for maintenance or administrative task.

All logs with illegal accesses are automatically extracted and analysed.



The client side unit contains one battery backup circuit which supply the Raspberry Pi and auxiliary circuits. Client unit features are:

- 1...12 DS18(S)20 or DS18B20 sensors, can be mixed using

- 1...8 DHT11 or DHT22 sensors, can be mixed using also

- TDAQ3 interface (with ATmega328 MCU, code are writen with Codevision and bootloader used for remote firmware upgrade)

- SIM800 GSM module are used for IoT backup purposes (if no or broken internet) and all commands can be initiated via SMS also.

- All settings can be done via web access or SMS control, and all warnings are received via email and SMS also

- Can you modify your user related settings, temperature warning options, visualise temperatures and humidity charts back to months ago and some other features.



The client-side unit as the server-side unit also are fully protected, preventing illegal reproduction of these systems.

For this purpose I use file system encryption algorithms and all configuration are locked to SD card serial number.



For better explanation of system please take a look on these links below:



Some pictures about WTM-01-XD temperature monitoring system

https://www.facebook.com/spectrasrl/photos/p.635952796529390/635952796529390



Logo of the system

https://www.facebook.com/spectrasrl/photos/a.327012147423458.1073741829.325515370906469/549861728471831



Block diagrams for server and client side implementation

https://www.facebook.com/spectrasrl/photos/pcb.691113071013362/691112871013382



Desktop web GUI

https://www.facebook.com/spectrasrl/photos/ms.c.eJw9ztkNRFEIAtCOJrhr~;429RIf7eQIYIx2wHit1bfnFemRd81yISlHa1~;jnjt5~_Km3nogM2GHv7WjvouXvOvt6~_6c1jmMv9F~_~_~;vH198Fgpsg~-~-.bps.a.564003857057618.1073741853.325515370906469/564003893724281



Advertise page(s)

https://www.facebook.com/spectrasrl/photos/pcb.630056407119029/630056393785697



https://www.facebook.com/spectrasrl/photos/a.563579077100096.1073741852.325515370906469/564607613663909



Short technical video

https://www.facebook.com/spectrasrl/videos/vb.325515370906469/628509467273723



DHT11 or DHT22 Two wire connection solution - that works

https://www.facebook.com/spectrasrl/photos/p.635952796529390/635952796529390



Extended I/O module development & testing scenes

https://www.facebook.com/spectrasrl/videos/vb.325515370906469/699075023550500



Extended local LED display unit development

https://www.facebook.com/spectrasrl/videos/vb.325515370906469/690051844452818



Extended PMR radio link development scenes

https://www.facebook.com/spectrasrl/videos/vb.325515370906469/639155469542456



Installed system at ERMA PROD. COM.

https://www.facebook.com/spectrasrl/videos/vb.325515370906469/701806833277319



Other installed systems for testing purposes - Temperature toure

https://www.facebook.com/spectrasrl/videos/vb.325515370906469/646846305440039



Detailed list of brute force attackers

https://www.facebook.com/spectrasrl/posts/689515117839824





A few words that's it would be the system summary description. If you are interested in some practical details and design information please feel free to contact me.



Thanks for reading



Szabó Győző



spectralog@gmail.com

Developer of WTM-01 system

SC. SPECTRA SRL. Tg. Mureș - ROMANIA

COMMENTS