New style relay on ra+

Expansion modules and attachments

Posts: 133
Joined: Tue May 08, 2012 8:16 am
PostPosted: Sat Jul 28, 2018 6:56 am
I bought a used relay expansion with the new plug types. I set it up with the dip switch to be #2 . It's connected to my expansion hub. Plugged into the wall. It powers on, the ra+ sees it,as does the portal and app. Problem is none of the ports have power. Even if I turn them all on instead of auto. Am I supposed to do something else?

Sent from my Lenovo TAB 2 A10-70F using Tapatalk
Image

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Jul 28, 2018 10:22 am
Try as #1
Roberto.

Posts: 133
Joined: Tue May 08, 2012 8:16 am
PostPosted: Sat Jul 28, 2018 5:16 pm
no change
Image

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Jul 28, 2018 6:01 pm
The for sure way to find out is to run the i2cscanner code.
Search on the forums and you will find it.
Roberto.

Posts: 133
Joined: Tue May 08, 2012 8:16 am
PostPosted: Sun Jul 29, 2018 6:01 am
I2CScanner ready!
starting scanning of I2C bus from 1 to 128...
addr: 1 addr: 2 addr: 3 addr: 4
addr: 5 addr: 6 addr: 7 addr: 8
addr: 9 addr: A addr: B addr: C
addr: D addr: E addr: F addr: 10
addr: 11 addr: 12 addr: 13 addr: 14
addr: 15 addr: 16 addr: 17 addr: 18
addr: 19 addr: 1A addr: 1B addr: 1C
addr: 1D addr: 1E addr: 1F addr: 20 found!
addr: 21 addr: 22 addr: 23 addr: 24
addr: 25 addr: 26 addr: 27 addr: 28
addr: 29 addr: 2A addr: 2B addr: 2C
addr: 2D addr: 2E addr: 2F addr: 30
addr: 31 addr: 32 addr: 33 addr: 34
addr: 35 addr: 36 addr: 37 addr: 38
addr: 39 found! addr: 3A addr: 3B addr: 3C
addr: 3D addr: 3E addr: 3F addr: 40
addr: 41 addr: 42 addr: 43 addr: 44
addr: 45 addr: 46 addr: 47 addr: 48
addr: 49 addr: 4A addr: 4B addr: 4C
addr: 4D addr: 4E addr: 4F found! addr: 50 found!
addr: 51 addr: 52 addr: 53 addr: 54 found!
addr: 55 addr: 56 addr: 57 addr: 58
addr: 59 addr: 5A addr: 5B addr: 5C
addr: 5D addr: 5E addr: 5F addr: 60
addr: 61 addr: 62 addr: 63 addr: 64
addr: 65 addr: 66 addr: 67 addr: 68 found!
addr: 69 addr: 6A addr: 6B addr: 6C
addr: 6D addr: 6E addr: 6F addr: 70
addr: 71 addr: 72 addr: 73 addr: 74
addr: 75 addr: 76 addr: 77 addr: 78
addr: 79 addr: 7A addr: 7B addr: 7C
addr: 7D addr: 7E addr: 7F addr: 80

done
Image

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Jul 29, 2018 10:01 am
It is set as Box2.
Is your code using Box2?
Roberto.

Posts: 133
Joined: Tue May 08, 2012 8:16 am
PostPosted: Sun Jul 29, 2018 10:50 am
Dip switch is one down 2-3 up. I just used the wizard but I can look at the code.

Sent from my Lenovo TAB 2 A10-70F using Tapatalk
Image

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Jul 29, 2018 12:03 pm
Yeap. That is id #2 which correspond to the i2cscanner results.
Roberto.

Posts: 133
Joined: Tue May 08, 2012 8:16 am
PostPosted: Sun Jul 29, 2018 12:20 pm
Code referenced box1 for relays that I assigned to be on or off besides the primary box
Image

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Jul 29, 2018 12:24 pm
So you have to either change the id to 1 or change the code to box2
Roberto.
Next

Return to Addons

Who is online

Users browsing this forum: No registered users and 2 guests