## Smart Department
#### alebo otvorená (a chýbajúca) IoT infraštruktúra pre vzdelávanie a DIY
[Miroslav "mirek" Biňas](https://bletvaska.github.io)
/ [**OSSConf 2024**](https://ossconf.soit.sk/)
## Ja, moje druhé ja a IoT
* IoT sa venujem od 2018
* vyučujem [Základy Internetu vecí](https://kurzy.kpi.fei.tuke.sk/iot1/2023/) na [kpi.fei.tuke.sk](https://kpi.fei.tuke.sk/) od 2019
* ...a našiel som sa v tom
[![](images/iot.hub.png)](https://www.youtube.com/watch?v=Jjx8Nrz_SmY)
[![](images/four.layers.iot.architecture.jpg)](https://sumatosoft.com/blog/what-is-iot-architecture-4-stages-of-iot-architecture)
notes:
* https://sumatosoft.com/blog/what-is-iot-architecture-4-stages-of-iot-architecture
![](images/smart.department-architecture.png)
notes:
* trojvrstvova architektura
* pridanim edge vrstvy vie byt stvorvrstvova
* horizontalne aj vertikalne skalovatelne riesenie
* postavane na otvorenych rieseniach
[![](images/mqtt.png)](https://www.mqtt.org)
## The Things
![Raspberry Pi Pico WH](images/rpi.pico.wh.jpg)
## IoT Gateway
![Raspberry Pi 3](images/raspberry.pi.3.jpg)
[![](images/docker.png)](https://www.docker.com/)
[![](images/balena.png)](https://www.balena.io/)
## The Cloud / Mother
[![grafana](images/grafana.png)](https://grafana.com/)
[![influxdb](images/influxdb.png)](https://grafana.com/)
[![mosquitto](images/mosquitto.png)](https://mosquitto.org/)
## Ďalšie plány
* architektúre podriadiť celú výučbu
* prežitie na baterky cez vianočné sviatky ;)
* služba chaos
* plánované vypínanie sieťového pripojenia
* upozornenia ([apprise](https://pypi.org/project/apprise/))
* agregácia logov do [Loki](https://grafana.com/oss/loki/) ([Telegraf](https://www.influxdata.com/time-series-platform/telegraf/)? [FluentBit](https://fluentbit.io/)?)
* [openBalena](https://www.balena.io/open)?
## Spolupráca
* kontakt s balenou
* spolupráca s Islandom
* obnoviť spoluprácu s Rumunskom
### Odkazy
* [Open IoT Gateway](https://github.com/namakanyden/open-iot-gateway) - projekt na Github-e
* [Základy Internetu vecí](https://kurzy.kpi.fei.tuke.sk/iot1) - kurz na KPI
* [Balena.io](https://www.balena.io/)
* Marek Láni: [IoT Edge](https://www.youtube.com/watch?v=Jjx8Nrz_SmY) - IoT v MicroSoft-e
* [Docker](https://www.docker.com/)
![qr code](https://api.qrserver.com/v1/create-qr-code/?data=https://bit.ly/3L7OAav&size=300x300)
(**https://bit.ly/3L7OAav**)