# ReferenceError: Buffer is not defined

**URL:** <https://community.homey.app/t/referenceerror-buffer-is-not-defined/64543>\
**Category:** Questions & Help\
**Tags:** homeyscript\
**Created:** [June 9, 2022, 7:54pm UTC](https://community.homey.app/t/referenceerror-buffer-is-not-defined/64543 "2022-06-09T19:54:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Sen-Sai](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sen-sai/32/13164_2.png) [@Sen-Sai](https://community.homey.app/u/Sen-Sai)\
**Post date:** [June 9, 2022, 9:26pm UTC](https://community.homey.app/t/referenceerror-buffer-is-not-defined/64543/3 "2022-06-09T21:26:31Z")

</div>

I don’t see why. Buffer is a global variable set by homeyscript. Now it is not defined anymore. Why do you need the script?  
If you think it’might help, but I don’t see how : [Wallbox Pulsar plus charger lock/unlock pause/resume](https://community.homey.app/t/wallbox-pulsar-plus-charger-lock-unlock-pause-resume/54616)

---

_[View the full topic](https://community.homey.app/t/referenceerror-buffer-is-not-defined/64543)._
