generic udp controller and i2c io expander help please

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
dunk
New user
Posts: 2
Joined: 30 Nov 2017, 12:02

generic udp controller and i2c io expander help please

#1 Post by dunk » 30 Nov 2017, 12:19

im planning to add a ic2 io controller (PCF8574) to a wemos d1 clone, and use the extra 8 or 16 inputs to send switch inputs into loxone via udp - its very easy in loxone to split up a byte into 8 separate digital inputs that represent separate input switches.

my d1 has a number of free gpio pins to use, plus another 8 or more from one or more pfc8574 io expander boards

i could use devices, but i can only create 12, so that wont give me the number of inputs required

the ideal way would be to send the byte(s) for each group of 8 inputs to a loxone udp port, triggered on any change of the byte, therefore any single input change would trigger the new byte to be sent.

ive searched and searched, but not really found an answer how i can do this using a device/rule or the generic udp controller for all 8 or more inputs from an i2c io device

any ideas please
thanks

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: generic udp controller and i2c io expander help please

#2 Post by danmero » 30 Nov 2017, 13:08

Look like work in progress base on this post
Shardan wrote: 28 Nov 2017, 16:45 Anyways i need much more then 8 or 16 inputs so i've requested a solution on github already, just one task per
PCD8574 or MCP23017 just reading the byte (PCF8574) or word (MCP23017) and giving the binary value back to the home control.
Link to GitHub discussion on the subject.

Regards,

dunk
New user
Posts: 2
Joined: 30 Nov 2017, 12:02

Re: generic udp controller and i2c io expander help please

#3 Post by dunk » 30 Nov 2017, 14:07

thanks - yes i read that, my requirement is exactly the same, but unfortunately it didnt lead to a solution that i could see yet...

Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests