# SenseHat environment / motion problem

**URL:** <https://discourse.nodered.org/t/sensehat-environment-motion-problem/46851>\
**Category:** General\
**Created:** [8 June 2021 09:39 UTC](https://discourse.nodered.org/t/sensehat-environment-motion-problem/46851 "2021-06-08T09:39:19Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 June 2021 08:45 UTC](https://discourse.nodered.org/t/sensehat-environment-motion-problem/46851/22 "2021-06-11T08:45:36Z")

</div>

I may have found a hack to cure the problem

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd4c4e8a988d0833ae75725a88fa7aa4fcd1a497.jpeg)

One of the recent changes was to default to using python3 for the background data gathering instead of python2

I changed  
home/pi/.node-red/node\_modules/node-red-node-pi-sense-hat/sensehat  
to just use python2 again and it seems to have made it work again

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/56deb0329daba5fa148dc7b2d612af911ef84293.png)

---

_[View the full topic](https://discourse.nodered.org/t/sensehat-environment-motion-problem/46851)._
