AMG8833 grid-eye data to webpage ?

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
BlockOut
 
Posts: 7
Joined: Mon Jun 13, 2022 4:59 am

AMG8833 grid-eye data to webpage ?

Post by BlockOut »

-------------------------
Hi.

I have implemented librarys to this part.
https://www.hackster.io/64742/people-co ... 20our%20Pi
Is there any code to get that counter/position data to a webpage?


Regards from Sweden
---------------------------

User avatar
BlockOut
 
Posts: 7
Joined: Mon Jun 13, 2022 4:59 am

Re: AMG8833 grid-eye data to webpage ?

Post by BlockOut »

---------------------
Hi again.

I have now a free IO page on your site.
https://io.adafruit.com/BlockOut/feeds/grideye

I have managed to get OpenCV install and running on my raspberry pi 4.

How do I get data, from my grid-eye / raspberry pi 4, to that io.adafruit page
and get a visual people counter and position there?
https://www.hackster.io/64742/people-co ... -pi-49f601

Or how can I get that people counter and position data to a webpage ?
Any code on GitHub to get a visual of that people counter and position data to a webpage?
Can I get people counter and position data to a github webpage?


Regards from Sweden
--------------------------------

User avatar
BlockOut
 
Posts: 7
Joined: Mon Jun 13, 2022 4:59 am

Re: AMG8833 grid-eye data to webpage ?

Post by BlockOut »

----
Hi.
I get data now from my raspberry pi 4 to adafruit IO.
But when I activate
"import amg8833_i2c"
I get this
-------------------------
Traceback (most recent call last):
File "/home/pi/Hämtningar/r_pi_grideye.py", line 5, in <module>
import amg8833_i2c
ModuleNotFoundError: No module named 'amg8833_i2c'
---------------------------
and no data upload to adafruit IO.

When I comment out
"#import amg8833_i2c"
I get a data upload to adafruit.

What is going on???

Regards from Sweden
----------------------------

User avatar
BlockOut
 
Posts: 7
Joined: Mon Jun 13, 2022 4:59 am

Re: AMG8833 grid-eye data to webpage ?

Post by BlockOut »

-----
Fixed it.

But now I am missing a 'readPixels' ?

"AttributeError: 'AMG8833' object has no attribute 'readPixels' "


Hmmmmm
-----------------

User avatar
BlockOut
 
Posts: 7
Joined: Mon Jun 13, 2022 4:59 am

Re: AMG8833 grid-eye data to webpage ?

Post by BlockOut »

-------------------
Hi.
I now get number of people under a IR detector and coordinates to adafruit IO page.
https://io.adafruit.com/BlockOut/feeds/test-feed

Can I get these coordinates vizualised on adafruit in some way?


Regards from Sweden
---------------------------

User avatar
BlockOut
 
Posts: 7
Joined: Mon Jun 13, 2022 4:59 am

Re: AMG8833 grid-eye data to webpage ?

Post by BlockOut »

----------

Hi again.


I can now get the coordinates and number of detected people under the GRID-Eye.
https://io.adafruit.com/BlockOut/dashboards/grid-eye

But is it possible to get the x/y coordinates to be visualised on a dashboard,
on a coordinate system, as if it was a display over a room?



Regards from Sweden
-----------------

User avatar
BlockOut
 
Posts: 7
Joined: Mon Jun 13, 2022 4:59 am

Re: AMG8833 grid-eye data to webpage ?

Post by BlockOut »

I have managed to create a IO page on Adafruit and can get data from my raspberry pi 4.
I now get people counter and position data to this page.
https://io.adafruit.com/BlockOut/dashboards/grid-eye

But it is not that accurate.
It jumps between 1 to 3 even if I am alone in front of Grid-eye and my position is jumping around quate a lot.

Any tip on how to adjust this in any way?

Regards from Sweden
------------------------------------------------------------

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”