Optimizing Smart-Home Energy Systems Through Energy-Efficient Off-Chain Blockchain-Based Attribute-Based Access Control (ABAC): A Hybrid LightGBM Approach
Abstract
1. Introduction
- Optimization of a hybrid blockchain architecture decision-making pipeline with integration of off-chain ML implication with on-chain verification.
- Optimization of cost and performance through selective on-chain execution and periodic audit mechanisms.
- Optimization of system efficiency through comprehensive evaluation demonstrating reductions in on-chain transaction volume, latency, and blockchain-related energy consumption with negligible loss in decision accuracy.
2. Related Work
2.1. Blockchain-Based Access Control in the IoT
2.2. Dynamic ABAC Models and Computational Challenges
2.3. AI Driven Blockchain Optimization
2.4. Lightweight Blockchain Frameworks with Off-Chain Intelligence
3. Methodology
3.1. IoT Device Layer
3.2. Off-Chain Processing
3.2.1. Attribute Acquisition and Preprocessing
- User attributes: identity, role, authentication level, past behavior history.
- Device attributes: type of device (e.g., air conditioner, EV charger), power rating, criticality level.
- Request attributes: action requested (turn on/off, limit usage), requested duration, resource demand.
- Contextual attributes: time of day, tariff period (peak/off-peak), household occupancy, grid load state, renewable availability.
- Missing-Value Masking and Median Imputation
- Robust Anomaly Scoring (Robust z-Score)
- = value of attribute j for data instance i
- = median of attribute j
- = median absolute deviation, a robust measure of spread.
- The constant 1.4826 ensures consistency with standard deviation under normal distribution assumptions.
- Standardization of Numerical Attributes
- Device-Aware Normalization for Power/Energy Features
- Categorical Encoding
- Cyclical Encoding for Temporal/Contextual Variables
- Feature Assembly
- is a standardized numeric;
- is the device-aware power/energy;
- represents the one-hot encoding;
- is the cyclical time/context;
- are anomaly flags.
3.2.2. Machine Learning Prediction Engine
| Algorithm 1 Training and inference of ODABAC-IoT classifier |
Input:
|
3.2.3. Cryptographic Result Signing
3.2.4. Periodic Model Verification and Retraining
- : misclassification detected.
- : prediction validated.
3.3. On-Chain Processing
- submitPrediction() which accepts high-confidence LightGBM predictions signed by the off-chain inference node and verifies their cryptographic integrity before committing a minimal decision record on-chain.
- fullEvaluateRequest() which executes the complete ABAC workflow across the UAC, RAC, DAC, and APC for low-confidence or anomalous requests.
- submitPrediction()
- Accepts a decision tuple from the ML engine.
- Verifies the cryptographic signature using the ML node’s public key.
- Validates confidence metadata .
- Logs the result to the ledger without executing the full ABAC policy.
- fullEvaluateRequest()
- Invokes the traditional ABAC evaluation engine.
- Used for:
- (a)
- Low-confidence predictions ;
- (b)
- Randomly sampled audit requests.
- Decision hash instead of the full feature vector.
- Minimal attribute metadata (e.g., device ID, request type).
| Algorithm 2 Smart-contract logic for hybrid ABAC enforcement |
Input:
|
4. Scenario: Smart-Home Energy Access Request
- High-Confidence Case: If the probability surpasses a predefined threshold (e.g., ≥95%), the decision is cryptographically signed and submitted to the ADC through the submitPrediction() function. The ADC confirms the signature, records the decision hash, and grants access without invoking full on-chain evaluation, as shown in Figure 12.
- Low-Confidence Case: If the confidence score is below the threshold, or if anomalies are noticed, the request is diverted to the fullEvaluateRequest() function. A complete ABAC process runs on-chain via the UAC, DAC, RAC, and APC, ensuring rigorous verification and preserving zero trust enforcement, as shown in Figure 13.
Workflow Summary
- Request Generation:IoT device sends an access request with contextual attributes.
- Off-Chain Preprocessing:Attributes are normalized, validated, and passed to the ML prediction engine.
- Prediction and Thresholding:
- High confidence → submitPrediction() on-chain.
- Low confidence → fullEvaluateRequest() on-chain.
- On-chain Enforcement:Blockchain either logs the prediction result (high confidence) or executes the full ABAC evaluation (low confidence).
- Periodic Verification:Random samples of high-confidence cases are verified on-chain to ensure ML model reliability.
- Retraining: ML model retrains periodically with updated labeled data from blockchain verified requests.
5. Results and Discussion
5.1. Experimental Setup
5.2. Transaction Volume Reduction
5.3. Latency Improvement
5.4. Energy-Efficiency Outcomes
5.5. Security, Trust, and Standards Compliance
- NISTIR 7628 [53]ODABAC-IoT fulfills the NIST requirement for continuous monitoring, integrity validation, and accountability by ensuring that each AC decision is verified through immutable logs.
- IEC 62351 [54]ODABAC-IoT implements the communication and system security standard for power systems, IEC 62351, using cryptographic guarantees of integrity, authenticity and confidentiality to protect data exchange within energy management systems as part of an overall focus on securing IoT-enabled devices through ODABAC-IoT’s decision-making process.
- IEEE 2030.5 [55]The context-aware decision-making and secure logging elements of IEEE 2030.5 (SEP2.0) inherently support the interoperability/security requirements for distributed energy resources as specified within this smart energy profile standard.
5.6. Sustainability Impact
6. Discussion
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| IoT | Internet of Things |
| ML | Machine Learning |
| ABAC | Attribute-Based Access Control |
| ODABAC-IoT | Optimized Dynamic-Attribute-Based Access Control |
| RBAC | Role-Based Access Control |
| LightGBM | Light Gradient-Boosting Machine |
| AC | Access Control |
| ABE | Attribute-Based Encryption |
| AI | Artificial Intelligence |
| IPFS | InterPlanetary File System |
| HEMS | Home Energy Management System |
| HVAC | Heating, Ventilation, and Air-Conditioning |
| EV | Electric Vehicle |
| MQTT | Message Queuing Telemetry Transport |
| HTTPS | Hypertext Transfer Protocol Secure |
| UAC | User Attribute Contract |
| DAC | Device Attribute Contract |
| RAC | Resource Attribute Contract |
| CMC | Certificate Management Contract |
| APC | Access Policy Contract |
| ADC | Access Decision Contract |
| PIP | Policy Information Point |
| UI | User Attribute |
| VI | Device Attribute |
| RI | Request Attribute |
| CI | Contextual Attribute |
| XI | Unified Vector |
References
- Hasan, M.R.; Alazab, A.; Joy, S.B.; Uddin, M.N.; Uddin, M.A.; Khraisat, A.; Gondal, I.; Urmi, W.F.; Talukder, M.A. Smart Contract-Based Access Control Framework for Internet of Things Devices. Computers 2023, 12, 240. [Google Scholar] [CrossRef]
- Waheed, U.; Khan, S.A.; Masud, M.; Jamshed, H.; Jumani, T.A.; Malik, N.U.R. Blockchain Based, Dynamic Attribute Based Access Control for Smart Home Energy Systems. Energies 2025, 18, 1973. [Google Scholar] [CrossRef]
- Awan, S.M.; Azad, M.A.; Arshad, J.; Waheed, U.; Sharif, T. A Blockchain Inspired Attribute Based Zero Trust Access Control Model for IoT. Information 2023, 14, 129. [Google Scholar] [CrossRef]
- Gono, A.; Pisařovic, I.; Zejda, M.; Landa, J.; Procházka, D. Improving IoT Management with Blockchain: Smart Home Access Control. Eur. J. Bus. Sci. Technol. 2024, 10, 225–241. [Google Scholar] [CrossRef]
- Punia, A.; Gulia, P.; Gill, N.S.; Ibeke, E.; Iwendi, C.; Shukla, P.K. A systematic review on blockchain based access control systems in cloud environment. J. Cloud Comput. 2024, 13, 146. [Google Scholar] [CrossRef]
- Wang, X.; Yue, X.; Tariq, N.; Sajid, A. Hybrid AI and Blockchain Powered Secure Internet Hospital Communication and Anomaly Detection in Smart Cities. Processes 2025, 13, 1466. [Google Scholar] [CrossRef]
- Saleem, J.; Raza, U.; Hammoudeh, M.; Holderbaum, W. Machine Learning Enhanced Attribute Based Authentication for Secure IoT Access Control. Sensors 2025, 25, 2779. [Google Scholar] [CrossRef]
- Anjum, M.; Kraiem, N.; Min, H.; Dutta, A.K.; Daradkeh, Y.I.; Shahab, S. Opportunistic access control scheme for enhancing IoT enabled healthcare security using blockchain and machine learning. Sci. Rep. 2025, 15, 7589. [Google Scholar] [CrossRef] [PubMed]
- Ben Chehida Douss, A.; Abassi, R. Towards a formal framework for blockchain-based access control in e-health systems. Ann. Telecommun. 2026, 1–25. [Google Scholar] [CrossRef]
- Outchakoucht, A.; Abou El Kalam, A.; Es-Samaali, H.; Benhadou, S. Machine Learning Based Access Control Framework for the Internet of Things. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 331–340. [Google Scholar] [CrossRef]
- Trabelsi, R.; Fersi, G.; Jmaiel, M. Access control in Internet of Things: A survey. Comput. Secur. 2023, 135, 103472. [Google Scholar] [CrossRef]
- Singh, J.; Rani, S.; Kumar, V. Role based access control (RBAC) enabled secure and efficient data processing framework for IoT networks. Int. J. Commun. Netw. Inf. Secur. 2024, 16, 91–103. [Google Scholar] [CrossRef]
- Díaz, J.P.; Mendoza, F.A. Authorization models for IoT environments: A survey. Internet Things 2025, 29, 101430. [Google Scholar] [CrossRef]
- Kalaria, R.; Kayes, A.S.; Rahayu, W.; Pardede, E.; Salehi Shahraki, A. Adaptive context aware access control for IoT environments leveraging fog computing. Int. J. Inf. Secur. 2024, 23, 3089–3107. [Google Scholar] [CrossRef]
- Ahsan, M.S.; Pathan, A.K. A Comprehensive Survey on the Requirements, Applications, and Future Challenges for Access Control Models in IoT: The State of the Art. IoT 2025, 6, 9. [Google Scholar] [CrossRef]
- Nie, S.; Ren, J.; Wu, R.; Han, P.; Han, Z.; Wan, W.K. Zero Trust Access Control Mechanism Based on Blockchain and Inner Product Encryption in the Internet of Things in a 6G Environment. Sensors 2025, 25, 550. [Google Scholar] [CrossRef]
- Kalarani, S.; Shobana, M.; Uma Shankari, E.; Praveena, B.J.; Shanthi, S.; Ramadevi, R.; Sandiri, R. A secure and cloud based patient management system using attribute based encryption algorithm. Int. J. Power Electron. Drive Syst. 2025, 15, 2445–2454. [Google Scholar] [CrossRef]
- Riad, K. Robust Access Control for Secure IoT Outsourcing with Leakage Resilience. Sensors 2025, 25, 625. [Google Scholar] [CrossRef] [PubMed]
- Ramamurthy, K.; Kulanthaivelu, S.; Jenish, S.A. Future Directions and Emerging Trends of Adaptive Artificial Intelligence in Wireless Sensor Networks, Internet of Things, and Industrial Internet of Things. In Adaptive AI in Sensor Informatics: Methods, Applications, and Implications; Ramamurthy, K., Kulanthaivelu, S., Sountharrajan, S., Goyal, S.B., Kadry, S., Eds.; Elsevier: Amsterdam, The Netherlands, 2026; pp. 291–308. [Google Scholar]
- Mariappan, K.; Ganesan, P.; Jagatheesaperumal, S.K. IoT access control and authentication schemes. In Internet of Things Security; Elsevier: Amsterdam, The Netherlands, 2026; pp. 87–106. [Google Scholar] [CrossRef]
- Yaqub, N.; Zhang, J.; Khalid, M.I.; Wang, W.; Helfert, M.; Ahmed, M.; Kim, J. Blockchain enabled policy based access control mechanism to restrict unauthorized access to electronic health records. PeerJ Comput. Sci. 2025, 11, e2647. [Google Scholar] [CrossRef]
- Wang, J.; Liu, C.; Zhu, G.; Liu, X.; Xiao, B. Fine grained Trusted Control Methods for IoT Boundary Access. Scalable Comput. Pract. Exp. 2025, 26, 180–190. [Google Scholar] [CrossRef]
- Ramírez-Gordillo, T.; Maciá-Lillo, A.; Pujol, F.A.; García-D’Urso, N.; Azorín-López, J.; Mora, H. Decentralized Identity Management for Internet of Things (IoT) Devices Using IOTA Blockchain Technology. Future Internet 2025, 17, 49. [Google Scholar] [CrossRef]
- Naik, M.; Singh, A.P.; Pradhan, N.R.; Mohanty, S.N.; Rafiq, M.; Ayouni, S.; Khan, M.I. Sustainable NFTs: Enabling green energy adoption through IoT-integrated Blockchain tokenization of carbon offsets. Int. Commun. Heat Mass Transf. 2026, 175, 110939. [Google Scholar] [CrossRef]
- Bhargavi, V.S.; Sawai, N.M.; Chakravarthi, M.K.; Shaik Ibrahim, S.H.; Pérez, L.A.; Tiwari, M. Scalability and Performance of Blockchain-Based Solutions for IoT Applications. In Interdisciplinary Approaches to AI, Internet of Everything, and Machine Learning; IGI Global Scientific Publishing: Hershey, PA, USA, 2024; pp. 203–216. [Google Scholar] [CrossRef]
- Rouached, M.; Akremi, A.; Macherki, M.; Kraïem, N. Policy Based Smart Contracts Management for IoT Privacy Preservation. Future Internet 2024, 16, 452. [Google Scholar] [CrossRef]
- Cloudin, S.; Robinson Joel, M.; Manikandan, G.; Milcah Blessy, I. Integrating Blockchain, IoT, and 6G Technologies for Secure, Efficient, and Sustainable Smart City Applications: Enhancing Urban Living Through Innovation. In Building Tomorrow’s Smart Cities With 6G Infrastructure Technology; IGI Global Scientific Publishing: Hershey, PA, USA, 2024; pp. 483–508. [Google Scholar] [CrossRef]
- Ghosh, S.; Mitra, R.; Roy, I.; Gupta, B. Securing RC Based P2P Networks: A Blockchain based Access Control Framework utilizing Ethereum Smart Contracts for IoT and Web 3.0. In International Conference on Computer Applications in Industry and Engineering; Springer Nature: Cham, Switzerland, 2024. [Google Scholar]
- Fernández-Iglesias, M.J.; Delgado von Eitzen, C.; Anido-Rifón, L. Efficient Traceability Systems with Smart Contracts: Balancing on-chain and Off Chain Data Storage for Enhanced Scalability and Privacy. Appl. Sci. 2024, 14, 11078. [Google Scholar] [CrossRef]
- Jadhav, S.; Pise, N. Secure and Transparent Blockchain Donations: An Attribute Based Access Control (ABAC) Framework. In Proceedings of IEEE ICBDS; IEEE: Piscataway, NJ, USA, 2024; pp. 1–6. [Google Scholar]
- Ullah, Z.; Husnain, G.; Mohmand, M.I.; Qadir, M.; Alzahrani, K.J.; Ghadi, Y.Y.; Alkahtani, H.K. Blockchain-IoT: A revolutionary model for secure data storage and fine-grained access control in IoT. IET Commun. 2024, 18, 1524–1540. [Google Scholar] [CrossRef]
- Li, R.; Sun, Y.; Liu, C.; Wen, Y.; Liu, Y. Distributed Data Sharing and Access Control in Industrial IoT Using Blockchain Technology. In IEEE ICCEIC; IEEE: New York, NY, USA, 2024; pp. 372–375. [Google Scholar]
- Cioloca, P.; Aloman, A.; Bratu, A.; Aciobăniţei, I. Efficient Framework for Supply Chain Digitization using Blockchain and IoT. In IEEE COMM; IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar]
- Akkal, M.; Cherbal, S.; Annane, B.; Lakhlef, H. Blockchain for Secure Access Control in the Internet of Things: A Review and Comparative Analysis. In IEEE ICAECOT; IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar]
- Tuteja, S.; Sharma, M.; Sharma, A.; Tonk, R. Recent Emergence and Integration of Blockchain, Internet of Things (IoT), and Artificial Intelligence (AI) and their Future Directions. Recent Adv. Electr. Electron. Eng. 2025, 18, 1513–1526. [Google Scholar] [CrossRef]
- Riaz Khan, M.; Abrar, N.; Tahir, M.R.; Mansoor, Y.; Rehman, S. Trustworthy AI for IoT using blockchain. Spectr. Eng. Sci. 2025, 3, 934–947. [Google Scholar]
- Chandana, B.; Hussain, H.S.; Veluri, R.K.; Rajesh Kanna, S.K.; Babu, A.J.; Prasad, Y. Advancement of Smart Contract Administration in a Virtual Environment through Blockchain Technology and Optimization Tools. In Proceedings of the 3rd International Conference on Optimization Techniques in the Field of Engineering (ICOFE-2024), Online, 22–23 October 2024. [Google Scholar] [CrossRef]
- Roobini, S.; Kavitha, M.S.; Karthik, S. Leveraging IoT and AI Technologies for Blockchain Based Digital Twins. In Blockchain-Based Digital Twins; Apple Academic Press: Palm Bay, FL, USA, 2025; pp. 183–222. [Google Scholar] [CrossRef]
- Leghemo, I.M.; Azubuike, C.; Segun-Falade, O.D.; Odionu, C.S. Data Governance for Emerging Technologies: A Conceptual Framework for Managing Blockchain, IoT, and AI. J. Eng. Res. Rep. 2025, 27, 247–267. [Google Scholar] [CrossRef]
- Anand, P.; Singh, Y.; Singh, H. Secure IoT data dissemination with blockchain and transfer learning techniques. Sci. Rep. 2025, 15, 1665. [Google Scholar] [CrossRef]
- Nowell, E.; Gallus, S. Advancing Privacy Preserving AI: A Survey on Federated Learning and Its Applications. Preprints 2025. [Google Scholar] [CrossRef]
- Qiu, C.; Wu, Z.D.; Wang, H.; Yang, Q.; Wang, Y.; Su, C. Hierarchical Aggregation for Federated Learning in Heterogeneous IoT Scenarios: Enhancing Privacy and Communication Efficiency. Future Internet 2025, 17, 18. [Google Scholar] [CrossRef]
- Nomikos, N.; Xilouris, G.; Patsourakis, G.; Nikolakakis, V.; Giannopoulos, A.; Mandilaris, C.; Gkonis, P.K.; Skianis, C.; Trakadas, P. A Distributed Trustable Framework for AI Aided Anomaly Detection. Electronics 2025, 14, 410. [Google Scholar] [CrossRef]
- Murala, D.K.; Vemulapalli, L.; Balagoni, Y.; Patnala, E.; Romeo, B. MedLedgerFL: A hybrid blockchain-federated learning framework for secure remote healthcare services. Sci. Rep. 2026, 16, 8218. [Google Scholar] [CrossRef]
- Yang, G.; Li, W.; Zhang, Q.; Xu, M.; Pan, C.; Wang, B. Trust-Enabled Decentralized Task Offloading for Collaborative Edge Computing Using Blockchain and Deep Reinforcement Learning. Softw. Pract. Exp. 2026, 56, 218–236. [Google Scholar] [CrossRef]
- Galiveeti, P.; Pallavi, R. An internet of things edge intelligence powered by blockchain. In Futuristic Trends in Blockchain Applications; 2024; pp. 297–314. [Google Scholar] [CrossRef]
- Oskolkov, B.; Chen, K.; Tian, W.; Law, A.C.C.; Liu, C. Incremental Machine Learning integrated Blockchain for Real time Security Protection in Cyber enabled Manufacturing Systems. J. Comput. Inf. Sci. Eng. 2025, 25, 041004. [Google Scholar] [CrossRef]
- Norta, A.; Udokwu, C.; Voicu-Dorobanțu, R.; Ogunyemi, A.; Sturua, N.; Craß, S. Leveraging Blockchain for Ethical AI: Mitigating Digital Threats and Strengthening Societal Resilience. Preprints 2025. [Google Scholar] [CrossRef]
- Sabit, H. AI Based Smart Security System Using IoT for Smart Home Applications. Preprints 2025. [Google Scholar] [CrossRef]
- Deng, Y.; Guo, B.; Chen, S. Privacy Preserving Approach to Edge Federated Learning Based on Blockchain and Fully Homomorphic Encryption. Electronics 2025, 14, 361. [Google Scholar] [CrossRef]
- Aounzou, Y.; Boulaalam, A.; Kalloubi, F. Convergence of blockchain, IoT, and machine learning: Exploring opportunities and challenges—A systematic review. Int. J. Smart Sens. Intell. Syst. 2025, 18. [Google Scholar] [CrossRef]
- Perera, M.; Fattah, S.M.M.; Mistry, S.; Krishna, A. Reinforcement Learning Controlled Adaptive PSO for Task Offloading in IIoT Edge Computing. In Companion Proceedings of the ACM on Web Conference 2025; Association for Computing Machinery: New York, NY, USA, 2025. [Google Scholar] [CrossRef]
- NISTIR 7628 Rev. 1; Guidelines for Smart Grid Cybersecurity. National Institute of Standards and Technology: Gaithersburg, MD, USA, 2014. [CrossRef]
- IEC 62351:2026 SER; Power Systems Management and Associated Information Exchange—Data and Communications Security—All Parts. International Electrotechnical Commission: Geneva, Switzerland, 2026.
- IEEE Std 2030.5-2023; IEEE Standard for Smart Energy Profile Application Protocol. Institute of Electrical and Electronics Engineers: Piscataway, NJ, USA, 2024.
- NERC CIP Standards; Critical Infrastructure Protection Reliability Standards. North American Electric Reliability Corporation: Atlanta, GA, USA, 2026.

















| Reference | Study Focus | Access Control Approach | Key Features | Limitations |
|---|---|---|---|---|
| [12] | RBAC-based secure data processing in IoT | RBAC | Secure and efficient framework for IoT data processing | Limited adaptability for dynamic environments |
| [14] | Context-aware access via fog computing | Context-aware AC | Fog-enabled dynamic access policy adaptation | Complexity in context integration |
| [16] | Zero-trust access for 6G IoT environments | Zero trust + blockchain + inner product encryption | Designed for 6G-enabled IoT networks | High computation overhead and encryption complexity |
| [17] | Healthcare access with ABE | Attribute-Based Encryption (ABE) | Secure-cloud-based system with fine-grained control | Tailored for healthcare, limited generalizability |
| [18] | Leakage-resilient control for IoT outsourcing | Leakage-resilient AC | Resists data leakage during outsourced storage | Focuses more on leakage than real-time access |
| [19] | AI-driven adaptive threat detection in IoT | AI-integrated AC | Real-time adaptive security under constraints | Lacks blockchain integration |
| [20] | Decentralized authentication in IoT access | Hybrid access control with decentralized auth | Emphasizes authentication and layered access | Review-based, lacks implementation insights |
| [21] | Policy-based control for health data | Policy-based AC with blockchain | Unauthorized access prevention in EHR systems | Application-specific (healthcare), scalability untested |
| [22] | Boundary-access enforcement in IoT | Fine-grained trusted control | Enhanced boundary control, fine-grained policies | Boundary specific, not generalized |
| [23] | DID-based identity for IoT devices | Decentralized Identity Management (DID) | Blockchain-based identity for IoT devices | Relies on IOTA, may limit interoperability |
| [24] | Blockchain-enabled IoT data marketplaces | Use-case-oriented blockchain integration | Market-driven IoT data control | Use-case-centric, lacks generalizable access model |
| [25] | Scalability in blockchain IoT access | Performance-oriented blockchain access | Analyzes performance in varied IoT settings | Focuses on performance, not access policy design |
| [26] | Policy-controlled smart contracts in IoT | Policy-based smart contracts | IoT privacy via policy managed smart contracts | Privacy heavy, lacks performance benchmarking |
| [27] | Smart-city access control using 6G + blockchain | Blockchain IoT in smart cities | 6G integration, secure urban IoT | Generalized, not focused on specific control mechanisms |
| [28] | Ethereum smart contracts for IoT access | Ethereum-based ABAC | RBAC and Ethereum smart contracts’ integration | Requires Ethereum network, high cost |
| [29] | Hybrid storage in blockchain traceability | On-chain + off-chain access strategy | Enhanced scalability with hybrid storage | Focused on traceability, not full access control |
| [30] | ABAC for blockchain donation systems | ABAC | Donor centric access transparency | Niche application, limited IoT focus |
| [31] | Fine-grained control in blockchain IoT | Blockchain-based fine-grained access | Secure storage and access granularity | General IoT focus, lacks trust management |
| [32] | Distributed access in Industrial IoT | Distributed-blockchain AC | Access for IIoT through blockchain enforcement | Tailored to industrial settings |
| [33] | Supply-chain access visibility using blockchain | Blockchain-enabled supply-chain control | Track and access visibility | Limited to logistics-based IoT |
| [35] | Convergence of blockchain IoT AI for access | Converged-access frameworks | Multitech synergy for access and control | Early stage, lacks prototype |
| [37] | Smart-contract administration in virtual settings | Blockchain-based contract management | Optimized contract handling | Focused more on admin than access policies |
| [38] | Digital-twin security with IoT blockchain | Blockchain-based digital-twin security | Secure twin representation and monitoring | Conceptual, lacks deployment examples |
| [39] | Governance framework for blockchain IoT AI | Conceptual governance framework | Access governance across AI, IoT, blockchain | Conceptual, not technical |
| [40] | Blockchain with TL for secure dissemination | Blockchain-based dissemination control | Transfer learning + blockchain for data spread | Dissemination focused, less on access policy |
| Device | Primary Operations | Access Control Attributes [2] | Temporal/Contextual Variables (ODABAC-IoT) | Device Criticality (Security Class) | Measuring Unit/Normalization |
|---|---|---|---|---|---|
| Smart Meter | Report consumption data; request billing info | Device ID, User ID, Role, Location, Certificate validity | Time of request, reporting interval, tariff period (peak/off peak) | High Security—mandatory for billing and grid balancing | Energy (kWh), normalized by daily average load |
| HVAC System | Adjust temperature; demand scheduling | Device ID, User role, Authorized function (cooling/heating) | Time of day, indoor temperature, occupancy status, external weather | Moderate Security—comfort-oriented, not grid-critical | Power (kW), normalized by rated capacity |
| Solar Inverter | Inject PV power; request synchronization | Device ID, Location, Policy ID, Certificate validation | Solar irradiance, time of day, seasonal variation, grid demand | High Security—impacts grid injection stability | Power (kW), normalized by installed PV capacity |
| Energy Storage Unit | Charge/discharge scheduling; backup provisioning | Device ID, State of Charge (SoC), Resource policy | Time of request, SoC threshold, demand response signal, grid status | Critical/High Security—reliability and grid balancing | Energy (kWh), normalized by maximum capacity |
| HEMS Controller | Orchestrates device actions; interacts with utility | Controller ID, User role, Policy ID, Certificate status | Energy price signals, demand response events, household load forecast | Very High Security—central trust anchor | Aggregated load (kWh), normalized vs. baseline household demand |
| Component | Description & Purpose |
|---|---|
| Ubuntu 22.04 LTS + Hardware Specs | Provides stable computing environment; sufficient memory/processing capacity ensures realistic performance metrics. |
| Hyperledger Fabric | Manages dynamic attribute storage and updates, critical for context-aware ABAC policy enforcement. |
| Hyperledger Besu | Hosts smart contracts and enforces ABAC logic; supports private chain execution contexts for smart homes. |
| IoT Device Testbed | Simulates real-world energy IoT devices; generates diverse contextual access requests covering energy-relevant scenarios. |
| Python + LightGBM (Docker) | Mimics edge-level ML deployment; containerization highlights system deployability and reproducibility. |
| CouchDB Storage | Enables offline training data retention and history logging, essential for ML model performance and auditability. |
| Number of Requests | Baseline ABAC [1] | Hybrid Fabric Besu [2] | ODABAC-IoT (Proposed) |
|---|---|---|---|
| 100 | 105 | 95 | 70 |
| 500 | 540 | 460 | 280 |
| 1000 | 1120 | 920 | 580 |
| 5000 | 5600 | 4550 | 2500 |
| Method | Latency (ms/request) | Reduction vs. Baseline |
|---|---|---|
| Hassan 2023 [1] | 245 | N/A |
| Waheed 2025 [2] | 165 | 32.6% |
| ODABAC-IoT (Proposed) | 88 | 64.1% |
| Number of Requests | Baseline ABAC [1] (ms) | Hybrid Fabric-Besu [2] (ms) | ODABAC-IoT (Proposed) (ms) |
|---|---|---|---|
| 100 | 220 | 280 | 95 |
| 500 | 780 | 600 | 280 |
| 1000 | 1450 | 1100 | 520 |
| 5000 | 7200 | 5000 | 1900 |
| Framework | Energy Consumption (kWh) |
|---|---|
| On-chain ABAC [1] | 1000 |
| Hybrid Blockchain [2] | 700 |
| ODABAC-IoT (Proposed) | 350 |
| Standard/Regulation | Key Requirement | Contribution of ODABAC-IoT |
|---|---|---|
| NISTIR 7628 [53] | Continuous monitoring, integrity validation, and auditability of smart-grid systems | Cryptographic signing of ML decisions and periodic on-chain auditing ensure continuous verification and tamper proof logging of AC events. |
| IEC 62351 [54] | Confidentiality, integrity, and authentication of communication in energy management systems | All access requests and ML predictions are cryptographically verified before execution, preserving data integrity and authentication. |
| IEEE 2030.5 [55] | Secure, interoperable communication and control of distributed energy resources (DERs) | Context-aware, zero-trust ABAC policies with secure decision logs enable interoperability and trustworthy DER integration. |
| FERC/NERC CIP [56] | Transparent, traceable, and auditable AC mechanisms for critical energy infrastructures | Immutable, auditable blockchain logs of AC decisions support regulatory compliance for grid-level security. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Waheed, U.; Mansoor, Y.; Malik, N.U.R.; Jamshed, H.; Masud, M.I.; Nahhas, A.M.; Aman, M.; Jumani, T.A. Optimizing Smart-Home Energy Systems Through Energy-Efficient Off-Chain Blockchain-Based Attribute-Based Access Control (ABAC): A Hybrid LightGBM Approach. Energies 2026, 19, 2279. https://doi.org/10.3390/en19102279
Waheed U, Mansoor Y, Malik NUR, Jamshed H, Masud MI, Nahhas AM, Aman M, Jumani TA. Optimizing Smart-Home Energy Systems Through Energy-Efficient Off-Chain Blockchain-Based Attribute-Based Access Control (ABAC): A Hybrid LightGBM Approach. Energies. 2026; 19(10):2279. https://doi.org/10.3390/en19102279
Chicago/Turabian StyleWaheed, Urooj, Yusra Mansoor, Najeeb Ur Rehman Malik, Huma Jamshed, Muhammad I. Masud, Ahmed M. Nahhas, Mohammed Aman, and Touqeer Ahmed Jumani. 2026. "Optimizing Smart-Home Energy Systems Through Energy-Efficient Off-Chain Blockchain-Based Attribute-Based Access Control (ABAC): A Hybrid LightGBM Approach" Energies 19, no. 10: 2279. https://doi.org/10.3390/en19102279
APA StyleWaheed, U., Mansoor, Y., Malik, N. U. R., Jamshed, H., Masud, M. I., Nahhas, A. M., Aman, M., & Jumani, T. A. (2026). Optimizing Smart-Home Energy Systems Through Energy-Efficient Off-Chain Blockchain-Based Attribute-Based Access Control (ABAC): A Hybrid LightGBM Approach. Energies, 19(10), 2279. https://doi.org/10.3390/en19102279

