SequentMicrosystems / megabas-rpi

Command Line, Python lib, Node-Red and CODESYS driver for Building Automation Card
https://www.sequentmicrosystems.com
MIT License
8 stars 1 forks source link

Cant find wiringpi for arm64 #5

Closed Magke closed 2 years ago

Magke commented 3 years ago

I can not find any wiringpi solution for Raspberry Pi 4 arm64. Are there other possibilities to use the board?

alexburcea2877 commented 3 years ago

You do not need wiringpi for using the card. Install the drivers as described in the readme and if you get errors, we solve them step by step.

Magke commented 3 years ago

Thank you for the quick reply. I switched to raspberry lite 32bit and installed megabas-rpi and node-red according to the instructions, as I was hoping to have fewer problems. But nothing has changed. I got "[error] [BAS triac:b59537d9.0d1e88] Error: ETIMEDOUT, Connection timed out".
I thought the error was due to the missing wirepi, but then I have removed the Smart Fan and it works as expected. So now I have a new question, do I have to set a jumper on the smart fan V2?

alexburcea2877 commented 3 years ago

This is interesting problem but the I2C address of the Smart Fan is way different from the BAS one. It might be more a contact problem, please try to secure both cards with standoffs screw and nuts. I do not understand what you mean with fav V2. There is a jumper on the bottom of the card for setting a different I2C address so you can use 2 fans on the same RPI.

Magke commented 3 years ago

I mean Version 2! The second revision from the FAN. I ordered all the parts twice and tried it with the second fan. With the second one everything works without problems. I swapped them back and forth again, and everything works fine with one and not with the other. One circuit board seems to be faulty.

alexburcea2877 commented 3 years ago

If you think one part is faulty please submit a customer support request on the website. Please do one more experiment for me, place the BAS card directly in the raspberry and the faulty fan on top of the BAS (just for proving a theory) then test again. Thanks in advance.

Magke commented 3 years ago

i'm on vacation, when i get back i'll do the test.

Magke commented 2 years ago

Please do one more experiment for me, place the BAS card directly in the raspberry and the faulty fan on top of the BAS (just for proving a theory) then test again.

That is working.

alexburcea2877 commented 2 years ago

This mean is a contact problem, please use the standoffs to secure the cards and test again.