DVDdoug:
Here in the U.S. that would be an electrical code violation.
Here in Belgium I think the metal tube with ethernet and 230V is ok since I bought the house and the inspector passed it, so I think I am safe there.
DVDdoug:
What does that mean?
The 230V wiring go to electric shutters with 5A breakers. But every time the shuttersmotors start they generate spikes on the wires.
DVDdoug:
And the other end goes to (or can go to) the heating/cooling system?
The heating itself is controlled by an Arduino Mega. Wit two relays. At the moment it works with a simple thermostat in each room with a knob for the temperature. When the temperature drops below the set value in that room, a circuit is closed to ground and the Mega registers that (with optocouplers for isolation)
I would like to change those old recycled thermostats for an Arduino that can give me a readout of the current temperature and humidity...
DVDdoug:
POE sounds like a reasonable solution, but what's the network connection for? Just to get the time? Obviously, if you use the wires for networking you can't use them to control the heating/cooling system so you'll have to build something else to do that.
Where is that pulse coming from? (I don't see how a digital potentiometer fits into the picture.)
The potentiometer is there to replace the old mechanical thermostat I have installed at the moment.
I want the controlling Arduino Mega to know the temperature in each room so it can log this, put it on a webserver,.. Just for fun.
So I either use POE and ethernet to transmit room temperature from each room to the controlling Arduino Mega, and receive time over ethernet from the controlling Arduino Mega.
I don't want to set the time in every room everytime I have a power failure...
Alternatively I would use the 8 cables of the ethernet cable and connect all 8 of them to the master Mega. No protocol no correction just simple IO's connected to optoCouplers... Noise cancelation would be easy. One would just be the same I already use with my old thermostat... But I misght sent a pulse (from the controlling Mega) to the new thermostat to keep time... (sent one every hour, or only at midnight, don't know yet)
The only problem I see with this method is getting the current room temperature to drom the new Arduino Thermostat to the mega controller...