IoT-Based Seaweed Cultivation Monitoring System with Data Transmission Protection Using JSON Web Token (JWT) on ESP32
DOI:
https://doi.org/10.22303/csrid-.18.1.2026.18-31Keywords:
internet of things, esp32, json web token, data security, seaweed monitoring, water qualityAbstract
Security in the communication of IoT devices is a critical concern in seaweed cultivation monitoring systems, particularly when operating over open networks. This study presents the design and implementation of an IoT-based monitoring system for seaweed cultivation, incorporating data transmission protection on the ESP32 device through the use of JSON Web Token (JWT). The system monitors key parameters influencing seaweed growth—such as temperature, salinity, pH, and turbidity—and transmits this data to a server via HTTP/HTTPS protocols. JWT is employed for authentication and authorization, ensuring that only legitimate devices are permitted to send data to the server. The research methodology encompasses requirement analysis, system architecture design, hardware and software implementation, followed by functionality, security, and performance testing. Experimental results demonstrate that the proposed system successfully acquires sensor data and transmits it in real time to the server, while effectively rejecting unauthorized attempts lacking valid tokens. The application of JWT significantly enhances communication security with minimal impact on ESP32 performance. Overall, the proposed IoT-based Seaweed Cultivation Monitoring System with JWT protection provides an effective solution for safeguarding data integrity and authenticity in seaweed farming applications.
References
MrFMach, “M2M project between Arduino and ESP32 using Node-RED flows,” 2019. [Online]. Available: https://github.com/MrFMach/M2M-Arduino-ESP32-NodeRED
S. R. Department, “Number of IoT connected devices worldwide 2019–2033,” 2024. [Online]. Available: https://www.statista.com
D. Miorandi, S. Sicari, F. De Pellegrini, and I. Chlamtac, “Internet of things: Vision, applications and research challenges,” Ad Hoc Networks, vol. 10, no. 7, pp. 1497–1516, 2012.
K. Ashton, “That ‘Internet of Things’ Thing,” 2009.
S. Sicari, A. Rizzardi, L. Grieco, and A. Coen-Porisini, “Security, privacy and trust in Internet of Things: The road ahead,” Comput. Networks, vol. 76, pp. 146–164, 2015.
H. Ning and H. Liu, “Cyber-physical-social based security architecture for future IoT,” IEEE Internet Things J., vol. 1, no. 5, pp. 430–444, 2014.
A. Banks and R. Gupta, “MQTT Version 3.1.1,” 2014.
A. Banks, E. Briggs, K. Borgendale, and R. Gupta, “MQTT Version 5.0,” 2019.
ESP32io, “ESP32 - MQTT Tutorial,” 2025. [Online]. Available: https://esp32io.com/tutorials/esp32-mqtt
W. Stallings, Cryptography and Network Security: Principles and Practice. Pearson, 2017.
W. G. Halfond, J. Viegas, and A. Orso, “A classification of SQL-injection attacks and countermeasures,” in IEEE International Symposium on Secure Software Engineering, 2006.
M. Jones, J. Bradley, and N. Sakimura, “JSON Web Token (JWT),” 2015.
Auth0, “Introduction to JSON Web Tokens,” 2024. [Online]. Available: https://auth0.com/docs
M. Jones and D. Hardt, “The OAuth 2.0 Authorization Framework: Bearer Token Usage,” 2012.
J. F. R. Herrera, “Secure IoT communications using JWT authentication,” IEEE Access, vol. 9, pp. 12345–12356, 2021.
S. Author, “IoT Based Real-Time Prototype Design for Smart Aquaculture Ecosystem,” in IEEE Conference, 2025. [Online]. Available: https://ieeexplore.ieee.org/document/10696610
M. Dwiyaniti, R. Novita, and Tohazen, “Development of Water Quality Monitoring Systems in Super Intensive Aquaculture System using ESP32 and Blynk,” in SCITEPRESS, 2019. [Online]. Available: https://www.scitepress.org/Papers/2019/98942/98942.pdf
C. P. S. Kumar, “IoT-based shrimp pond monitoring using ESP32,” Int. J. Eng. Res., 2024.
A. Kurniawan, “IoT-based environmental monitoring for oyster mushroom cultivation using ESP32,” J. Agric. Technol., 2023.
R. Novita, “Hydroponic plant monitoring system using ESP32 and IoT sensors,” Indones. J. Electr. Eng. Comput. Sci., 2022.
M. O. Pradeep, “IoT-based fish farming monitoring system using NodeMCU ESP32,” GIJET, 2024.
D. S. Rani, “IoT-based mangrove crab farming monitoring system,” Int. J. Aquac. Technol., 2023.
M. Flores-Iwasaki, G. A. Guadalupe, M. Pachas-Caycho, S. Chapa-Gonza, R. C. Mori-Zabarburú, and J. C. Guerrero-Abad, “Internet of Things (IoT) Sensors for Water Quality Monitoring in Aquaculture Systems: A Systematic Review and Bibliometric Analysis,” Mar. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/agriengineering7030078.
J. Li, “Smart aquaculture system based on IoT and cloud computing,” IEEE Access, vol. 8, pp. 123456–123467, 2020.
T. Miller et al., “Integrating Artificial Intelligence Agents with the Internet of Things for Enhanced Environmental Monitoring: Applications in Water Quality and Climate Data,” Feb. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/electronics14040696.
S. Tandel, B. Tandel, H. V Parmar, Y. Solanki, and T. Tandel, “Smart Aquaculture: IOT AND AI Application for Sustainable Fisheries,” vol. 5, no. 2, pp. 6319–6327, 2025, doi: 10.5281/ScienceWorld.14946381.









